KVM: arm64: Get rid of ARM64_FEATURE_MASK()
authorMarc Zyngier <maz@kernel.org>
Sun, 17 Aug 2025 20:21:58 +0000 (21:21 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 21 Aug 2025 23:31:56 +0000 (16:31 -0700)
commit0843e0ced338d07c8bcec5675c560a94d05a4d41
treeb1dc7c5e4963b858a4fdadf849330aeccf37b97d
parent7a765aa88e345782d3e4ed4c82e49f1ea82fd29c
KVM: arm64: Get rid of ARM64_FEATURE_MASK()

The ARM64_FEATURE_MASK() macro was a hack introduce whilst the
automatic generation of sysreg encoding was introduced, and was
too unreliable to be entirely trusted.

We are in a better place now, and we could really do without this
macro. Get rid of it altogether.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250817202158.395078-7-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/sysreg.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/sys_regs.c
tools/arch/arm64/include/asm/sysreg.h
tools/testing/selftests/kvm/arm64/aarch32_id_regs.c
tools/testing/selftests/kvm/arm64/debug-exceptions.c
tools/testing/selftests/kvm/arm64/no-vgic-v3.c
tools/testing/selftests/kvm/arm64/page_fault_test.c
tools/testing/selftests/kvm/arm64/set_id_regs.c
tools/testing/selftests/kvm/arm64/vpmu_counter_access.c
tools/testing/selftests/kvm/lib/arm64/processor.c