diff options
author | Samuel Holland <[email protected]> | 2024-06-28 00:51:42 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-07-03 12:56:21 -0700 |
commit | 7dd646cf745c34d31e7ed2a52265e9ca8308f58f (patch) | |
tree | 4ca22c89fd9dbf46dbb2dd96b5b1ac7b4217b786 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | a3f24e83d11d7ceb4743416c803332e9c5749298 (diff) |
drivers/perf: riscv: Reset the counter to hpmevent mapping while starting cpus
Currently, we stop all the counters while a new cpu is brought online.
However, the hpmevent to counter mappings are not reset. The firmware may
have some stale encoding in their mapping structure which may lead to
undesirable results. We have not encountered such scenario though.
Signed-off-by: Samuel Holland <[email protected]>
Signed-off-by: Atish Patra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions