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

2022-08-15 Thread Jan Beulich
On 10.08.2022 21:29, 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

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

2022-08-10 Thread Jason Andryuk
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 member which is used for scaling aperf/mperf measurem