diff options
| author | Manivannan Sadhasivam <[email protected]> | 2024-12-05 16:50:28 +0000 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2024-12-23 10:56:49 +0000 |
| commit | 85d8b11351a8f15d6ec7a5e97909861cb3b6bcec (patch) | |
| tree | db44a861ffc4540b1b3fc5d3d5eb04205136fc74 /tools/testing/selftests/drivers/net/hw/rss_api.py | |
| parent | cpufreq: apple-soc: Add Apple A7-A8X SoC cpufreq support (diff) | |
| download | kernel-85d8b11351a8f15d6ec7a5e97909861cb3b6bcec.tar.gz kernel-85d8b11351a8f15d6ec7a5e97909861cb3b6bcec.zip | |
cpufreq: qcom: Fix qcom_cpufreq_hw_recalc_rate() to query LUT if LMh IRQ is not available
Currently, qcom_cpufreq_hw_recalc_rate() returns the LMh throttled
frequency for the domain even if LMh IRQ is not available. But as per
qcom_cpufreq_hw_get(), the driver has to query LUT entries to get the
actual frequency of the domain. So do the same in
qcom_cpufreq_hw_recalc_rate().
While doing so, refactor the existing qcom_cpufreq_hw_get() function so
that qcom_cpufreq_hw_recalc_rate() can make use of the existing code and
avoid code duplication. This also requires setting the
qcom_cpufreq_data::policy even if LMh IRQ is not available.
Fixes: 4370232c727b ("cpufreq: qcom-hw: Add CPU clock provider support")
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_api.py')
0 files changed, 0 insertions, 0 deletions
