RE: [PATCH v2 10/14] cpufreq: cpufreq: export cpufreq cpu release and acquire

From: Yuan, Perry
Date: Sun Jul 10 2022 - 21:39:24 EST


[AMD Official Use Only - General]

Hi Viresh:

> -----Original Message-----
> From: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> Sent: Monday, July 11, 2022 8:40 AM
> To: Yuan, Perry <Perry.Yuan@xxxxxxx>
> Cc: rafael.j.wysocki@xxxxxxxxx; Huang, Ray <Ray.Huang@xxxxxxx>;
> Sharma, Deepak <Deepak.Sharma@xxxxxxx>; Limonciello, Mario
> <Mario.Limonciello@xxxxxxx>; Fontenot, Nathan
> <Nathan.Fontenot@xxxxxxx>; Deucher, Alexander
> <Alexander.Deucher@xxxxxxx>; Su, Jinzhou (Joe) <Jinzhou.Su@xxxxxxx>;
> Huang, Shimmer <Shimmer.Huang@xxxxxxx>; Du, Xiaojian
> <Xiaojian.Du@xxxxxxx>; Meng, Li (Jassmine) <Li.Meng@xxxxxxx>; linux-
> pm@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v2 10/14] cpufreq: cpufreq: export cpufreq cpu release
> and acquire
>
> [CAUTION: External Email]
>
> On 09-07-22, 10:19, Perry Yuan wrote:
> > "cpufreq_cpu_release" and "cpufreq_cpu_acquire" are only used
> > internally by drivers/cpufreq/cpufreq.c currently.
> > Export them so that other drivers such as the AMD P-state driver can use
> them as well.
>
> I don't see your driver using them, what am I missing ?
>
> --
> viresh

The amd-pstate for EPP mode is under testing, I will push that patchset in a few days for reviewing.
If this patch makes confusing, maybe I need to move this patch to coming patchset.

Perry.