diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-25 18:14:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-25 18:14:51 +0000 |
commit | d40525d74483377e1e677d75e1308d06f140f781 (patch) | |
tree | beef38d4c4ca077d81d03bfe6e227de9aa180634 /sys-kernel/linux-image-redcore-lts/files/6.12-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch | |
parent | 1462a6c16d3adcf9c3a3b0967fdfb5009fdba7f8 (diff) |
sys-kernel/linux-{image,sources}-redcore-lts : add v6.12.x
Diffstat (limited to 'sys-kernel/linux-image-redcore-lts/files/6.12-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch')
-rw-r--r-- | sys-kernel/linux-image-redcore-lts/files/6.12-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore-lts/files/6.12-0001-Revert-cpufreq-Avoid-configuring-old-governors-as-de.patch b/sys-kernel/linux-image-redcore-lts/files/6.12-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-lts/files/6.12-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 + |