]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Use KVM-specific HCRX_EL2 RES0 mask
authorMarc Zyngier <maz@kernel.org>
Fri, 24 Jan 2025 19:04:26 +0000 (19:04 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 10 May 2025 10:04:35 +0000 (11:04 +0100)
commitef6d7d2682d948df217db73985e0a159305c7743
tree5c35ad7bca502859d1908775e3d4c407697602b1
parent3ce9bbba935714c344bcff096973b6daa29cf857
KVM: arm64: Use KVM-specific HCRX_EL2 RES0 mask

We do not have a computed table for HCRX_EL2, so statically define
the bits we know about. A warning will fire if the architecture
grows bits that are not handled yet.

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_arm.h
arch/arm64/kvm/emulate-nested.c
arch/arm64/kvm/nested.c