[PATCH] arm64: Clear VTCR_EL2 in __init_el2_stage2()

Marc Zyngier maz at kernel.org
Fri Mar 13 01:11:04 PDT 2026


On Fri, 13 Mar 2026 07:54:04 +0000,
Anshuman Khandual <anshuman.khandual at arm.com> wrote:
> 
> But it can be argued that these registers
> need not have to be cleared now and can just be initialised before
> setting up HCR_EL2_VM itself. In which case should we drop
> __init_el2_stage2() entirely ?

And something worth thinking of: the role of VTTBR_EL2.VMID when
HCR_EL2.VM is 0.

	M.

-- 
Jazz isn't dead. It just smells funny.



More information about the linux-arm-kernel mailing list