]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Remove @arch from __load_stage2()
authorZenghui Yu (Huawei) <zenghui.yu@linux.dev>
Wed, 18 Mar 2026 14:43:05 +0000 (22:43 +0800)
committerMarc Zyngier <maz@kernel.org>
Thu, 28 May 2026 17:52:55 +0000 (18:52 +0100)
commite72b425f617edebf6f374fa39f2c763c9b3696ec
tree5484d3c6e07a617c81f22da23112ef89c9306aa1
parent4cceeb8da363ac5127b147ee7345104743f53e9d
KVM: arm64: Remove @arch from __load_stage2()

Since commit fe49fd940e22 ("KVM: arm64: Move VTCR_EL2 into struct s2_mmu"),
@arch is no longer required to obtain the per-kvm_s2_mmu vtcr and can be
removed from __load_stage2().

Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://patch.msgid.link/20260318144305.56831-1-zenghui.yu@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/kvm/at.c
arch/arm64/kvm/hyp/include/nvhe/mem_protect.h
arch/arm64/kvm/hyp/nvhe/mem_protect.c
arch/arm64/kvm/hyp/nvhe/switch.c
arch/arm64/kvm/hyp/nvhe/tlb.c
arch/arm64/kvm/hyp/vhe/switch.c
arch/arm64/kvm/hyp/vhe/tlb.c