]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.6-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Jun 2025 08:09:08 +0000 (10:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Jun 2025 08:09:08 +0000 (10:09 +0200)
added patches:
revert-cpufreq-tegra186-share-policy-per-cluster.patch

queue-6.6/revert-cpufreq-tegra186-share-policy-per-cluster.patch [new file with mode: 0644]
queue-6.6/series

diff --git a/queue-6.6/revert-cpufreq-tegra186-share-policy-per-cluster.patch b/queue-6.6/revert-cpufreq-tegra186-share-policy-per-cluster.patch
new file mode 100644 (file)
index 0000000..a192120
--- /dev/null
@@ -0,0 +1,47 @@
+From jonathanh@nvidia.com  Mon Jun 23 10:07:00 2025
+From: Jon Hunter <jonathanh@nvidia.com>
+Date: Thu, 5 Jun 2025 13:53:41 +0100
+Subject: Revert "cpufreq: tegra186: Share policy per cluster"
+To: <stable@vger.kernel.org>
+Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Sasha Levin <sashal@kernel.org>, Aaron Kling <webgeek1234@gmail.com>, <linux-tegra@vger.kernel.org>, Jon Hunter <jonathanh@nvidia.com>
+Message-ID: <20250605125341.357211-1-jonathanh@nvidia.com>
+
+From: Jon Hunter <jonathanh@nvidia.com>
+
+This reverts commit ac64f0e893ff370c4d3426c83c1bd0acae75bcf4 which is
+upstream commit be4ae8c19492cd6d5de61ccb34ffb3f5ede5eec8.
+
+This commit is causing a suspend regression on Tegra186 Jetson TX2 with
+Linux v6.12.y kernels. This is not seen with Linux v6.15 that includes
+this change but indicates that there are there changes missing.
+Therefore, revert this change.
+
+Fixes: ac64f0e893ff ("cpufreq: tegra186: Share policy per cluster")
+Link: https://lore.kernel.org/linux-tegra/bf1dabf7-0337-40e9-8b8e-4e93a0ffd4cc@nvidia.com/
+Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/cpufreq/tegra186-cpufreq.c |    7 -------
+ 1 file changed, 7 deletions(-)
+
+--- a/drivers/cpufreq/tegra186-cpufreq.c
++++ b/drivers/cpufreq/tegra186-cpufreq.c
+@@ -73,18 +73,11 @@ static int tegra186_cpufreq_init(struct
+ {
+       struct tegra186_cpufreq_data *data = cpufreq_get_driver_data();
+       unsigned int cluster = data->cpus[policy->cpu].bpmp_cluster_id;
+-      u32 cpu;
+       policy->freq_table = data->clusters[cluster].table;
+       policy->cpuinfo.transition_latency = 300 * 1000;
+       policy->driver_data = NULL;
+-      /* set same policy for all cpus in a cluster */
+-      for (cpu = 0; cpu < ARRAY_SIZE(tegra186_cpus); cpu++) {
+-              if (data->cpus[cpu].bpmp_cluster_id == cluster)
+-                      cpumask_set_cpu(cpu, policy->cpus);
+-      }
+-
+       return 0;
+ }
index 7c5a2c5cee241c5918741bcda599cd7b503eabb8..483139c99856ed10d0ec6683b75ec990716629fe 100644 (file)
@@ -274,3 +274,4 @@ serial-sh-sci-increment-the-runtime-usage-counter-for-the-earlycon-device.patch
 platform-x86-ideapad-laptop-add-missing-ideapad-pro-5-fn-keys.patch
 arm-dts-am335x-bone-common-increase-mdio-reset-deassert-time.patch
 arm-dts-am335x-bone-common-increase-mdio-reset-deassert-delay-to-50ms.patch
+revert-cpufreq-tegra186-share-policy-per-cluster.patch