Skip to content

Hacks to allow booting ARM SMP kernel on UP ARMv7

Tony Lindgren linux-arm-kernel linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: Add SMP_ON_UP Kconfig option for booting SMP kernel on UParch/arm/Kconfig arch/arm/include/asm/cacheflush.h arch/arm/include/asm/proc-fns.h +1 more+27 -00 replies
2/4ARM: Allow optional UP processor functions for SMP kernelsarch/arm/include/asm/procinfo.h arch/arm/include/asm/smp_plat.h arch/arm/kernel/setup.c +1 more+71 -91 reply
2/4ARM: Allow optional UP processor functions for SMP kernels+0 -00 replies
3/4ARM: Set separate proc-v7 functions for SMParch/arm/include/asm/tlbflush.h arch/arm/mm/cache-v7.S arch/arm/mm/proc-v7.S +1 more+188 -100 replies
4/4omap: Fix SMP on UP interrupt handling for multi-omaparch/arm/mach-omap2/include/mach/entry-macro.S arch/arm/mach-omap2/omap-smp.c arch/arm/mach-omap2/timer-gp.c+39 -61 reply
4/4omap: Fix SMP on UP interrupt handling for multi-omap+0 -01 reply
4/4omap: Fix SMP on UP interrupt handling for multi-omap+0 -01 reply
4/4omap: Fix SMP on UP interrupt handling for multi-omap+0 -00 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSantosh ShilimkarCatalin Marinas
SeriesA-b A-b
1/4
2/4
2/4
3/4
4/4
4/4
4/4
4/4

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/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

Hi all,

Here are some experimental patches to allow booting ARMv7 SMP kernel on UP to some extent. Posting these early in case it is of any help as I know at least Bryan Wu is working on similar issues.

The patches are very much work in progress, and does not quite boot to init yet so there's all kinds of things to fix. But at least these patches allow booting to the point where the fixing issues might be a bit easier.. Currently it boots to the point where there are tons of "WARNING: at mm/percpu-vm.c:320 pcpu_alloc" prints.

I've only tested these on omap3 UP systems so far so YMMV. The patches are posted on top of v2.6.36-rc1 + omap-fixes branch. Also available in devel-smp-on-unicore branch in the linux-omap tree.

Cheers,

Tony

---

Tony Lindgren (4):
ARM: Add SMP_ON_UP Kconfig option for booting SMP kernel on UP
ARM: Allow optional UP processor functions for SMP kernels
ARM: Set separate proc-v7 functions for SMP
omap: Fix SMP on UP interrupt handling for multi-omap

 arch/arm/Kconfig                               |    7 ++
 arch/arm/include/asm/cacheflush.h              |    6 ++
 arch/arm/include/asm/proc-fns.h                |    8 ++
 arch/arm/include/asm/procinfo.h                |    6 ++
 arch/arm/include/asm/smp_plat.h                |    9 +++
 arch/arm/include/asm/tlbflush.h                |   16 ++++-
 arch/arm/kernel/setup.c                        |   45 ++++++++++++++
 arch/arm/mach-omap2/include/mach/entry-macro.S |   22 +++++++
 arch/arm/mach-omap2/omap-smp.c                 |   16 ++++-
 arch/arm/mach-omap2/timer-gp.c                 |    7 ++
 arch/arm/mm/cache-v7.S                         |   60 +++++++++++++++++++
 arch/arm/mm/mmu.c                              |   20 +++---
 arch/arm/mm/proc-v7.S                          |   77 ++++++++++++++++++++++--
 arch/arm/mm/tlb-v7.S                           |   51 ++++++++++++++++
 14 files changed, 325 insertions(+), 25 deletions(-)
Signature · 1 line
Signature