[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1926759] Re: WFI instruction results in unhandled CPU exception
From: |
Peter Maydell |
Subject: |
[Bug 1926759] Re: WFI instruction results in unhandled CPU exception |
Date: |
Fri, 30 Apr 2021 13:40:59 -0000 |
Crash repros on current QEMU.
This is a bug, in that we shouldn't crash like this. However, it doesn't
really make any sense for a userspace program (which is what a binary
run by qemu-arm is) to execute the WFI instruction, which is largely
intended for OSes to use. If your guest binary needs to use WFI, you
should probably be running it on the system emulation QEMU, which does
handle WFI correctly.
** Changed in: qemu
Status: New => Confirmed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1926759
Title:
WFI instruction results in unhandled CPU exception
Status in QEMU:
Confirmed
Bug description:
Hi
I refer to the WFI instruction. The bytecode is 0xe320f003. After the
execution, qemu exit with the following crash log.
qemu: unhandled CPU exception 0x10001 - aborting
R00=00000001 R01=40800b34 R02=40800b3c R03=000102ec
R04=00010a28 R05=00010158 R06=00087460 R07=00010158
R08=00000000 R09=00000000 R10=00085b7c R11=408009f4
R12=40800a08 R13=408009f0 R14=0001057c R15=000102f8
PSR=60000010 -ZC- A usr32
qemu:handle_cpu_signal received signal outside vCPU context @
pc=0x7f5c21d0fa12
WFI aims to enter a low-power state and wait for interrupt. The raised
exception seems not a right behavior. I can provide a testcase if you
needed. Many thanks.
Regards
Muhui
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1926759/+subscriptions
- [Bug 1926759] [NEW] WFI instruction results in unhandled CPU exception, JIANG Muhui, 2021/04/30
- [Bug 1926759] Re: WFI instruction results in unhandled CPU exception, Peter Maydell, 2021/04/30
- [Bug 1926759] Re: WFI instruction results in unhandled CPU exception, Peter Maydell, 2021/04/30
- [Bug 1926759] Re: WFI instruction results in unhandled CPU exception, JIANG Muhui, 2021/04/30
- [Bug 1926759] Re: WFI instruction results in unhandled CPU exception,
Peter Maydell <=
- [Bug 1926759] Re: WFI instruction results in unhandled CPU exception, Peter Maydell, 2021/04/30
- [Bug 1926759] Re: WFI instruction results in unhandled CPU exception, JIANG Muhui, 2021/04/30
- [Bug 1926759] Re: WFI instruction results in unhandled CPU exception, Peter Maydell, 2021/04/30
- [Bug 1926759] Re: WFI instruction results in unhandled CPU exception, Peter Maydell, 2021/04/30