Skip to content

sparc32: boot_cpu_id patches

Daniel Hellstrom sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sparc32: always define boot_cpu_idarch/sparc/include/asm/setup.h arch/sparc/kernel/head_32.S arch/sparc/kernel/setup_32.c +2 more+35 -141 reply
2/3sparc32,leon: operate on boot-cpu IRQ controller registersarch/sparc/kernel/head_32.S arch/sparc/kernel/leon_kernel.c arch/sparc/kernel/leon_smp.c+21 -251 reply
3/3sparc32,leon: don't rely on bootloader to mask IRQsarch/sparc/kernel/leon_kernel.c arch/sparc/kernel/leon_smp.c+7 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchSam Ravnborg
1/3A-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] sparc32: boot_cpu_id patches

Hello,

The LEON patches in this series must be applied after the genirq patches [2..7] previously sent.

It adds support for LEON to boot on a CPU other than CPU0 on single-processor linux kernels. I have tried to clean up the boot_cpu_id initialization and move it to the DATA section and at the same time use the value to determine if it is the first CPU booting in the LEON case.

Happy easter everyone,
Daniel

---
 arch/sparc/include/asm/setup.h  |   12 +++++++++
 arch/sparc/kernel/head_32.S     |   51 
+++++++++++++++++++++-----------------
 arch/sparc/kernel/leon_kernel.c |   21 +++++++++-------
 arch/sparc/kernel/leon_smp.c    |    5 +++-
 arch/sparc/kernel/setup_32.c    |    4 +++
 arch/sparc/kernel/smp_32.c      |    2 -
 arch/sparc/kernel/sun4d_irq.c   |    5 +--
 7 files changed, 62 insertions(+), 38 deletions(-)