[Patch 0/6] CPPC_CPUFREQ improvements for Tegra241

Sumit Gupta sumitg at nvidia.com
Tue Apr 18 04:34:53 PDT 2023


This patch series contains improvements and changes needed to get a
stable value of current CPU frequency from "cpuinfo_cur_freq" sysfs
node in Tegra241 SoC. All the CPU's in Tegra241 implement the ARM
Activity Monitor Unit (AMU). On reading the sysfs node, the frequency
value is re-constructed using AMU counters.

Sanjay Chandrashekara (1):
  cpufreq: use correct unit when verify cur freq

Sumit Gupta (5):
  cpufreq: CPPC: make workaround apply code generic
  irqchip/gicv3: Export arm_smccc_get_soc_id_xx funcs
  cpufreq: CPPC: update sampling window for Tegra241
  arm64: cpufeature: Export get_cpu_with_amu_feat func
  cpufreq: CPPC: use wq to read amu counters on target cpu

 arch/arm64/kernel/cpufeature.c |  1 +
 drivers/cpufreq/cppc_cpufreq.c | 99 +++++++++++++++++++++++++++++-----
 drivers/cpufreq/cpufreq.c      |  2 +-
 drivers/firmware/smccc/smccc.c |  2 +
 4 files changed, 89 insertions(+), 15 deletions(-)

-- 
2.17.1




More information about the linux-arm-kernel mailing list