Linux-PM Archive on
 help / color / Atom feed
From: Viresh Kumar <>
To: Rafael Wysocki <>,
	Viresh Kumar <>,
	Ionela Voinescu <>
	Vincent Guittot <>,
	Qian Cai <>,
	"Rafael J. Wysocki" <>,
Subject: [PATCH] cpufreq: cppc: Mark frequency invariance broken
Date: Thu, 10 Jun 2021 13:28:29 +0530
Message-ID: <> (raw)

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. Instead of reverting the patch, mark this feature BROKEN for

Fixes: 4c38f2df71c8 ("cpufreq: CPPC: Add support for frequency invariance")
Reported-by: Qian Cai <>
Signed-off-by: Viresh Kumar <>
Rafael, please apply this for v5.13-rc if it looks fine to you.

 drivers/cpufreq/Kconfig.arm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index a5c5f70acfc9..614c34350f41 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -22,6 +22,7 @@ config ACPI_CPPC_CPUFREQ
 	bool "Frequency Invariance support for CPPC cpufreq driver"
+	depends on BROKEN
 	default y
 	  This extends frequency invariance support in the CPPC cpufreq driver,

             reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10  7:58 Viresh Kumar [this message]
2021-06-10 11:19 ` Rafael J. Wysocki
2021-06-10 11:33   ` Viresh Kumar
2021-06-10 12:30     ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-PM Archive on

Archives are clonable:
	git clone --mirror linux-pm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-pm linux-pm/ \
	public-inbox-index linux-pm

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone