This patchset adds working Octeon Hotplug CPU. It has been tested on our 70xx and 78xx develpoment boards. The 70xx has 4 cores and the 78xx has 48 cores. This was also tested on an EdgerouterPRO, which has 2 cores. Changes in v4: - Rebased against v4.16-rc5 kernel. - Smaller patchset due to some previous patches going upstream. David Daney (2): MIPS: Octeon: Populate kernel memory from cvmx_bootmem named blocks. MIPS: Octeon: Add working hotplug CPU support. Steven J. Hill (5): MIPS: Octeon: Header and file cleaning. MIPS: Octeon: Update values for CVMX_CIU_FUSE register. MIPS: Octeon: Add Octeon III platforms for console output. MIPS: Octeon: Remove crufty KEXEC and CRASH_DUMP code. MIPS: Add the concept of BOOT_MEM_KERNEL to boot_mem_map. arch/mips/Kconfig | 2 +- .../cavium-octeon/executive/cvmx-helper-board.c | 2 +- .../cavium-octeon/executive/cvmx-helper-jtag.c | 1 + .../cavium-octeon/executive/cvmx-helper-rgmii.c | 1 + .../cavium-octeon/executive/cvmx-helper-sgmii.c | 1 + .../mips/cavium-octeon/executive/cvmx-helper-spi.c | 1 + .../cavium-octeon/executive/cvmx-helper-xaui.c | 1 + arch/mips/cavium-octeon/executive/cvmx-helper.c | 1 + arch/mips/cavium-octeon/executive/cvmx-pko.c | 1 + arch/mips/cavium-octeon/executive/cvmx-spi.c | 1 + arch/mips/cavium-octeon/executive/octeon-model.c | 53 ++++- arch/mips/cavium-octeon/octeon-platform.c | 1 + arch/mips/cavium-octeon/octeon_boot.h | 95 -------- arch/mips/cavium-octeon/setup.c | 246 +++++++-------------- arch/mips/cavium-octeon/smp.c | 236 ++++++-------------- arch/mips/include/asm/bootinfo.h | 1 + arch/mips/include/asm/mach-cavium-octeon/irq.h | 8 + .../asm/mach-cavium-octeon/kernel-entry-init.h | 58 ++++- arch/mips/include/asm/mipsregs.h | 1 + arch/mips/include/asm/octeon/cvmx-asm.h | 6 +- arch/mips/include/asm/octeon/cvmx-ciu-defs.h | 169 ++++++-------- arch/mips/include/asm/octeon/cvmx-coremask.h | 26 ++- arch/mips/include/asm/octeon/cvmx-sysinfo.h | 4 +- arch/mips/include/asm/octeon/cvmx.h | 32 +-- arch/mips/include/asm/octeon/octeon.h | 2 + arch/mips/kernel/setup.c | 30 ++- 26 files changed, 419 insertions(+), 561 deletions(-) delete mode 100644 arch/mips/cavium-octeon/octeon_boot.h -- 2.1.4