]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Convert VTCR_EL2 to config-driven sanitisation
authorMarc Zyngier <maz@kernel.org>
Wed, 10 Dec 2025 17:30:23 +0000 (17:30 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 15 Jan 2026 10:58:21 +0000 (10:58 +0000)
commit9d2de51825598fc8e76f596c16368362753d8021
tree60868e187f785123909934d39d366fa56dab7c38
parentc259d763e6b09a463c85ff6b1d20ede92da48d24
KVM: arm64: Convert VTCR_EL2 to config-driven sanitisation

Describe all the VTCR_EL2 fields and their respective configurations,
making sure that we correctly ignore the bits that are not defined
for a given guest configuration.

Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20251210173024.561160-6-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/config.c
arch/arm64/kvm/nested.c