-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qemu_nios2 crash when enabled icount #25918
Comments
experimental patch seems work, but need more debug. I think below patch make more sense, need communicate with qemu community.
|
@andrewboie @andyross @nashif after wrctl instruction qemu(icount enabled) will abort itself, but first I wonder if there is other way to lock irq on nios2 arch before dig into qemu source code? Thanks
|
checked nios2 arch doc, the behavior locking irq is correct in zephyr code. |
will communicate below patch with qemu community
|
Classifying this as an enhancement since I think icount isn't enabled on this platform. Please reclassify as a bug and indicate priority if this is incorrect. |
patch(https://lists.gnu.org/archive/html/qemu-devel/2020-07/msg04320.html, https://lists.gnu.org/archive/html/qemu-devel/2020-07/msg04319.html, https://lists.gnu.org/archive/html/qemu-devel/2020-07/msg04324.html, https://lists.gnu.org/archive/html/qemu-devel/2020-07/msg04325.html) has been merged to qemu master, 5.1 version of which will include them. |
@galak any plan to upgrade zephyr sdk qemu based on qemu 5.1? Thanks |
@wentongwu QEMU 5.1 will (probably) be released on 18 Aug (see https://wiki.qemu.org/Planning/5.1). |
@stephanosio thanks, not sure Zephyr's release plan, but if next Zephyr SDK release(probably 0.11.5) doesn't follow QEMU 5.1, I think we need cherry-pick above patches... |
@galak just see Zephyr SDK has already upgraded QEMU to 5.1 version, but is there any plan to do a new release for Zephyr SDK recently? Thanks a lot! |
@galak ping. |
@galak @nashif @andrewboie ping |
Enable icount for qemu_nios2 platform. Fixes: #25918. Signed-off-by: Wentong Wu <[email protected]>
seems when qemu runes instruction WRCTL of nios2 arch with icount enabled, there will be crash.
The text was updated successfully, but these errors were encountered: