aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/fdt/fdt_pmu.c
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2021-11-08 10:53:03 -0800
committerAnup Patel <anup@brainfault.org>2021-11-11 17:50:32 +0530
commit1e147324f0f82a9982b65b1fa2e97e6b5d5e57fe (patch)
tree1644b54b20f0b03b7b01dfc0aec88aacee46527a /lib/utils/fdt/fdt_pmu.c
parent0c304b661965d81ba2194b54a0c71f4c2e5cab16 (diff)
lib: sbi: Reset the mhpmevent value upon counter reset
The hardware solely relies on the event selector value in mhpmevent to figure out what event to monitor using that counter. It should be reset when counter reset happens. Reviewed-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/utils/fdt/fdt_pmu.c')
0 files changed, 0 insertions, 0 deletions