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

Peng Fan
2025-04-14T09:19:39Z

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