linux-stable/arch/arm64/kvm/hyp/include/hyp
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
..
adjust_pc.h KVM: arm64: Move __adjust_pc out of line 2021-05-15 10:27:59 +01:00
debug-sr.h KVM: arm64: Move vcpu debug/SPE/TRBE flags to the input flag set 2022-06-29 10:23:03 +01:00
fault.h KVM: arm64: Use helpers to classify exception types reported via ESR 2023-11-30 10:45:28 +00:00
switch.h KVM: arm64: Make FEAT_MOPS UNDEF if not advertised to the guest 2024-02-19 17:13:02 +00:00
sysreg-sr.h KVM: arm64: Make PIR{,E0}_EL1 UNDEF if S1PIE is not advertised to the guest 2024-02-19 17:13:01 +00:00