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

Peng Fan peng.fan at oss.nxp.com
Mon Apr 14 03:28:14 PDT 2025


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.

Thanks,
Peng

>
>-- 
>Regards,
>Sudeep



More information about the linux-arm-kernel mailing list