Re: [PATCH] x86, sched: Fix the AMD CPPC maximum perf on some specific generations

2021-04-20 Thread Huang Rui
On Tue, Apr 20, 2021 at 04:22:31PM +0800, Borislav Petkov wrote: > On Tue, Apr 20, 2021 at 04:09:43PM +0800, Huang Rui wrote: > > Some AMD Ryzen generations has different calculation method on maximum > > perf. 255 is not for all asics, some specific generations used 166 as > > the maximum perf.

Re: [PATCH] x86, sched: Fix the AMD CPPC maximum perf on some specific generations

2021-04-20 Thread Borislav Petkov
On Tue, Apr 20, 2021 at 04:09:43PM +0800, Huang Rui wrote: > Some AMD Ryzen generations has different calculation method on maximum > perf. 255 is not for all asics, some specific generations used 166 as > the maximum perf. This patch is to fix the different maximum perf value Avoid having "This

[PATCH] x86, sched: Fix the AMD CPPC maximum perf on some specific generations

2021-04-20 Thread Huang Rui
Some AMD Ryzen generations has different calculation method on maximum perf. 255 is not for all asics, some specific generations used 166 as the maximum perf. This patch is to fix the different maximum perf value of AMD CPPC. Fixes: 41ea667227ba ("x86, sched: Calculate frequency invariance for