diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2022-07-15 20:51:55 +0300 |
---|---|---|
committer | Conor Dooley <conor.dooley@microchip.com> | 2022-08-15 02:42:28 +0300 |
commit | 456797da792fa7cbf6698febf275fe9b36691f78 (patch) | |
tree | 1abb1386d52c19ec07462b37f63257e19136ff8b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) | |
download | linux-456797da792fa7cbf6698febf275fe9b36691f78.tar.xz |
arm64: topology: move store_cpu_topology() to shared code
arm64's method of defining a default cpu topology requires only minimal
changes to apply to RISC-V also. The current arm64 implementation exits
early in a uniprocessor configuration by reading MPIDR & claiming that
uniprocessor can rely on the default values.
This is appears to be a hangover from prior to '3102bc0e6ac7 ("arm64:
topology: Stop using MPIDR for topology information")', because the
current code just assigns default values for multiprocessor systems.
With the MPIDR references removed, store_cpu_topolgy() can be moved to
the common arch_topology code.
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions