Re: [PATCH 1/2][v2] cpufreq: intel_pstate: Add parameter to get guarantee frequency

2021-01-11 Thread Chen Yu
On Mon, Jan 11, 2021 at 01:44:09PM +0100, Rafael J. Wysocki wrote: > On Mon, Jan 11, 2021 at 8:40 AM Chen Yu wrote: > > > > Add input parameter to receive guarantee pstate from > > intel_pstate_get_hwp_max() > > for later use. > > I'm not a fan of this change, because the new argument will only

Re: [PATCH 1/2][v2] cpufreq: intel_pstate: Add parameter to get guarantee frequency

2021-01-11 Thread Rafael J. Wysocki
On Mon, Jan 11, 2021 at 8:40 AM Chen Yu wrote: > > Add input parameter to receive guarantee pstate from > intel_pstate_get_hwp_max() > for later use. I'm not a fan of this change, because the new argument will only be needed in one place where intel_pstate_get_hwp_max() and it requires adding

[PATCH 1/2][v2] cpufreq: intel_pstate: Add parameter to get guarantee frequency

2021-01-10 Thread Chen Yu
Add input parameter to receive guarantee pstate from intel_pstate_get_hwp_max() for later use. No functional change intended. Signed-off-by: Chen Yu --- drivers/cpufreq/intel_pstate.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git