[PATCH 3/3] arm_scpi: modify to support acpi

Sudeep Holla sudeep.holla at arm.com
Thu Nov 24 05:46:21 PST 2022


On Thu, Nov 24, 2022 at 08:23:58PM +0800, 王洪辉 wrote:
> When boot from uefi on phytium ft2004(arm64) platform, can't show temp &
> freq of cpu, but well if boot from uboot for same kernel binary file.

Yes the same binary must work if you use right ACPI methods/AML/tables.
Everything needed is there in the kernel, you need to write correct ACPI
firmware/tables.

> So i modified arm_scpi.c and scpi-hwmon.c as patch, and tested ok.
>

Yes tested to be OK, but definitely not acceptable. Please look at the
ACPI spec and improve your firmware to use what you need here. I have
given all the pointers now.

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list