]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: nv: Track L2 to L1 exception emulation
authorMarc Zyngier <maz@kernel.org>
Mon, 11 May 2026 10:46:11 +0000 (11:46 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 21 May 2026 06:42:19 +0000 (07:42 +0100)
commit27ae400e6e888153ded1ad807a94a94e506dd2df
tree3218d2e4e8524c66ae59dbbaa5a8420c87cf80e0
parent5d6919055dec134de3c40167a490f33c74c12581
KVM: arm64: nv: Track L2 to L1 exception emulation

While we currently track that we are emulating a nested ERET from
L1 to L2, we currently don't track the reverse direction (an exception
going from L2 to L1).

Add a new vcpu state flag for this purpose, which will see some
use shortly.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://patch.msgid.link/20260520085036.541666-2-maz@kernel.org
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/emulate-nested.c