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

As for other registers, convert the determination of the RES0 bits
affecting TCR2_EL2 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-3-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/config.c
arch/arm64/kvm/nested.c