]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop queue-5.4/cpufreq-cppc-mark-driver-with-need_update_limits-fla.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Aug 2025 07:37:05 +0000 (09:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Aug 2025 07:37:05 +0000 (09:37 +0200)
queue-5.4/cpufreq-cppc-mark-driver-with-need_update_limits-fla.patch [deleted file]
queue-5.4/series

diff --git a/queue-5.4/cpufreq-cppc-mark-driver-with-need_update_limits-fla.patch b/queue-5.4/cpufreq-cppc-mark-driver-with-need_update_limits-fla.patch
deleted file mode 100644 (file)
index f441eb3..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-From d3edd23ecdf60b304927941961e01d26a007e123 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Tue, 22 Jul 2025 05:55:40 +0000
-Subject: cpufreq: CPPC: Mark driver with NEED_UPDATE_LIMITS flag
-
-From: Prashant Malani <pmalani@google.com>
-
-[ Upstream commit 0a1416a49e63c320f6e6c1c8d07e1b58c0d4a3f3 ]
-
-AMU counters on certain CPPC-based platforms tend to yield inaccurate
-delivered performance measurements on systems that are idle/mostly idle.
-This results in an inaccurate frequency being stored by cpufreq in its
-policy structure when the CPU is brought online. [1]
-
-Consequently, if the userspace governor tries to set the frequency to a
-new value, there is a possibility that it would be the erroneous value
-stored earlier. In such a scenario, cpufreq would assume that the
-requested frequency has already been set and return early, resulting in
-the correct/new frequency request never making it to the hardware.
-
-Since the operating frequency is liable to this sort of inconsistency,
-mark the CPPC driver with CPUFREQ_NEED_UPDATE_LIMITS so that it is always
-invoked when a target frequency update is requested.
-
-Link: https://lore.kernel.org/linux-pm/20250619000925.415528-3-pmalani@google.com/ [1]
-Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-Signed-off-by: Prashant Malani <pmalani@google.com>
-Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
-Link: https://patch.msgid.link/20250722055611.130574-2-pmalani@google.com
-Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/cpufreq/cppc_cpufreq.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c
-index 8910fd1ae3c6..c85b01aa801d 100644
---- a/drivers/cpufreq/cppc_cpufreq.c
-+++ b/drivers/cpufreq/cppc_cpufreq.c
-@@ -407,7 +407,7 @@ static unsigned int cppc_cpufreq_get_rate(unsigned int cpunum)
- }
- static struct cpufreq_driver cppc_cpufreq_driver = {
--      .flags = CPUFREQ_CONST_LOOPS,
-+      .flags = CPUFREQ_CONST_LOOPS | CPUFREQ_NEED_UPDATE_LIMITS,
-       .verify = cppc_verify_policy,
-       .target = cppc_cpufreq_set_target,
-       .get = cppc_cpufreq_get_rate,
--- 
-2.39.5
-
index 32eee1a33e9304d2d1d029c6a7e13f9b4d0d67af..4bdc710f9c9cd2820436e3fefd4a14e7af13b960 100644 (file)
@@ -178,7 +178,6 @@ drbd-add-missing-kref_get-in-handle_write_conflicts.patch
 hfs-fix-not-erasing-deleted-b-tree-node-issue.patch
 securityfs-don-t-pin-dentries-twice-once-is-enough.patch
 usb-xhci-print-xhci-xhc_state-when-queue_command-fai.patch
-cpufreq-cppc-mark-driver-with-need_update_limits-fla.patch
 selftests-futex-define-sys_futex-on-32-bit-architect.patch
 usb-xhci-avoid-showing-warnings-for-dying-controller.patch
 usb-xhci-set-avg_trb_len-8-for-ep0-during-address-de.patch