lkml.org 
[lkml]   [2021]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Allow selecting amd-pstate without CPU_SUP_INTEL
On Sat, Nov 06, 2021 at 07:55:29PM +0800, Stefano Picascia wrote:
> Currently, even if selected, amd-pstate is not enabled unless
> CPU_SUP_INTEL is also selected, due to ACPI_CPPC_LIB depending on
> SCHED_MC_PRIO, which in turn depens on CPU_SUP_INTEL

Actually, amd-pstate driver doesn't depend on SCHED_MC_PRIO. I will clean
it up in my V3. Thanks.

Best Regards,
Ray

>
> The small patch below fixes it.
>
>
> --- a/arch/x86/Kconfig 2021-10-31 20:53:10.000000000 +0000
> +++ b/arch/x86/Kconfig 2021-11-06 09:22:46.736533394 +0000
> @@ -1015,8 +1015,7 @@
>
> config SCHED_MC_PRIO
> bool "CPU core priorities scheduler support"
> - depends on SCHED_MC && CPU_SUP_INTEL
> - select X86_INTEL_PSTATE
> + depends on SCHED_MC && (CPU_SUP_INTEL || CPU_SUP_AMD)
> select CPU_FREQ
> default y
> help
>
>

\
 
 \ /
  Last update: 2021-11-08 10:15    [W:0.061 / U:1.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site