]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Compute FGT masks from KVM's own FGT tables
authorMarc Zyngier <maz@kernel.org>
Fri, 24 Jan 2025 15:51:12 +0000 (15:51 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 6 May 2025 16:35:19 +0000 (17:35 +0100)
commit1b8570be89f8436b25bddc8afd7e54fcd906c3aa
treef8ed3897317944bea26b09c616a6a0c4c4c5f80f
parent5329358c222fec1132169ab3de9973aa4cd63aa9
KVM: arm64: Compute FGT masks from KVM's own FGT tables

In the process of decoupling KVM's view of the FGT bits from the
wider architectural state, use KVM's own FGT tables to build
a synthetic view of what is actually known.

This allows for some checking along the way.

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/emulate-nested.c