KVM: arm64: nv: Handle trapped ERET from virtual EL2
When a guest hypervisor running virtual EL2 in EL1 executes an ERET instruction, we will have set HCR_EL2.NV which traps ERET to EL2, so that we can emulate the exception return in software. Reviewed-by:Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by:
Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by:
Christoffer Dall <christoffer.dall@arm.com> Signed-off-by:
Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230209175820.1939006-12-maz@kernel.orgSigned-off-by:
Oliver Upton <oliver.upton@linux.dev>
Showing
Please register or sign in to comment