mbox series

[0/3] Make the cpuinfo_cur_freq interface read correctly

Message ID 20231025093847.3740104-1-zengheng4@huawei.com (mailing list archive)
Headers show
Series Make the cpuinfo_cur_freq interface read correctly | expand

Message

Zeng Heng Oct. 25, 2023, 9:38 a.m. UTC
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