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

From: Sudeep Holla
Date: Tue Mar 06 2018 - 12:14:00 EST




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