-
Notifications
You must be signed in to change notification settings - Fork 334
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
Support for smp in multiple DMs #907
Comments
If I'm correct this should help: https://review.openocd.org/c/openocd/+/7957 |
I would like to know if riscv-openocd currently implements the halt groups and resume groups in spec-1.0 to support simultaneous halt/resume harts in multiple DMs, thanks. |
Yes, halt groups are supported, though there are some problems (e.g. #1010) |
and this one: #902 |
Hi, this PR has been merged, could you please sync it? |
@lz-bro I'll create MR today |
How to support for smp in multiple DMs? It appears from the code that harts across multiple DMs can be haled/resumed, but the same threadid in multiple DMs, and gdb can only debug harts in sigle DM
config with
The index of each hart on the DM define
https://github.com/riscv/riscv-openocd/blob/a45589d60aa6864475fddcded885c8ff47d50be1/src/target/riscv/riscv-013.c#L1715-L1716
openocd log shown
threadid define
https://github.com/riscv/riscv-openocd/blob/21d21408aa36ccb458ccfaad871f7dd1bb1f731a/src/rtos/hwthread.c#L40-L43
so 1 gdb can only see 2 core in dm1
Can anyone give me some advice?
The text was updated successfully, but these errors were encountered: