Skip to content
Commit 460041c8 authored by Nikita Shubin's avatar Nikita Shubin Committed by Anup Patel
Browse files

lib: pmu: check SSCOF before masking



We should check if SSCOF extension is present,
before applying inhibit mask and clearing overflow,
otherwise undesirable value can be written
in MHPMEVENT_N CSR.

Signed-off-by: default avatarNikita Shubin <n.shubin@yadro.com>
Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
parent 66fbcc03
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