Re: [PATCH 02/13] cpufreq: Add perf_freq to cpuinfo

2021-05-26 Thread Jason Andryuk
On Wed, May 26, 2021 at 9:24 AM Jan Beulich wrote: > > On 03.05.2021 21:27, Jason Andryuk wrote: > > acpi-cpufreq scales the aperf/mperf measurements by max_freq, but HWP > > needs to scale by base frequency. Settings max_freq to base_freq > > "works" but the code is not obvious, and returning va

Re: [PATCH 02/13] cpufreq: Add perf_freq to cpuinfo

2021-05-26 Thread Jan Beulich
On 03.05.2021 21:27, Jason Andryuk wrote: > acpi-cpufreq scales the aperf/mperf measurements by max_freq, but HWP > needs to scale by base frequency. Settings max_freq to base_freq > "works" but the code is not obvious, and returning values to userspace > is tricky. Add an additonal perf_freq mem