[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231004140537.1954-1-sumitg@nvidia.com>
Date: Wed, 4 Oct 2023 19:35:35 +0530
From: Sumit Gupta <sumitg@...dia.com>
To: <rafael@...nel.org>, <viresh.kumar@...aro.org>,
<linux-pm@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <treding@...dia.com>, <jonathanh@...dia.com>, <bbasu@...dia.com>,
<sumitg@...dia.com>, <amiettinen@...dia.com>
Subject: [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/20230901164113.29139-1-sumitg@nvidia.com/
[1] https://lore.kernel.org/lkml/20230901152046.25662-1-sumitg@nvidia.com/
--
2.17.1
Powered by blists - more mailing lists