Skip to content
Commit b8845e42 authored by Atish Patra's avatar Atish Patra Committed by Anup Patel
Browse files

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: 13d40f21 ("lib: sbi: Add PMU support")
Signed-off-by: default avatarAtish Patra <atish.patra@wdc.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarDong Du <Dd_nirvana@sjtu.edu.cn>
Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 15906a39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment