[PATCH v3] cpufreq: scmi: Account for malformed DT in scmi_dev_used_by_cpus()
Viresh Kumar
viresh.kumar at linaro.org
Mon Aug 18 22:30:48 PDT 2025
On 18-08-25, 08:50, Florian Fainelli wrote:
> Broadcom STB platforms were early adopters (2017) of the SCMI framework and as
> a result, not all deployed systems have a Device Tree entry where SCMI
> protocol 0x13 (PERFORMANCE) is declared as a clock provider, nor are the
> CPU Device Tree node(s) referencing protocol 0x13 as their clock
> provider. This was clarified in commit e11c480b6df1 ("dt-bindings:
> firmware: arm,scmi: Extend bindings for protocol at 13") in 2023.
>
> For those platforms, we allow the checks done by scmi_dev_used_by_cpus()
> to continue, and in the event of not having done an early return, we key
> off the documented compatible string and give them a pass to continue to
> use scmi-cpufreq.
>
> Reviewed-by: Sudeep Holla <sudeep.holla at arm.com>
> Fixes: 6c9bb8692272 ("cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs")
> Signed-off-by: Florian Fainelli <florian.fainelli at broadcom.com>
Applied. Thanks.
--
viresh
More information about the linux-arm-kernel
mailing list