]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: OCTEON: Extend number of supported CPUs past 32
authorDavid Daney <david.daney@cavium.com>
Tue, 2 Feb 2016 01:46:54 +0000 (17:46 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 7 Mar 2016 10:49:55 +0000 (11:49 +0100)
commit870450fb373a421e4fada7503120bc10fa46fcb0
tree055670a99b0376829de427db30ba671bc2699b84
parentfd6a71b661ee4b63869e356045a464b9afd32734
MIPS: OCTEON: Extend number of supported CPUs past 32

To support more than 48 CPUs, the bootinfo structure grows a new
coremask structure.  Add the definition of the structure and add it to
struct cvmx_bootinfo.  In prom_init(), copy the new coremask data into
the sysinfo structure, and use it in smp_setup().

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12319/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/setup.c
arch/mips/cavium-octeon/smp.c
arch/mips/include/asm/octeon/cvmx-bootinfo.h
arch/mips/include/asm/octeon/cvmx-coremask.h [new file with mode: 0644]
arch/mips/include/asm/octeon/cvmx-sysinfo.h