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

Sudeep Holla sudeep.holla at arm.com
Mon Oct 18 06:26:05 PDT 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>


More information about the linux-riscv mailing list