MIPS: CPS: Cluster support for topology functions
authorPaul Burton <paul.burton@imgtec.com>
Sun, 13 Aug 2017 02:49:42 +0000 (19:49 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Aug 2017 22:57:28 +0000 (00:57 +0200)
commit3c9b4166213d415afa09bf2be104074f3a1161c8
tree090628d88c17fe1458da3497a0ded39b922f11a4
parente83f7e02af50c763ed9f953b565a4fbce6235fdf
MIPS: CPS: Cluster support for topology functions

Modify the functions we use to read information about the topology of
the system (the number of cores, VPs & IOCUs that it contains) in order
to take into account multiple clusters, and provide a new function to
determine the number of clusters in the system.

Users of these functions are modified only such that they continue to
build successfully - having them actually handle multiple clusters is
left to further patches.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17016/
Patchwork: https://patchwork.linux-mips.org/patch/17218/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/include/asm/mips-cm.h
arch/mips/include/asm/mips-cps.h
arch/mips/kernel/smp-cps.c
arch/mips/mti-malta/malta-setup.c
arch/mips/pci/pci-malta.c
arch/mips/ralink/mt7621.c