linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch v2 0/2] Improvements to the Tegra CPUFREQ driver
@ 2023-09-01 16:41 Sumit Gupta
  2023-09-01 16:41 ` [Patch v2 1/2] cpufreq: tegra194: save CPU data to avoid repeated SMP calls Sumit Gupta
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Sumit Gupta @ 2023-09-01 16:41 UTC (permalink / raw)
  To: rafael, viresh.kumar, linux-pm, linux-tegra, linux-kernel
  Cc: treding, jonathanh, bbasu, sumitg, amiettinen

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.

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.17.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-10-04 14:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01 16:41 [Patch v2 0/2] Improvements to the Tegra CPUFREQ driver Sumit Gupta
2023-09-01 16:41 ` [Patch v2 1/2] cpufreq: tegra194: save CPU data to avoid repeated SMP calls Sumit Gupta
2023-09-01 17:58   ` Jon Hunter
2023-09-01 19:51     ` Sumit Gupta
2023-09-28  7:05   ` Viresh Kumar
2023-09-29 14:17     ` Sumit Gupta
2023-10-03  5:00       ` Viresh Kumar
2023-10-04 14:11         ` Sumit Gupta
2023-09-01 16:41 ` [Patch v2 2/2] cpufreq: tegra194: use refclk delta based loop instead of udelay Sumit Gupta
2023-09-01 17:59   ` Jon Hunter
2023-09-01 19:53     ` Sumit Gupta
2023-09-19 11:28 ` [Patch v2 0/2] Improvements to the Tegra CPUFREQ driver Sumit Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).