diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-09-06 15:02:08 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-09-08 12:53:00 +0200 |
commit | 1f7e378d1235a3cb5c9cdd8c62fe13cb6c3cf157 (patch) | |
tree | 8b5226c1b222b755a028199d609b323d8aa8d159 /arch/arm/kvm/handle_exit.c | |
parent | arm64: KVM: Handle async aborts delivered while at EL2 (diff) | |
download | linux-1f7e378d1235a3cb5c9cdd8c62fe13cb6c3cf157.tar.xz linux-1f7e378d1235a3cb5c9cdd8c62fe13cb6c3cf157.zip |
arm: KVM: Preserve pending Virtual Abort in world switch
The HCR.VA bit is used to signal an Abort 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, and at which point
it must be cleared from the context.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm/kvm/handle_exit.c')
0 files changed, 0 insertions, 0 deletions