[PATCH v6 15/64] KVM: arm64: nv: Handle HCR_EL2.E2H specially
Russell King (Oracle)
linux at armlinux.org.uk
Tue Feb 1 08:51:51 PST 2022
On Fri, Jan 28, 2022 at 12:18:23PM +0000, Marc Zyngier wrote:
> HCR_EL2.E2H is nasty, as a flip of this bit completely changes the way
> we deal with a lot of the state. So when the guest flips this bit
> (sysregs are live), do the put/load dance so that we have a consistent
> state.
>
> Yes, this is slow. Don't do it.
I'd hope this is very unlikely!
>
> Suggested-by: Alexandru Elisei <alexandru.elisei at arm.com>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
Reviewed-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
More information about the linux-arm-kernel
mailing list