-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
debug: cpu_load: Extend support to RISCV architecture and nrf54h20 #87093
Conversation
3f2b4dd
to
cd1a53b
Compare
how did the test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/subsys/debug/cpu_load/testcase.yaml needs adjusting to allow RISC-V arch
e2ce4b6
cd1a53b
to
e2ce4b6
Compare
0299a36
to
318d77c
Compare
318d77c
to
b2ea432
Compare
@nashif @fkokosinski test filtering updated. Can you take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would split commit titled "arch: riscv: Add support for CPU load measuring" into two; one commit for adding CPU load monitoring to the RISC-V arch, and one for changing the test suite.
Add sys_trace_idle_exit to RISCV cpu_idle functions and allow enabling CPU_LOAD module for RISCV and disable it for SMP. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Allow test execution for riscv since it now supports cpu_load module. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add calls to sys_trace_idle and sys_trace_idle_exit in nrf54h specific idle states to allow measuring CPU load on nrf54h20 when power management is enabled. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
b2ea432
to
e42c571
Compare
@henrikbrixandersen Done. |
Add
sys_trace_idle_exit
to RISCV cpu idle functions.Add
sys_trace_idle
andsys_trace_idle_exit
to nrf54h20 specific idle states.Fixes #87090.