[PATCH 17/27] KVM: arm64: nv: Expose FEAT_EVT to nested guests
Eric Auger
eric.auger at redhat.com
Tue Jul 25 09:44:57 PDT 2023
On 7/12/23 16:58, Marc Zyngier wrote:
> Now that we properly implement FEAT_EVT (as we correctly forward
> traps), expose it to guests.
>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
Reviewed-by: Eric Auger <eric.auger at redhat.com>
Eric
> ---
> arch/arm64/kvm/nested.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm64/kvm/nested.c b/arch/arm64/kvm/nested.c
> index 315354d27978..7f80f385d9e8 100644
> --- a/arch/arm64/kvm/nested.c
> +++ b/arch/arm64/kvm/nested.c
> @@ -124,8 +124,7 @@ void access_nested_id_reg(struct kvm_vcpu *v, struct sys_reg_params *p,
> break;
>
> case SYS_ID_AA64MMFR2_EL1:
> - val &= ~(NV_FTR(MMFR2, EVT) |
> - NV_FTR(MMFR2, BBM) |
> + val &= ~(NV_FTR(MMFR2, BBM) |
> NV_FTR(MMFR2, TTL) |
> GENMASK_ULL(47, 44) |
> NV_FTR(MMFR2, ST) |
More information about the linux-arm-kernel
mailing list