diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-08-12 19:49:43 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-08-30 00:57:28 +0200 |
commit | 1ec9dd80bedc208c00b18069cfd615a4cbfeab17 (patch) | |
tree | c91327dc001de2780b7d4dd9c02e82dd5bcba793 /arch/mips/Makefile | |
parent | 3c9b4166213d415afa09bf2be104074f3a1161c8 (diff) | |
download | linux-stable-1ec9dd80bedc208c00b18069cfd615a4cbfeab17.tar.gz linux-stable-1ec9dd80bedc208c00b18069cfd615a4cbfeab17.tar.bz2 linux-stable-1ec9dd80bedc208c00b18069cfd615a4cbfeab17.zip |
MIPS: CPS: Detect CPUs in secondary clusters
As a first step towards supporting multi-cluster systems, detect cores &
VPs in secondary clusters & record their cluster information in the
cpu_data array. The "VP topology" line printed during boot is extended
to display multiple clusters. On a single cluster it shows output like
the following:
VP topology: {4,4}
This would indicate a system with 2 cores which each contain 4 VPs. We
extend this to cover multiple clusters in a natural way:
VP topology: {4,4},{2,2}
This would indicate a system with 2 clusters. The first cluster contains
2 cores which each contain 4 VPs. The second cluster contains 2 cores
which each contain 2 VPs.
Actually booting these cores & VPs is left to further patches once other
pieces are in place.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17017/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Makefile')
0 files changed, 0 insertions, 0 deletions