summaryrefslogtreecommitdiffstats
path: root/arch/mips/tools
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-08-13 04:49:43 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-08-30 00:57:28 +0200
commit1ec9dd80bedc208c00b18069cfd615a4cbfeab17 (patch)
treec91327dc001de2780b7d4dd9c02e82dd5bcba793 /arch/mips/tools
parentMIPS: CPS: Cluster support for topology functions (diff)
downloadlinux-1ec9dd80bedc208c00b18069cfd615a4cbfeab17.tar.xz
linux-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/tools')
0 files changed, 0 insertions, 0 deletions