aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2023-02-07 01:55:25 -0800
committerAnup Patel <[email protected]>2023-02-07 20:35:58 +0530
commitf04bafb52f580552dc22bfb5b7af9a5dbcc2254f (patch)
treef1b41709a765c9e9d26ba6d2db7f87acb7aabc7b /tools/perf/scripts/python/stackcollapse.py
parent470926a2900cfdc39b300d87a0ccdf037fa67b9a (diff)
RISC-V: KVM: Disable all hpmcounter access for VS/VU mode
Any guest must not get access to any hpmcounter including cycle/instret without any checks. We achieve that by disabling all the bits except TM bit in hcounteren. However, instret and cycle access for guest user space can be enabled upon explicit request (via ONE REG) or on first trap from VU mode to maintain ABI requirement in the future. This patch doesn't support that as ONE REG interface is not settled yet. Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Atish Patra <[email protected]> Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions