The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Huang Rui <ray.huang@amd.com>
To: Stefano Picascia <stefano.picascia@insiberia.net>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Allow selecting amd-pstate without CPU_SUP_INTEL
Date: Mon, 8 Nov 2021 17:13:25 +0800	[thread overview]
Message-ID: <YYjqNaND8hLGsoXg@hr-amd> (raw)
In-Reply-To: <9932762ef184fe132acf176081f8893800c83800.camel@insiberia.net>

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
> 
> 

  reply	other threads:[~2021-11-08  9:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-06 11:55 [PATCH] Allow selecting amd-pstate without CPU_SUP_INTEL Stefano Picascia
2021-11-08  9:13 ` Huang Rui [this message]
2021-11-08 10:01   ` Stefano Picascia
2021-11-09 14:19     ` Huang Rui
2021-11-10  9:12       ` Stefano Picascia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YYjqNaND8hLGsoXg@hr-amd \
    --to=ray.huang@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stefano.picascia@insiberia.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox