Skip to content

Commit 3781f54

Browse files
jonhunterjfvogel
authored andcommitted
Revert "cpufreq: tegra186: Share policy per cluster"
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/[email protected]/ Signed-off-by: Jon Hunter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> (cherry picked from commit a347664312be418cf6e28b7afa1fa24623a387d6) Signed-off-by: Jack Vogel <[email protected]>
1 parent dc73c7f commit 3781f54

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/cpufreq/tegra186-cpufreq.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,11 @@ static int tegra186_cpufreq_init(struct cpufreq_policy *policy)
7373
{
7474
struct tegra186_cpufreq_data *data = cpufreq_get_driver_data();
7575
unsigned int cluster = data->cpus[policy->cpu].bpmp_cluster_id;
76-
u32 cpu;
7776

7877
policy->freq_table = data->clusters[cluster].table;
7978
policy->cpuinfo.transition_latency = 300 * 1000;
8079
policy->driver_data = NULL;
8180

82-
/* set same policy for all cpus in a cluster */
83-
for (cpu = 0; cpu < ARRAY_SIZE(tegra186_cpus); cpu++) {
84-
if (data->cpus[cpu].bpmp_cluster_id == cluster)
85-
cpumask_set_cpu(cpu, policy->cpus);
86-
}
87-
8881
return 0;
8982
}
9083

0 commit comments

Comments
 (0)