summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-image-redcore/files/5.14-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-11 18:04:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-11 18:04:28 +0100
commit147c60950e13ce4876b97a4b52452e8ff6f60d9c (patch)
tree30bcfc8efff62de503e566322366611a6e162f90 /sys-kernel/linux-image-redcore/files/5.14-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch
parent3de2e4b05699d2e793b05de156b7162354ce6d99 (diff)
sys-kernel/linux-{image,sources}-redcore : add v5.14
Diffstat (limited to 'sys-kernel/linux-image-redcore/files/5.14-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch')
-rw-r--r--sys-kernel/linux-image-redcore/files/5.14-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore/files/5.14-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch b/sys-kernel/linux-image-redcore/files/5.14-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch
new file mode 100644
index 00000000..e8ef9b4f
--- /dev/null
+++ b/sys-kernel/linux-image-redcore/files/5.14-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch
@@ -0,0 +1,38 @@
+From 2261dd7a91c24db2da4c9c5abf6a1670fcba1c0e Mon Sep 17 00:00:00 2001
+From: Gabriel C <crazy@frugalware.org>
+Date: Tue, 15 Dec 2020 20:12:13 +0100
+Subject: [PATCH] Revert "cpufreq: Avoid configuring old governors as default
+ with intel_pstate"
+
+This reverts commit db865272d9c4687520dc29f77e701a1b2669872f.
+
+This is crazy stuff. These changes belong to an initramfs generator like dracut.
+So you are forcing schedutil on everyone because a generic distro kernel may select
+that driver? Uff.. fix it for every CPU then we can talk about it.
+---
+ drivers/cpufreq/Kconfig | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
+index 85de313ddec2..2c7171e0b001 100644
+--- a/drivers/cpufreq/Kconfig
++++ b/drivers/cpufreq/Kconfig
+@@ -71,7 +71,6 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
+
+ config CPU_FREQ_DEFAULT_GOV_ONDEMAND
+ bool "ondemand"
+- depends on !(X86_INTEL_PSTATE && SMP)
+ select CPU_FREQ_GOV_ONDEMAND
+ select CPU_FREQ_GOV_PERFORMANCE
+ help
+@@ -84,7 +83,6 @@ config CPU_FREQ_DEFAULT_GOV_ONDEMAND
+
+ config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
+ bool "conservative"
+- depends on !(X86_INTEL_PSTATE && SMP)
+ select CPU_FREQ_GOV_CONSERVATIVE
+ select CPU_FREQ_GOV_PERFORMANCE
+ help
+--
+2.29.2
+