Skip to content

Commit 48a9cd5

Browse files
jonhunterpopcornmix
authored andcommitted
Revert "cpufreq: tegra186: Share policy per cluster"
This reverts commit d95fdee which is upstream commit be4ae8c. 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: d95fdee ("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>
1 parent e1889fc commit 48a9cd5

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)