linux-stable/arch/arm64/kvm/hyp/include
Marc Zyngier 84de212d73 KVM: arm64: Make FEAT_MOPS UNDEF if not advertised to the guest
We unconditionally enable FEAT_MOPS, which is obviously wrong.

So let's only do that when it is advertised to the guest.
Which means we need to rely on a per-vcpu HCRX_EL2 shadow register.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Link: https://lore.kernel.org/r/20240214131827.2856277-25-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
2024-02-19 17:13:02 +00:00
..
hyp KVM: arm64: Make FEAT_MOPS UNDEF if not advertised to the guest 2024-02-19 17:13:02 +00:00
nvhe Generic: 2024-01-17 13:03:37 -08:00