Skip to content

Improvements to the Tegra CPUFREQ driver

Sumit Gupta linux-pm linux-tegra lkml 2 versions – Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied
  2. v22 patches 9 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2cpufreq: tegra194: save CPU data to avoid repeated SMP callsdrivers/cpufreq/tegra194-cpufreq.c+51 -280 replies
2/2cpufreq: tegra194: use refclk delta based loop instead of udelaydrivers/cpufreq/tegra194-cpufreq.c+55 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Patch v3 0/2] Improvements to the Tegra CPUFREQ driver

This patch set adds below improvements to the Tegra194 CPUFREQ driver. They are applicable to all the Tegra SoC's supported by the driver.

1) Patch 1: Avoid making SMP call on every frequency request to reduce the time for frequency set and get calls.

2) Patch 2: Use reference clock count based loop instead of udelay() to improve the accuracy of re-generated CPU frequency.

The patches are not related but have minor conflict. So, need to be applied in order of patch numbers. If 'Patch 2' is to be applied first then will rebase that and send separately.

---
v1[2] -> v3:
- Patch 1: used sizeof(*data->cpu_data) in devm_kcalloc().

v1[1] -> v2:
- Patch 1: added new patch.
- Patch 2: changed subject and patch order.

Sumit Gupta (2):
cpufreq: tegra194: save CPU data to avoid repeated SMP calls
cpufreq: tegra194: use refclk delta based loop instead of udelay

 drivers/cpufreq/tegra194-cpufreq.c | 151 ++++++++++++++++++++---------
 1 file changed, 106 insertions(+), 45 deletions(-)

[2] https://lore.kernel.org/lkml/[email protected]/
[1] https://lore.kernel.org/lkml/[email protected]/

Signature · 1 line
2.17.1