Skip to content

RFC first batch of leon adaptions

Sam Ravnborg sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sparc32: whitespace cleanup in head_32.Sarch/sparc/kernel/head_32.S+12 -121 reply
2/5sparc32: implement proper LEON support in head_32 (before highmem)arch/sparc/include/asm/psr.h arch/sparc/kernel/head_32.S+50 -92 replies
3/5sparc32: implement proper LEON support in head_32 (after highmem)arch/sparc/kernel/head_32.S+16 -21 reply
4/5sparc32: handle leon in cpu.carch/sparc/include/asm/psr.h arch/sparc/kernel/cpu.c+10 -91 reply
5/5sparc32: handle leon in irq_32.carch/sparc/kernel/irq_32.c+12 -101 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] first batch of leon adaptions

I wanted feedback on the changes in head_32.S and decided to send out what I considered ready for now.

This set does not yet include the run-time patching as discussed the other day.
I decided to postpone this until next batch as I have not prepared any users of it yet.

But again - main point here is feedback
on the head_32.S changes as I do not feel too familiar with SPARC assembler just yet.

At least it boots on my ss5 box :-)

I am btw. utterly confused by the handling of secondary cpus for leon.
For some reason there is a direct call to
leon_smp_cpu_startup: in trampoline_32.S.

But sun4m does not need such a trick.

Sam

Sam Ravnborg (5):
sparc32: whitespace cleanup in head_32.S
sparc32: implement proper LEON support in head_32 (before highmem)
sparc32: implement proper LEON support in head_32 (after highmem)
sparc32: handle leon in cpu.c
sparc32: handle leon in irq_32.c

 arch/sparc/include/asm/psr.h |    6 +++
 arch/sparc/kernel/cpu.c      |   18 ++++----
 arch/sparc/kernel/head_32.S  |   96 ++++++++++++++++++++++++++++++++----------
 arch/sparc/kernel/irq_32.c   |   22 +++++----
 4 files changed, 100 insertions(+), 42 deletions(-)