Hello,
This patchsets adds support for precision boost hardware control
for AMD processors.
Meanwhile the patchset fixs lowest perf query and desired perf scope issues.
Update transition delay and latency default value to meet SMU firmware requirement.
and do some code cleanups,
It also exports cpufreq cpu release and acquire for coming amd-pstate epp mode driver
The patch series are tested on the AMD mobile and EYPC server systems
v1->v2:
- add two new patches to remove the acpi_disabled check
- fix some typos in the commit info
- move the clamp_t() into amd_pstate_update() function
- rebased to 5.19-rc5
[1]:https://patchwork.kernel.org/project/linux-pm/list/?series=657510
Perry Yuan (14):
x86/msr: Add the MSR definition for AMD CPPC hardware control.
cpufreq: amd-pstate: enable AMD Precision Boost mode switch
cpufreq: amd-pstate: cleanup the unused and duplicated headers
declaration
cpufreq: amd-pstate: prefetch cppc_req_cached value in
amd_pstate_cpu_init()
cpufreq: amd-pstate: simplify cpudata pointer assignment
cpufreq: amd_pstate: fix wrong lowest perf fetch
cpufreq: amd_pstate: map desired perf into pstate scope for powersave
governor
cpufreq: amd-pstate: fix white-space
cpufreq: amd-pstate: update pstate frequency transition delay time
cpufreq: cpufreq: export cpufreq cpu release and acquire
cpufreq: amd-pstate: add ACPI disabled check in acpi_cpc_valid()
cpufreq: amd_pstate: update transition delay time to 1ms
arch_topology: remove the acpi_disabled check
cpufreq: CPPC: remove the acpi_disabled check
arch/x86/include/asm/msr-index.h | 3 ++
drivers/acpi/cppc_acpi.c | 3 ++
drivers/base/arch_topology.c | 2 +-
drivers/cpufreq/amd-pstate.c | 57 +++++++++++++++++++-------------
drivers/cpufreq/cppc_cpufreq.c | 2 +-
drivers/cpufreq/cpufreq.c | 2 ++
6 files changed, 44 insertions(+), 25 deletions(-)
--
2.25.1
On 09-07-22, 10:08, Perry Yuan wrote:
> Hello,
>
> This patchsets adds support for precision boost hardware control
> for AMD processors.
>
> Meanwhile the patchset fixs lowest perf query and desired perf scope issues.
> Update transition delay and latency default value to meet SMU firmware requirement.
> and do some code cleanups,
> It also exports cpufreq cpu release and acquire for coming amd-pstate epp mode driver
>
> The patch series are tested on the AMD mobile and EYPC server systems
Please use "--thread=shallow" option while generating patches with
git, these should be part of a single thread.
--
viresh
[AMD Official Use Only - General]
> -----Original Message-----
> From: Viresh Kumar <[email protected]>
> Sent: Monday, July 11, 2022 8:30 AM
> To: Yuan, Perry <[email protected]>
> Cc: [email protected]; Huang, Ray <[email protected]>;
> Sharma, Deepak <[email protected]>; Limonciello, Mario
> <[email protected]>; Fontenot, Nathan
> <[email protected]>; Deucher, Alexander
> <[email protected]>; Su, Jinzhou (Joe) <[email protected]>;
> Huang, Shimmer <[email protected]>; Du, Xiaojian
> <[email protected]>; Meng, Li (Jassmine) <[email protected]>; linux-
> [email protected]; [email protected]
> Subject: Re: [PATCH v2 00/14] AMD Pstate Enhancement And Issue Fixs
>
> [CAUTION: External Email]
>
> On 09-07-22, 10:08, Perry Yuan wrote:
> > Hello,
> >
> > This patchsets adds support for precision boost hardware control for
> > AMD processors.
> >
> > Meanwhile the patchset fixs lowest perf query and desired perf scope
> issues.
> > Update transition delay and latency default value to meet SMU firmware
> requirement.
> > and do some code cleanups,
> > It also exports cpufreq cpu release and acquire for coming amd-pstate
> > epp mode driver
> >
> > The patch series are tested on the AMD mobile and EYPC server systems
>
> Please use "--thread=shallow" option while generating patches with git,
> these should be part of a single thread.
>
> --
> viresh
Got it, I will use this shallow thread in V3 patchset creating.
Perry.