[Patch 0/6] CPPC_CPUFREQ improvements for Tegra241

From: Sumit Gupta
Date: Tue Apr 18 2023 - 07:35:32 EST


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