[PATCH v2 0/2] cpufreq: userspace: add CPUFREQ_GOV_STRICT_TARGET flag

Shashank Balaji posted 2 patches 6 months, 3 weeks ago
Documentation/admin-guide/pm/cpufreq.rst | 4 +++-
drivers/cpufreq/cpufreq_userspace.c      | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
[PATCH v2 0/2] cpufreq: userspace: add CPUFREQ_GOV_STRICT_TARGET flag
Posted by Shashank Balaji 6 months, 3 weeks ago
In-Reply-To: 20250522-userspace-governor-doc-v1-1-c8a038e39084@sony.com
Signed-off-by: Shashank Balaji <shashank.mahadasyam@sony.com>
---
Changes in v2:
- Instead of modifying the documentation to say that variation in frequency is
possible despite setting scaling_setspeed, add the CPUFREQ_GOV_STRICT_TARGET
flag to the userspace governor to make its behaviour match the expectation when
used with the intel_pstate driver with HWP enabled
- Mention in the documentation that variation in frequency due to hardware
factors is possible
- Link to v1: https://lore.kernel.org/r/20250522-userspace-governor-doc-v1-1-c8a038e39084@sony.com

---
Shashank Balaji (2):
      cpufreq: userspace: set CPUFREQ_GOV_STRICT_TARGET flag
      cpufreq, docs: userspace: mention variation in freq due to hw coordination

 Documentation/admin-guide/pm/cpufreq.rst | 4 +++-
 drivers/cpufreq/cpufreq_userspace.c      | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)
---
base-commit: 914873bc7df913db988284876c16257e6ab772c6
change-id: 20250522-userspace-governor-doc-86380dbab3d5

Best regards,
-- 
Shashank Balaji <shashank.mahadasyam@sony.com>
Re: [PATCH v2 0/2] cpufreq: userspace: add CPUFREQ_GOV_STRICT_TARGET flag
Posted by Rafael J. Wysocki 6 months ago
On Tue, May 27, 2025 at 3:00 PM Shashank Balaji
<shashank.mahadasyam@sony.com> wrote:
>
> In-Reply-To: 20250522-userspace-governor-doc-v1-1-c8a038e39084@sony.com
> Signed-off-by: Shashank Balaji <shashank.mahadasyam@sony.com>
> ---
> Changes in v2:
> - Instead of modifying the documentation to say that variation in frequency is
> possible despite setting scaling_setspeed, add the CPUFREQ_GOV_STRICT_TARGET
> flag to the userspace governor to make its behaviour match the expectation when
> used with the intel_pstate driver with HWP enabled
> - Mention in the documentation that variation in frequency due to hardware
> factors is possible
> - Link to v1: https://lore.kernel.org/r/20250522-userspace-governor-doc-v1-1-c8a038e39084@sony.com
>
> ---
> Shashank Balaji (2):
>       cpufreq: userspace: set CPUFREQ_GOV_STRICT_TARGET flag
>       cpufreq, docs: userspace: mention variation in freq due to hw coordination
>
>  Documentation/admin-guide/pm/cpufreq.rst | 4 +++-
>  drivers/cpufreq/cpufreq_userspace.c      | 1 +
>  2 files changed, 4 insertions(+), 1 deletion(-)
> ---

Both patches applied as 6.17 material, thanks!
Re: [PATCH v2 0/2] cpufreq: userspace: add CPUFREQ_GOV_STRICT_TARGET flag
Posted by Shashank Balaji 6 months ago
Hi Rafael,

Could you please take a look at this?

Thanks

Regards,
Shashank

On Tue, May 27, 2025 at 09:59:08PM +0900, Shashank Balaji wrote:
> In-Reply-To: 20250522-userspace-governor-doc-v1-1-c8a038e39084@sony.com
> Signed-off-by: Shashank Balaji <shashank.mahadasyam@sony.com>
> ---
> Changes in v2:
> - Instead of modifying the documentation to say that variation in frequency is
> possible despite setting scaling_setspeed, add the CPUFREQ_GOV_STRICT_TARGET
> flag to the userspace governor to make its behaviour match the expectation when
> used with the intel_pstate driver with HWP enabled
> - Mention in the documentation that variation in frequency due to hardware
> factors is possible
> - Link to v1: https://lore.kernel.org/r/20250522-userspace-governor-doc-v1-1-c8a038e39084@sony.com
> 
> ---
> Shashank Balaji (2):
>       cpufreq: userspace: set CPUFREQ_GOV_STRICT_TARGET flag
>       cpufreq, docs: userspace: mention variation in freq due to hw coordination
> 
>  Documentation/admin-guide/pm/cpufreq.rst | 4 +++-
>  drivers/cpufreq/cpufreq_userspace.c      | 1 +
>  2 files changed, 4 insertions(+), 1 deletion(-)
> ---
> base-commit: 914873bc7df913db988284876c16257e6ab772c6
> change-id: 20250522-userspace-governor-doc-86380dbab3d5
> 
> Best regards,
> -- 
> Shashank Balaji <shashank.mahadasyam@sony.com>
>