Re: [PATCH 06/10] KVM: arm64: hide MOPS from guests

From: Catalin Marinas
Date: Fri Mar 17 2023 - 11:10:52 EST


On Thu, Feb 16, 2023 at 04:00:08PM +0000, Kristina Martsenko wrote:
> As FEAT_MOPS is not supported in guests yet, hide it from the ID
> registers for guests.
>
> The MOPS instructions are UNDEFINED in guests as HCRX_EL2.MSCEn is not
> set in HCRX_GUEST_FLAGS, and will take an exception to EL1 if executed.
>
> Signed-off-by: Kristina Martsenko <kristina.martsenko@xxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>