From: Greg Kroah-Hartman Date: Sat, 7 Jun 2025 08:38:29 +0000 (+0200) Subject: 6.12-stable patches X-Git-Tag: v6.12.33~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=455a3953e8004aa785e4b429a18026b817a85dbe;p=thirdparty%2Fkernel%2Fstable-queue.git 6.12-stable patches added patches: revert-cpufreq-tegra186-share-policy-per-cluster.patch --- diff --git a/queue-6.12/revert-cpufreq-tegra186-share-policy-per-cluster.patch b/queue-6.12/revert-cpufreq-tegra186-share-policy-per-cluster.patch new file mode 100644 index 0000000000..355c5dc2a2 --- /dev/null +++ b/queue-6.12/revert-cpufreq-tegra186-share-policy-per-cluster.patch @@ -0,0 +1,47 @@ +From jonathanh@nvidia.com Sat Jun 7 10:37:42 2025 +From: Jon Hunter +Date: Thu, 5 Jun 2025 13:54:32 +0100 +Subject: Revert "cpufreq: tegra186: Share policy per cluster" +To: +Cc: Greg Kroah-Hartman , Sasha Levin , Aaron Kling , , Jon Hunter +Message-ID: <20250605125432.357372-1-jonathanh@nvidia.com> + +From: Jon Hunter + +This reverts commit d95fdee2253e612216e72f29c65b92ec42d254eb 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: d95fdee2253e ("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 +Signed-off-by: Greg Kroah-Hartman +--- + 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; + } + diff --git a/queue-6.12/series b/queue-6.12/series index be9f3dd100..cbb47df62b 100644 --- a/queue-6.12/series +++ b/queue-6.12/series @@ -10,3 +10,4 @@ accel-ivpu-add-initial-panther-lake-support.patch accel-ivpu-update-power-island-delays.patch pci-aspm-disable-l1-before-disabling-l1-pm-substates.patch block-fix-adding-folio-to-bio.patch +revert-cpufreq-tegra186-share-policy-per-cluster.patch