summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2018-05-11 18:58:05 -0500
committerCatalin Marinas <catalin.marinas@arm.com>2018-05-17 17:28:09 +0100
commit2f0a5d107e1fd6250a3a0469892a6c47a8ca933b (patch)
tree7a5e69715d3e00193ab4bb97d24cd3cee5262700 /drivers/acpi
parent868abc07680c2c8b7f85ae883f9f1b90bf4ef4bf (diff)
arm64: topology: enable ACPI/PPTT based CPU topology
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. Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Vijaya Kumar K <vkilari@codeaurora.org> Tested-by: Xiongfeng Wang <wangxiongfeng2@huawei.com> Tested-by: Tomasz Nowicki <Tomasz.Nowicki@cavium.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Morten Rasmussen <morten.rasmussen@arm.com> Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions