Commit c0a91c61 authored by Junhao He's avatar Junhao He
Browse files

drivers/perf: hisi: UC PMU support statistics in power saving mode

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LYGD


CVE: NA

--------------------------------

When the UC enable the power saving mode, the UC power management system
will turn off the counters register clock if the PMU is not enabled, and
we cannot write values to the counters register.

Set the UC PMU enable to turn on the clock, and then restore the UC PMU
configuration.

Signed-off-by: default avatarJunhao He <hejunhao3@huawei.com>
parent 7fd0f735
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment