linux_dsm_epyc7002/arch/arm64/kvm/hyp
Marc Zyngier 395ea79ebe arm64: KVM: Handle async aborts delivered while at EL2
If EL1 generates an asynchronous abort and then traps into EL2
before the abort has been delivered, we may end-up with the
abort firing at the worse possible place: on the host.

In order to avoid this, it is necessary to take the abort at EL2,
by clearing the PSTATE.A bit. In order to survive this abort,
we do it at a point where we're in a known state with respect
to the world switch, and handle the resulting exception,
overloading the exit code in the process.

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: Handle async aborts delivered while at 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: Handle async aborts delivered while at EL2 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: Handle async aborts delivered while at EL2 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