aboutsummaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_hart.c
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2021-11-08 10:53:07 -0800
committerAnup Patel <anup@brainfault.org>2021-11-11 17:57:17 +0530
commitb8845e420453531f92414b91828c58d6d4f90fff (patch)
tree45282920582d1675f0dda1ed673c48e8f3a490bf /lib/sbi/sbi_hart.c
parent15906a3984f7c22b81802bcadaa4e517f4f685c8 (diff)
lib: sbi: Fix initial value mask while updating the counters
The first 32 bits of the initial value for the counter should be preserved while updating the mhpmcounter for 32bit. Fixes: 13d40f21d588e ("lib: sbi: Add PMU support") Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Dong Du <Dd_nirvana@sjtu.edu.cn> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_hart.c')
0 files changed, 0 insertions, 0 deletions