diff options
author | Christoffer Dall <[email protected]> | 2014-08-26 14:33:02 +0200 |
---|---|---|
committer | Christoffer Dall <[email protected]> | 2014-08-29 11:53:53 +0200 |
commit | 05e0127f9e362b36aa35f17b1a3d52bca9322a3a (patch) | |
tree | fbf9095f4a612ac8d58c3328fb4170297d5339a1 /net/lapb/lapb_subr.c | |
parent | f6edbbf36da3a27b298b66c7955fc84e1dcca305 (diff) |
arm/arm64: KVM: Complete WFI/WFE instructions
The architecture specifies that when the processor wakes up from a WFE
or WFI instruction, the instruction is considered complete, however we
currrently return to EL1 (or EL0) at the WFI/WFE instruction itself.
While most guests may not be affected by this because their local
exception handler performs an exception returning setting the event bit
or with an interrupt pending, some guests like UEFI will get wedged due
this little mishap.
Simply skip the instruction when we have completed the emulation.
Cc: <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions