[PATCH 01/12] of: Add of_get_cpu_hwid() to read hardware ID from CPU nodes

Sudeep Holla sudeep.holla at arm.com
Tue Oct 19 00:26:05 AEDT 2021


On Wed, Oct 06, 2021 at 11:43:21AM -0500, Rob Herring wrote:
> There are various open coded implementions parsing the CPU node 'reg'
> property which contains the CPU's hardware ID. Introduce a new function,
> of_get_cpu_hwid(), to read the hardware ID.
>
> All the callers should be DT only code, so no need for an empty
> function.
>

Thanks for doing this. I postponed and forgot about this though I had
planned for this when I touched code around this.

Reviewed-by: Sudeep Holla <sudeep.holla at arm.com>

--
Regards,
Sudeep


More information about the Linuxppc-dev mailing list