From: Prarit Bhargava prarit@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@redhat.com Signed-off-by: Prarit Bhargava prarit@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
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1710#note_9080155...
So it seems this might not be such a good idea after all. Some benchmarking posted over the weekend shows that the AMD_PSTATE driver under-performs when compared to ACPI_CPUFREQ on 5.17 kernels.
kernel@lists.fedoraproject.org