linux57-tkg: The execution of finish_cpu when offlining cores introduced with https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bf2c59fce4074e55d622089b34be3a6bc95484fb breaks suspend on our CPU schedulers. Skipping the call to fallback to idle_task_exit fixes it.
There are other issues regarding suspend upstream but that should cover our side of the coin. https://gitlab.com/alfredchen/projectc/-/issues/17 Fixes https://github.com/Frogging-Family/linux-tkg/issues/24
This commit is contained in:
@@ -13124,3 +13124,19 @@ index fdbdfb7bce92..fa8e8faf3eb3 100644
|
||||
} while (--timeout > 0);
|
||||
if (alive)
|
||||
dev_err(line6pcm->line6->ifcdev,
|
||||
diff --git a/kernel/cpu.c b/kernel/cpu.c
|
||||
index 244d305443773..90b77028233b0 100644
|
||||
--- a/kernel/cpu.c
|
||||
+++ b/kernel/cpu.c
|
||||
@@ -1565,7 +1565,11 @@ static struct cpuhp_step cpuhp_hp_states[] = {
|
||||
[CPUHP_BRINGUP_CPU] = {
|
||||
.name = "cpu:bringup",
|
||||
.startup.single = bringup_cpu,
|
||||
+#ifdef CONFIG_SCHED_MUQSS
|
||||
+ .teardown.single = NULL,
|
||||
+#else
|
||||
.teardown.single = finish_cpu,
|
||||
+#endif
|
||||
.cant_stop = true,
|
||||
},
|
||||
/* Final state before CPU kills itself */
|
||||
|
Reference in New Issue
Block a user