[PATCH 0/3] Make the cpuinfo_cur_freq interface read correctly

From: Zeng Heng
Date: Wed Oct 25 2023 - 05:33:47 EST


Patch 1~2: It is required to ensure that amu can continue to work normally
during the sample period while cstate is enabled.

Patch 3: Even works in the mmio mode, cpc_read still has random delay
errors, so let's extend the sampling time.

Zeng Heng (3):
arm64: cpufeature: Export cpu_has_amu_feat()
cpufreq: CPPC: Keep the target core awake when reading its cpufreq
rate
cpufreq: CPPC: Eliminate the impact of cpc_read() latency error

arch/arm64/kernel/cpufeature.c | 1 +
drivers/cpufreq/cppc_cpufreq.c | 53 ++++++++++++++++++++++++++++------
2 files changed, 45 insertions(+), 9 deletions(-)

--
2.25.1