linux-stable/arch/arm64/kvm/hyp
Marc Zyngier 44636f976f arm64: KVM: Preserve pending vSError in world switch
The HCR_EL2.VSE bit is used to signal an SError to a guest, and has
the peculiar feature of getting cleared when the guest has taken
the abort (this is the only bit that behaves as such in this register).

This means that if we signal such an abort, we must leave it
in the guest context until it disappears from HCR_EL2, and at which
point it must be cleared from the context. This is achieved by
reading back from HCR_EL2 until the guest takes the fault.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-09-08 12:53:00 +02:00
..
debug-sr.c KVM: arm/arm64: Get rid of exported aliases to static functions 2016-09-08 12:53:00 +02:00
entry.S arm64: KVM: VHE: reset PSTATE.PAN on entry to EL2 2016-09-08 12:53:00 +02:00
fpsimd.S arm64: KVM: Implement fpsimd save/restore 2015-12-14 11:30:41 +00:00
hyp-entry.S arm64: KVM: Optimize __guest_enter/exit() to save a few instructions 2016-09-08 12:53:00 +02:00
Makefile arm64: allow building with kcov coverage on ARM64 2016-06-21 16:15:57 +01:00
s2-setup.c kvm: arm64: Enable hardware updates of the Access Flag for Stage 2 page tables 2016-05-09 22:23:08 +02:00
switch.c arm64: KVM: Preserve pending vSError in world switch 2016-09-08 12:53:00 +02:00
sysreg-sr.c arm64: KVM: VHE: Context switch MDSCR_EL1 2016-07-23 18:07:12 +02:00
tlb.c KVM: arm/arm64: Get rid of exported aliases to static functions 2016-09-08 12:53:00 +02:00
vgic-v3-sr.c KVM: arm/arm64: Get rid of exported aliases to static functions 2016-09-08 12:53:00 +02:00