]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Make build-time check of RES0/RES1 bits optional
authorMarc Zyngier <maz@kernel.org>
Thu, 22 Feb 2024 14:12:09 +0000 (14:12 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 22 Feb 2024 18:13:53 +0000 (18:13 +0000)
commit99101dda29e3186b1356b0dc4dbb835c02c71ac9
tree3a73cceb7f57a143fb732adf31fe015a1b446a4f
parent891766581deaf84919911c6a046592ce0ac49bc6
KVM: arm64: Make build-time check of RES0/RES1 bits optional

In order to ease the transition towards a state of absolute
paranoia where all RES0/RES1 bits gets checked against what
KVM know of them, make the checks optional and guarded by a
config symbol (CONFIG_KVM_ARM64_RES_BITS_PARANOIA) default to n.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/kvm/87frxka7ud.wl-maz@kernel.org/
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/Kconfig
arch/arm64/kvm/check-res-bits.h