mirror of https://gitee.com/openkylin/linux.git
05e0127f9e
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: <stable@vger.kernel.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
arm.c | ||
coproc.c | ||
coproc.h | ||
coproc_a7.c | ||
coproc_a15.c | ||
emulate.c | ||
guest.c | ||
handle_exit.c | ||
init.S | ||
interrupts.S | ||
interrupts_head.S | ||
mmio.c | ||
mmu.c | ||
perf.c | ||
psci.c | ||
reset.c | ||
trace.h |