summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorKaiwen Xue <kaiwenx@rivosinc.com>2026-08-07 19:24:31 -0600
committerPaul Walmsley <pjw@kernel.org>2026-08-07 19:24:31 -0600
commit05e44c11f68c3a3cbf706f2c565d3b60337de7db (patch)
tree1c64629b02b0e6a7c6bf7e847de6b77a78d35e14 /tools/lib/python
parent1c40a2d06d0313cdb19aec4f0bb81959a0da1765 (diff)
downloadlinux-05e44c11f68c3a3cbf706f2c565d3b60337de7db.tar.gz
linux-05e44c11f68c3a3cbf706f2c565d3b60337de7db.zip
RISC-V: Add Ssccfg extension CSR definition
This adds the scountinhibit CSR definition and S-mode accessible hpmevent bits defined by smcdeleg/ssccfg. scountinhibit allows S-mode to start/stop counters directly from S-mode without invoking SBI calls to M-mode. It is also used to figure out the counters delegated to S-mode by the M-mode as well. Signed-off-by: Kaiwen Xue <kaiwenx@rivosinc.com> Reviewed-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Charlie Jenkins <thecharlesjenkins@gmail.com> Tested-by: Charlie Jenkins <thecharlesjenkins@gmail.com> [pjw@kernel.org: fixed subject typo] Link: https://patch.msgid.link/20260807-counter_delegation-v9-8-58658104e487@meta.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions