Skip to content

xtensa: s6000 & s6105

Johannes Weiner lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8xtensa: nommu supportarch/xtensa/include/asm/cacheflush.h arch/xtensa/include/asm/dma.h arch/xtensa/include/asm/io.h +16 more+169 -750 replies
2/8xtensa: variant-specific codearch/xtensa/Makefile arch/xtensa/variants/dc232b/Makefile arch/xtensa/variants/fsf/Makefile+5 -00 replies
3/8xtensa: variant irq set callbacksarch/xtensa/Kconfig arch/xtensa/include/asm/irq.h arch/xtensa/kernel/irq.c+24 -00 replies
4/8xtensa: s6000 variant core definitionsarch/xtensa/variants/s6000/include/variant/core.h arch/xtensa/variants/s6000/include/variant/tie-asm.h arch/xtensa/variants/s6000/include/variant/tie.h+926 -00 replies
5/8xtensa: s6000 variantarch/xtensa/Kconfig arch/xtensa/Makefile arch/xtensa/variants/s6000/Makefile +3 more+350 -00 replies
6/8xtensa: s6000 gpio driverarch/xtensa/Kconfig arch/xtensa/include/asm/gpio.h arch/xtensa/variants/s6000/Makefile +1 more+132 -10 replies
7/8xtensa: let platform override KERNELOFFSETarch/xtensa/kernel/vmlinux.lds.S+3 -00 replies
8/8xtensa: platform stretch s6105 eval boardarch/xtensa/Kconfig arch/xtensa/Makefile arch/xtensa/configs/s6105_defconfig +6 more+712 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 0/8] xtensa: s6000 & s6105

Hi,

here is the core series of our s6000 port.

First comes the nommu patch. Right now we use CONFIG_MMU for everything that separates the S6000 from existing ports, memorywise. This is a lot easier and can still be broken up by newer ports when they have requirements with finer granularity. Furthermore, we have only this one nommu box here, so we couldn't test an MMU architecture and therefor not say for sure we didn't break anything ;)

Then comes the core variant stuff. We are the first variant that needs to ship code files, so there is a prereq patch that allows that.

The inclusion of the GPIO driver is a bit arbitrary. It was the only one left after stripping out all real peripheral support because we initially used GPIO in platform_setup(). I send it now to have an example on variant-specific code and conceptual improvements can then be excercised on it.

The platform patch is fairly trivial. One more requirement is that our platform can define the kernel text offset. We can not use a fixed virtual address (nommu, remember? ;)) but have to provide a physical one that is within bounds of our actual RAM.

The diffstat looks a bit overwhelming, but note that most of it is the defconfig, the tensilica core definitions and address definitions where the core has registers mapped.

Hannes

 arch/xtensa/Kconfig                                |   15 +
 arch/xtensa/Makefile                               |    5 +
 arch/xtensa/configs/s6105_defconfig                |  530 ++++++++++++++++++++
 arch/xtensa/include/asm/cacheflush.h               |   10 +-
 arch/xtensa/include/asm/dma.h                      |    3 +-
 arch/xtensa/include/asm/gpio.h                     |   56 ++
 arch/xtensa/include/asm/io.h                       |    9 +-
 arch/xtensa/include/asm/irq.h                      |    7 +
 arch/xtensa/include/asm/mmu.h                      |    5 +
 arch/xtensa/include/asm/mmu_context.h              |    5 +
 arch/xtensa/include/asm/nommu.h                    |    3 +
 arch/xtensa/include/asm/nommu_context.h            |   25 +
 arch/xtensa/include/asm/page.h                     |    9 +-
 arch/xtensa/include/asm/pgtable.h                  |   13 +-
 arch/xtensa/include/asm/processor.h                |    6 +
 arch/xtensa/kernel/entry.S                         |    3 +-
 arch/xtensa/kernel/head.S                          |    3 +-
 arch/xtensa/kernel/irq.c                           |   14 +
 arch/xtensa/kernel/setup.c                         |    7 +
 arch/xtensa/kernel/traps.c                         |    2 +
 arch/xtensa/kernel/vectors.S                       |    4 +
 arch/xtensa/kernel/vmlinux.lds.S                   |    3 +
 arch/xtensa/mm/Makefile                            |    3 +-
 arch/xtensa/mm/init.c                              |   62 +---
 arch/xtensa/mm/misc.S                              |    2 +
 arch/xtensa/mm/mmu.c                               |   70 +++
 arch/xtensa/platforms/s6105/Makefile               |    3 +
 arch/xtensa/platforms/s6105/device.c               |   67 +++
 .../xtensa/platforms/s6105/include/platform/gpio.h |   27 +
 .../platforms/s6105/include/platform/hardware.h    |   11 +
 .../platforms/s6105/include/platform/serial.h      |    8 +
 arch/xtensa/platforms/s6105/setup.c                |   61 +++
 arch/xtensa/variants/dc232b/Makefile               |    1 +
 arch/xtensa/variants/fsf/Makefile                  |    1 +
 arch/xtensa/variants/s6000/Makefile                |    3 +
 arch/xtensa/variants/s6000/gpio.c                  |   71 +++
 arch/xtensa/variants/s6000/include/variant/core.h  |  431 ++++++++++++++++
 .../variants/s6000/include/variant/hardware.h      |  259 ++++++++++
 arch/xtensa/variants/s6000/include/variant/irq.h   |    9 +
 .../variants/s6000/include/variant/tie-asm.h       |  304 +++++++++++
 arch/xtensa/variants/s6000/include/variant/tie.h   |  191 +++++++
 arch/xtensa/variants/s6000/irq.c                   |   74 +++
 42 files changed, 2320 insertions(+), 75 deletions(-)