]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "cpufreq: CPPC: Add support for frequency invariance"
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 11 Jun 2021 03:18:02 +0000 (08:48 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Jun 2021 13:55:02 +0000 (15:55 +0200)
commit9cc9d7d2798e5c1df904e904301e96eae3ed96aa
tree6a39d0f4ed168f68b56b0e007debafff29e7c3c2
parent6117501025ffc681ab63b6a1756e88d2d58b959e
Revert "cpufreq: CPPC: Add support for frequency invariance"

This reverts commit 3bb11fbdcf8a225ce9e56c6601bcf15975d409ea.

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: 3bb11fbdcf8a ("cpufreq: CPPC: Add support for frequency invariance")
Reported-by: Qian Cai <quic_qiancai@quicinc.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/cppc_cpufreq.c
include/linux/arch_topology.h
kernel/sched/core.c