]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Enforce absence of FEAT_FGT2 on FGT2 registers
authorMarc Zyngier <maz@kernel.org>
Thu, 18 Sep 2025 15:13:56 +0000 (16:13 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 12:43:26 +0000 (13:43 +0100)
commit338a41e83c3dab81573ac33bc30f0f36bd29cd78
tree455d65474b7cc46bd2c560482f55b4ddde576e42
parent7d3a4d048925d52e5511d82e479cbdcf7354aa7c
KVM: arm64: Enforce absence of FEAT_FGT2 on FGT2 registers

Similarly to the FEAT_FGT registers, add the dependency between
the registers and the controlling feature.

WHile we're at it, add the missing checks for the RES0 vs valid
bit overlap.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/config.c