]> git.baikalelectronics.ru Git - kernel.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>
Fri, 13 May 2016 12:01:39 +0000 (14:01 +0200)
commit7d52ab163c75bb830185f7ea12bae1db87f12b56
tree4c17ceae61fbbd110059570465b1e13d29e010fa
parent58546e3b735cc9f695bba1559be76a68b072761f
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