[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CH3PR12MB86576227E4BC52CB184E2BEB9C82A@CH3PR12MB8657.namprd12.prod.outlook.com>
Date: Thu, 30 Nov 2023 06:00:22 +0000
From: "Yuan, Perry" <Perry.Yuan@....com>
To: "Meng, Li (Jassmine)" <Li.Meng@....com>,
"Rafael J . Wysocki" <rafael.j.wysocki@...el.com>,
"Huang, Ray" <Ray.Huang@....com>
CC: "linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
Shuah Khan <skhan@...uxfoundation.org>,
"linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>,
"Fontenot, Nathan" <Nathan.Fontenot@....com>,
"Sharma, Deepak" <Deepak.Sharma@....com>,
"Deucher, Alexander" <Alexander.Deucher@....com>,
"Limonciello, Mario" <Mario.Limonciello@....com>,
"Huang, Shimmer" <Shimmer.Huang@....com>,
"Du, Xiaojian" <Xiaojian.Du@....com>,
Viresh Kumar <viresh.kumar@...aro.org>,
Borislav Petkov <bp@...en8.de>,
Oleksandr Natalenko <oleksandr@...alenko.name>
Subject: RE: [PATCH V11 1/7] x86: Drop CPU_SUP_INTEL from SCHED_MC_PRIO for
the expansion.
[AMD Official Use Only - General]
> -----Original Message-----
> From: Meng, Li (Jassmine) <Li.Meng@....com>
> Sent: Wednesday, November 29, 2023 2:55 PM
> To: Rafael J . Wysocki <rafael.j.wysocki@...el.com>; Huang, Ray
> <Ray.Huang@....com>
> Cc: linux-pm@...r.kernel.org; linux-kernel@...r.kernel.org; x86@...nel.org;
> linux-acpi@...r.kernel.org; Shuah Khan <skhan@...uxfoundation.org>; linux-
> kselftest@...r.kernel.org; Fontenot, Nathan <Nathan.Fontenot@....com>;
> Sharma, Deepak <Deepak.Sharma@....com>; Deucher, Alexander
> <Alexander.Deucher@....com>; Limonciello, Mario
> <Mario.Limonciello@....com>; Huang, Shimmer <Shimmer.Huang@....com>;
> Yuan, Perry <Perry.Yuan@....com>; Du, Xiaojian <Xiaojian.Du@....com>;
> Viresh Kumar <viresh.kumar@...aro.org>; Borislav Petkov <bp@...en8.de>;
> Oleksandr Natalenko <oleksandr@...alenko.name>; Meng, Li (Jassmine)
> <Li.Meng@....com>
> Subject: [PATCH V11 1/7] x86: Drop CPU_SUP_INTEL from SCHED_MC_PRIO for
> the expansion.
>
> amd-pstate driver also uses SCHED_MC_PRIO, so decouple the requirement of
> CPU_SUP_INTEL from the dependencies to allow compilation in kernels without
> Intel CPU support.
>
> Tested-by: Oleksandr Natalenko <oleksandr@...alenko.name>
> Reviewed-by: Mario Limonciello <mario.limonciello@....com>
> Reviewed-by: Huang Rui <ray.huang@....com>
> Signed-off-by: Meng Li <li.meng@....com>
> ---
> arch/x86/Kconfig | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index
> ad478a2b49e2..77b1af90f7a2 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -1054,8 +1054,9 @@ config SCHED_MC
>
> 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
> + select X86_INTEL_PSTATE if CPU_SUP_INTEL
> + select X86_AMD_PSTATE if CPU_SUP_AMD && ACPI
> select CPU_FREQ
> default y
> help
> --
> 2.34.1
Reviewed-by: Perry Yuan <perry.yuan@....com >
Powered by blists - more mailing lists