summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2026-08-07 19:24:31 -0600
committerPaul Walmsley <pjw@kernel.org>2026-08-07 19:24:31 -0600
commit9e350913142b9ea518b13254b4ff0d82b6c0e696 (patch)
treeb786ea02bac302dbab57db18e072374426e5cc4d /scripts/stackusage
parente6b8e7f217c772b53491ecf395748ba409ba181b (diff)
downloadlinux-9e350913142b9ea518b13254b4ff0d82b6c0e696.tar.gz
linux-9e350913142b9ea518b13254b4ff0d82b6c0e696.zip
RISC-V: Add Smcntrpmf extension parsing
Smcntrpmf extension allows M-mode to enable privilege mode filtering for cycle/instret counters. However, the cyclecfg/instretcfg CSRs are available in Ssccfg only if Smcntrpmf is present. That's why, kernel needs to detect presence of Smcntrpmf extension and enable privilege mode filtering for cycle/instret counters. Reviewed-by: Clément Léger <cleger@rivosinc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com> Reviewed-by: Charlie Jenkins <thecharlesjenkins@gmail.com> Tested-by: Charlie Jenkins <thecharlesjenkins@gmail.com> Link: https://patch.msgid.link/20260807-counter_delegation-v9-6-58658104e487@meta.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions