[PATCH] cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs

Mike Tipton quic_mdtipton at quicinc.com
Mon Apr 14 08:34:25 PDT 2025


On Mon, Apr 14, 2025 at 06:28:14PM +0800, Peng Fan wrote:
> Hi Sudeep,
> On Mon, Apr 14, 2025 at 09:23:24AM +0100, Sudeep Holla wrote:
> >Hi Peng,
> >
> >On Mon, Apr 14, 2025 at 04:38:32PM +0800, Peng Fan wrote:
> >> Hi Mike,
> >> On Fri, Apr 11, 2025 at 02:29:41PM -0700, Mike Tipton wrote:
> >> >Currently, all SCMI devices with performance domains attempt to register
> >> >a cpufreq driver,
> >> 
> >> The scmi cpufreq device is created based on entry
> >> { SCMI_PROTOCOL_PERF, "cpufreq" },
> >> 
> >> So the scmi-cpufreq driver could only probe the upper single device.
> >> 
> >> How could the driver work with all SCMI devices with performance domains?
> >> 
> >
> >IIUC, this is on a system with multiple SCMI servers/providers some of
> >which don't deal with CPU performance domains at all.
> 
> Yeah. This sounds valid case.
> CPU perf only needs to be managed by one server, the other server
> also has performance domains that only for peripherals.

Yeah, this is the case we're trying to fix.

> 
> Thanks,
> Peng
> 
> >
> >-- 
> >Regards,
> >Sudeep



More information about the linux-arm-kernel mailing list