Re: [PATCH v8 11/13] arm64: topology: enable ACPI/PPTT based CPU topology
From: Morten Rasmussen
Date: Thu May 03 2018 - 11:15:26 EST
On Wed, Apr 25, 2018 at 06:31:19PM -0500, Jeremy Linton wrote:
> Propagate the topology information from the PPTT tree to the
> cpu_topology array. We can get the thread id and core_id by assuming
> certain levels of the PPTT tree correspond to those concepts.
> The package_id is flagged in the tree and can be found by calling
> find_acpi_cpu_topology_package() which terminates
> its search when it finds an ACPI node flagged as the physical
> package. If the tree doesn't contain enough levels to represent
> all of the requested levels then the root node will be returned
> for all subsequent levels.
>
> Signed-off-by: Jeremy Linton <jeremy.linton@xxxxxxx>
Acked-by: Morten Rasmussen <morten.rasmussen@xxxxxxx>