diff options
author | Nikita Shubin <n.shubin@yadro.com> | 2021-12-08 14:16:54 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-12-11 16:26:15 +0530 |
commit | 460041c816f1b174899a3bf1147ce5d2e95731f4 (patch) | |
tree | 4d731c5d72db0eca6b4062439bdfd21373fac7f0 /Makefile | |
parent | 66fbcc03df0444bb6ce2286d3605cbc13b361cb1 (diff) |
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: Nikita Shubin <n.shubin@yadro.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions