diff options
author | Jeremy Linton <[email protected]> | 2018-05-11 18:58:05 -0500 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2018-05-17 17:28:09 +0100 |
commit | 2f0a5d107e1fd6250a3a0469892a6c47a8ca933b (patch) | |
tree | 7a5e69715d3e00193ab4bb97d24cd3cee5262700 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 868abc07680c2c8b7f85ae883f9f1b90bf4ef4bf (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 <[email protected]>
Tested-by: Vijaya Kumar K <[email protected]>
Tested-by: Xiongfeng Wang <[email protected]>
Tested-by: Tomasz Nowicki <[email protected]>
Acked-by: Sudeep Holla <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Acked-by: Morten Rasmussen <[email protected]>
Signed-off-by: Jeremy Linton <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions