]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Enforce absence of FEAT_FGT on FGT registers
authorMarc Zyngier <maz@kernel.org>
Thu, 18 Sep 2025 15:13:55 +0000 (16:13 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 12:43:26 +0000 (13:43 +0100)
commit7d3a4d048925d52e5511d82e479cbdcf7354aa7c
tree2714ff955470b5183396ffa3e8c38789380fae2e
parent559442afea8812814135ec6fa33bc62c9d09f5c4
KVM: arm64: Enforce absence of FEAT_FGT on FGT registers

As we want to enforce FGT registers behaving as RES0 when FEAT_FGT
is not exposed to the guest, We move a bumch of things that are
so far passed as parameter into a structure that points to the
bit description.

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