KVM: arm64: Convert SCTLR_EL1 to config-driven sanitisation
authorMarc Zyngier <maz@kernel.org>
Mon, 14 Jul 2025 11:55:01 +0000 (12:55 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 16 Jul 2025 03:39:42 +0000 (20:39 -0700)
commit6bd4a274b026ee2abc77074f1880d7d89303daff
tree6262d0cca8d54c126de0c62d8053b5ae01e7195a
parent001e032c0f3f71ba508ed64a0c4c79708cfcde38
KVM: arm64: Convert SCTLR_EL1 to config-driven sanitisation

As for other registers, convert the determination of the RES0 bits
affecting SCTLR_EL1 to be driven by a table extracted from the 2025-06
JSON drop

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250714115503.3334242-4-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/config.c
arch/arm64/kvm/nested.c