Thread (28 messages) 28 messages, 4 authors, 2023-04-11

Re: [PATCH 03/10] KVM: arm64: switch HCRX_EL2 between host and guest

From: Kristina Martsenko <hidden>
Date: 2023-02-22 18:36:52
Also in: kvmarm, lkml

On 16/02/2023 16:20, Mark Brown wrote:
On Thu, Feb 16, 2023 at 04:00:05PM +0000, Kristina Martsenko wrote:
quoted
After this change, SMPME is no longer set for guests, which should have
no effect as SME is currently disabled for guests.
SMPME is mainly set for the benefit of any future guests, it is
used to turn off SME priorities for guests.  While it's true that
we don't have any guests support yet it's there as safety to
ensure we don't forget to enable it later on or something
otherwise goes wrong.  We don't need priority mapping on the host
since we don't have any priority mapping support at all, and it's
difficult to see a reason why we would want to remap our own
priorities in the host.
That makes sense. I'll fix this in v2 so that priority mapping is enabled for
guests and disabled for the host.

Thanks,
Kristina

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help