[PATCH v5 12/12] lib: sbi: Fix initial value mask while updating the counters

Bin Meng bmeng.cn at gmail.com
Mon Nov 8 17:29:23 PST 2021


On Tue, Nov 9, 2021 at 2:54 AM Atish Patra <atish.patra at wdc.com> wrote:
>
> 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 at wdc.com>
> ---
>  lib/sbi/sbi_pmu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>



More information about the opensbi mailing list