[PATCH v7 04/13] arm64/acpi: Create arch specific cpu to acpi id helper

Sudeep Holla sudeep.holla at arm.com
Tue Mar 6 09:13:46 PST 2018



On 28/02/18 22:06, Jeremy Linton wrote:
> Its helpful to be able to lookup the acpi_processor_id associated
> with a logical cpu. Provide an arm64 helper to do this.
> 

This patch on it's own is good, but it's quite generic and made to look
at it again. Sorry for missing this earlier.

Can we use "per_cpu(processors, cpu)->acpi_id" at call sites instead ?
Or you can make that a generic helper using above expression ?

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list