aboutsummaryrefslogtreecommitdiff
path: root/.patchew.yml
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2022-08-24 15:16:57 -0700
committerAlistair Francis <alistair.francis@wdc.com>2022-09-07 09:19:15 +0200
commit14664483457b21235be42fbfb534e5ea881508b8 (patch)
tree760595201df63e91a5d6fc744a953674647c0807 /.patchew.yml
parent3ec0fe18a31fabfe999b480e4c21847ac0d51560 (diff)
downloadqemu-14664483457b21235be42fbfb534e5ea881508b8.zip
qemu-14664483457b21235be42fbfb534e5ea881508b8.tar.gz
qemu-14664483457b21235be42fbfb534e5ea881508b8.tar.bz2
target/riscv: Add sscofpmf extension support
The Sscofpmf ('Ss' for Privileged arch and Supervisor-level extensions, and 'cofpmf' for Count OverFlow and Privilege Mode Filtering) extension allows the perf to handle overflow interrupts and filtering support. This patch provides a framework for programmable counters to leverage the extension. As the extension doesn't have any provision for the overflow bit for fixed counters, the fixed events can also be monitoring using programmable counters. The underlying counters for cycle and instruction counters are always running. Thus, a separate timer device is programmed to handle the overflow. Tested-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com> Message-Id: <20220824221701.41932-2-atishp@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to '.patchew.yml')
0 files changed, 0 insertions, 0 deletions