|author||Viresh Kumar <email@example.com>||2021-06-11 08:48:02 +0530|
|committer||Rafael J. Wysocki <firstname.lastname@example.org>||2021-06-14 15:55:02 +0200|
Revert "cpufreq: CPPC: Add support for frequency invariance"
This reverts commit 4c38f2df71c8e33c0b64865992d693f5022eeaad. There are few races in the frequency invariance support for CPPC driver, namely the driver doesn't stop the kthread_work and irq_work on policy exit during suspend/resume or CPU hotplug. A proper fix won't be possible for the 5.13-rc, as it requires a lot of changes. Lets revert the patch instead for now. Fixes: 4c38f2df71c8 ("cpufreq: CPPC: Add support for frequency invariance") Reported-by: Qian Cai <email@example.com> Signed-off-by: Viresh Kumar <firstname.lastname@example.org> Signed-off-by: Rafael J. Wysocki <email@example.com>
Diffstat (limited to 'kernel')
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 5226cc26a095..4ca80df205ce 100644
@@ -6389,7 +6389,6 @@ int sched_setattr_nocheck(struct task_struct *p, const struct sched_attr *attr)
return __sched_setscheduler(p, attr, false, true);
* sched_setscheduler_nocheck - change the scheduling policy and/or RT priority of a thread from kernelspace.