Re:Re: [PATCH] cpufreq: create cooling device based on ACPI

From: wangyouwan
Date: Wed May 10 2023 - 04:49:36 EST




I'm sorry, but I'm using the 5.4 kernel, and the "scpi-cpufreq" function is used in the scpi_clocks_probe_acpi function.



At 2023-04-28 17:56:07, "Dhruva Gole" <d-gole@xxxxxx> wrote:
>Hi,
>
>On 28/04/23 12:33, wangyouwan@xxxxxxx wrote:
>> From: youwan Wang <wangyouwan@xxxxxxx>
>>
>> When using the "scpi_cpufreq" driver, an error
>
>Pardon, do you mean drivers/cpufreq/acpi-cpufreq.c ?
>
>> occurs:cpufreq_cooling: OF node not available for cpu*.
>
>
>If this is fixing some errors/ bugs, maybe add an appropriate fixes
>tag?
>
>> The current computer motherboard is using ACPI firmware.
>> Go to see that the error is caused by calling the
>> "of_cpufreq_cooling_register" interface.
>> comment:create cpufreq cooling device based on DT.
>>
>> Signed-off-by: youwan Wang <wangyouwan@xxxxxxx>
>> ---
>> drivers/cpufreq/cpufreq.c | 7 ++++++-
>> 1 file changed, 6 insertions(+), 1 deletion(-)
>[...]
>>
>
>--
>Thanks and Regards,
>Dhruva Gole