From: Prarit Bhargava <prarit(a)redhat.com>
redhat/configs: Set CONFIG_X86_AMD_PSTATE built-in on Fedora
In order to use the amd-pstate driver on AMD systems, users must first
unload the acpi-cpufreq driver and then load the amd-pstate driver.
Another option is to denylist the acpi-cpufreq driver but this also
requires user modifications to the system.
In ARK we have decided to build the amd-pstate driver into the kernel so
that it loads before the acpi-cpufreq driver. Do the same for Fedora.
Set CONFIG_X86_AMD_PSTATE to 'y' on Fedora.
Suggested-by: Joel Wirāmu Pauling <jwp(a)redhat.com>
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_X86_AMD_PSTATE
b/redhat/configs/fedora/generic/x86/CONFIG_X86_AMD_PSTATE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/x86/CONFIG_X86_AMD_PSTATE
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_X86_AMD_PSTATE=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1710