All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/21] Add Cavium OCTEON processor support (v5).
@ 2008-12-03 23:40 David Daney
  2008-12-03 23:44 ` [PATCH 01/21] MIPS: Add Cavium OCTEON processor CSR definitions David Daney
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: David Daney @ 2008-12-03 23:40 UTC (permalink / raw)
  To: linux-mips

This patch set introduces preliminary support for Cavium Networks'
OCTEON processor family.  More (but not detailed) information about
these processors may be obtained here:

http://www.caviumnetworks.com/OCTEON_MIPS64.html

These patches depend on the '[PATCH 0/4] serial: Patches for OCTEON
CPU support (version 2).' set that Alan Cox already has queued up.
They can be seen here:

http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=4934774E.6080805%40caviumnetworks.com

This initial patch set adds support for booting an initramfs to a
serial console.  Follow-on patch sets will add support for the on-chip
Compact Flash, ethernet, USB, PCI, PCIe, I2c and other peripherals.

With this fifth revision of the patches I think we have address all
the issues explicitly flagged as objectionable in the preceding
revisions.  The major change is reformatting of code and comments in
the first two patches of the set.  The only remaining checkpatch.pl
errors are due to that program's inability to handle MIPS assembly
language and inline asms.  Quite a bit of unused code was also
removed.

21 patches to follow as replies.

David Daney (21):
   MIPS: Add Cavium OCTEON processor CSR definitions
   MIPS: Add Cavium OCTEON processor support files to
     arch/mips/cavium-octeon/executive and asm/octeon.
   MIPS: Add Cavium OCTEON processor support files to
     arch/mips/cavium-octeon.
   MIPS: For Cavium OCTEON handle hazards as per the R10000 handling.
   MIPS: For Cavium OCTEON set hwrena and lazily restore CP2 state.
   MIPS: Add Cavium OCTEON specific register definitions to mipsregs.h
   MIPS: Override assembler target architecture for octeon.
   MIPS: Add Cavium OCTEON processor constants and CPU probe.
   MIPS: Hook Cavium OCTEON cache init into cache.c
   MIPS: Hook up Cavium OCTEON in arch/mips.
   MIPS: Modify core io.h macros to account for the Octeon Errata
     Core-301.
   MIPS: Add Cavium OCTEON cop2/cvmseg state entries to processor.h.
   MIPS: Add Cavium OCTEON specific registers to ptrace.h and
     asm-offsets.c
   MIPS: Add SMP_ICACHE_FLUSH for the Cavium CPU family.
   MIPS: Cavium OCTEON multiplier state preservation.
   MIPS: Add Cavium OCTEON irq hazard in asmmacro.h.
   MIPS:  Compute branch returns for Cavium OCTEON specific branch
     instructions.
   MIPS: Add Cavium OCTEON slot into proper tlb category.
   MIPS: Adjust the dma-common.c platform hooks.
   MIPS: Add defconfig for Cavium OCTEON.
   MIPS: Add Cavium OCTEON to arch/mips/Kconfig

  arch/mips/Kconfig                                  |   65 +-
  arch/mips/Makefile                                 |   16 +
  arch/mips/cavium-octeon/Kconfig                    |   85 +
  arch/mips/cavium-octeon/Makefile                   |   20 +
  arch/mips/cavium-octeon/dma-octeon.c               |   32 +
  arch/mips/cavium-octeon/executive/Makefile         |   13 +
  arch/mips/cavium-octeon/executive/cvmx-bootmem.c   |  586 ++++++
  arch/mips/cavium-octeon/executive/cvmx-l2c.c       |  734 +++++++
  arch/mips/cavium-octeon/executive/cvmx-sysinfo.c   |  116 ++
  arch/mips/cavium-octeon/executive/octeon-model.c   |  342 ++++
  arch/mips/cavium-octeon/flash_setup.c              |   84 +
  arch/mips/cavium-octeon/octeon-irq.c               |  498 +++++
  arch/mips/cavium-octeon/octeon-memcpy.S            |  521 +++++
  arch/mips/cavium-octeon/serial.c                   |  136 ++
  arch/mips/cavium-octeon/setup.c                    |  931 +++++++++
  arch/mips/cavium-octeon/smp.c                      |  216 +++
  arch/mips/configs/cavium-octeon_defconfig          |  943 +++++++++
  arch/mips/include/asm/asmmacro.h                   |   10 +
  arch/mips/include/asm/cpu-features.h               |    3 +
  arch/mips/include/asm/cpu.h                        |   14 +
  arch/mips/include/asm/hazards.h                    |    4 +-
  arch/mips/include/asm/io.h                         |   14 +
  .../asm/mach-cavium-octeon/cpu-feature-overrides.h |   58 +
  .../include/asm/mach-cavium-octeon/dma-coherence.h |   64 +
  arch/mips/include/asm/mach-cavium-octeon/irq.h     |  244 +++
  .../asm/mach-cavium-octeon/kernel-entry-init.h     |  137 ++
  arch/mips/include/asm/mach-cavium-octeon/war.h     |   26 +
  arch/mips/include/asm/mach-generic/dma-coherence.h |   26 +-
  arch/mips/include/asm/mach-ip27/dma-coherence.h    |   26 +-
  arch/mips/include/asm/mach-ip32/dma-coherence.h    |   26 +-
  arch/mips/include/asm/mach-jazz/dma-coherence.h    |   26 +-
  arch/mips/include/asm/mach-lemote/dma-coherence.h  |   26 +-
  arch/mips/include/asm/mipsregs.h                   |   22 +
  arch/mips/include/asm/module.h                     |    2 +
  arch/mips/include/asm/octeon/cvmx-asm.h            |  128 ++
  arch/mips/include/asm/octeon/cvmx-bootinfo.h       |  262 +++
  arch/mips/include/asm/octeon/cvmx-bootmem.h        |  288 +++
  arch/mips/include/asm/octeon/cvmx-ciu-defs.h       | 1616 ++++++++++++++++
  arch/mips/include/asm/octeon/cvmx-gpio-defs.h      |  219 +++
  arch/mips/include/asm/octeon/cvmx-iob-defs.h       |  530 ++++++
  arch/mips/include/asm/octeon/cvmx-ipd-defs.h       |  877 +++++++++
  arch/mips/include/asm/octeon/cvmx-l2c-defs.h       |  963 ++++++++++
  arch/mips/include/asm/octeon/cvmx-l2c.h            |  325 ++++
  arch/mips/include/asm/octeon/cvmx-l2d-defs.h       |  369 ++++
  arch/mips/include/asm/octeon/cvmx-l2t-defs.h       |  141 ++
  arch/mips/include/asm/octeon/cvmx-led-defs.h       |  240 +++
  arch/mips/include/asm/octeon/cvmx-mio-defs.h       | 2004 
++++++++++++++++++++
  arch/mips/include/asm/octeon/cvmx-packet.h         |   61 +
  arch/mips/include/asm/octeon/cvmx-platform.h       |   56 +
  arch/mips/include/asm/octeon/cvmx-pow-defs.h       |  698 +++++++
  arch/mips/include/asm/octeon/cvmx-spinlock.h       |  232 +++
  arch/mips/include/asm/octeon/cvmx-sysinfo.h        |  152 ++
  arch/mips/include/asm/octeon/cvmx.h                |  503 +++++
  arch/mips/include/asm/octeon/octeon-feature.h      |  119 ++
  arch/mips/include/asm/octeon/octeon-model.h        |  276 +++
  arch/mips/include/asm/octeon/octeon.h              |  246 +++
  arch/mips/include/asm/processor.h                  |   69 +
  arch/mips/include/asm/ptrace.h                     |    4 +
  arch/mips/include/asm/smp.h                        |    3 +
  arch/mips/include/asm/stackframe.h                 |   17 +
  arch/mips/kernel/Makefile                          |    1 +
  arch/mips/kernel/asm-offsets.c                     |   31 +
  arch/mips/kernel/branch.c                          |   33 +
  arch/mips/kernel/cpu-probe.c                       |   25 +
  arch/mips/kernel/genex.S                           |    4 +
  arch/mips/kernel/octeon_switch.S                   |  506 +++++
  arch/mips/kernel/traps.c                           |   21 +
  arch/mips/lib/Makefile                             |    1 +
  arch/mips/mm/Makefile                              |    1 +
  arch/mips/mm/c-octeon.c                            |  307 +++
  arch/mips/mm/cache.c                               |    6 +
  arch/mips/mm/cex-oct.S                             |   70 +
  arch/mips/mm/dma-default.c                         |   24 +-
  arch/mips/mm/tlbex.c                               |    1 +
  74 files changed, 17473 insertions(+), 22 deletions(-)
  create mode 100644 arch/mips/cavium-octeon/Kconfig
  create mode 100644 arch/mips/cavium-octeon/Makefile
  create mode 100644 arch/mips/cavium-octeon/dma-octeon.c
  create mode 100644 arch/mips/cavium-octeon/executive/Makefile
  create mode 100644 arch/mips/cavium-octeon/executive/cvmx-bootmem.c
  create mode 100644 arch/mips/cavium-octeon/executive/cvmx-l2c.c
  create mode 100644 arch/mips/cavium-octeon/executive/cvmx-sysinfo.c
  create mode 100644 arch/mips/cavium-octeon/executive/octeon-model.c
  create mode 100644 arch/mips/cavium-octeon/flash_setup.c
  create mode 100644 arch/mips/cavium-octeon/octeon-irq.c
  create mode 100644 arch/mips/cavium-octeon/octeon-memcpy.S
  create mode 100644 arch/mips/cavium-octeon/serial.c
  create mode 100644 arch/mips/cavium-octeon/setup.c
  create mode 100644 arch/mips/cavium-octeon/smp.c
  create mode 100644 arch/mips/configs/cavium-octeon_defconfig
  create mode 100644 
arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
  create mode 100644 
arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h
  create mode 100644 arch/mips/include/asm/mach-cavium-octeon/irq.h
  create mode 100644 
arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h
  create mode 100644 arch/mips/include/asm/mach-cavium-octeon/war.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-asm.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-bootinfo.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-bootmem.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-ciu-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-gpio-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-iob-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-ipd-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-l2c-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-l2c.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-l2d-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-l2t-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-led-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-mio-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-packet.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-platform.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-pow-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-spinlock.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-sysinfo.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx.h
  create mode 100644 arch/mips/include/asm/octeon/octeon-feature.h
  create mode 100644 arch/mips/include/asm/octeon/octeon-model.h
  create mode 100644 arch/mips/include/asm/octeon/octeon.h
  create mode 100644 arch/mips/kernel/octeon_switch.S
  create mode 100644 arch/mips/mm/c-octeon.c
  create mode 100644 arch/mips/mm/cex-oct.S

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2008-12-03 23:53 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03 23:40 [PATCH 00/21] Add Cavium OCTEON processor support (v5) David Daney
2008-12-03 23:44 ` [PATCH 01/21] MIPS: Add Cavium OCTEON processor CSR definitions David Daney
2008-12-03 23:44 ` [PATCH 02/21] MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon/executive and asm/octeon David Daney
2008-12-03 23:44 ` [PATCH 03/21] MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon David Daney
2008-12-03 23:44 ` [PATCH 04/21] MIPS: For Cavium OCTEON handle hazards as per the R10000 handling David Daney
2008-12-03 23:44 ` [PATCH 05/21] MIPS: For Cavium OCTEON set hwrena and lazily restore CP2 state David Daney
2008-12-03 23:44 ` [PATCH 06/21] MIPS: Add Cavium OCTEON specific register definitions to mipsregs.h David Daney
2008-12-03 23:44 ` [PATCH 07/21] MIPS: Override assembler target architecture for octeon David Daney
2008-12-03 23:44 ` [PATCH 08/21] MIPS: Add Cavium OCTEON processor constants and CPU probe David Daney
2008-12-03 23:44 ` [PATCH 09/21] MIPS: Hook Cavium OCTEON cache init into cache.c David Daney
2008-12-03 23:44 ` [PATCH 10/21] MIPS: Hook up Cavium OCTEON in arch/mips David Daney
2008-12-03 23:44 ` [PATCH 11/21] MIPS: Modify core io.h macros to account for the Octeon Errata Core-301 David Daney
2008-12-03 23:44 ` [PATCH 12/21] MIPS: Add Cavium OCTEON cop2/cvmseg state entries to processor.h David Daney
2008-12-03 23:44 ` [PATCH 13/21] MIPS: Add Cavium OCTEON specific registers to ptrace.h and asm-offsets.c David Daney
2008-12-03 23:44 ` [PATCH 14/21] MIPS: Add SMP_ICACHE_FLUSH for the Cavium CPU family David Daney
2008-12-03 23:44 ` [PATCH 15/21] MIPS: Cavium OCTEON multiplier state preservation David Daney
2008-12-03 23:44 ` [PATCH 16/21] MIPS: Add Cavium OCTEON irq hazard in asmmacro.h David Daney
2008-12-03 23:44 ` [PATCH 17/21] MIPS: Compute branch returns for Cavium OCTEON specific branch instructions David Daney
2008-12-03 23:44 ` [PATCH 18/21] MIPS: Add Cavium OCTEON slot into proper tlb category David Daney
2008-12-03 23:44 ` [PATCH 19/21] MIPS: Adjust the dma-common.c platform hooks David Daney
2008-12-03 23:44 ` [PATCH 20/21] MIPS: Add defconfig for Cavium OCTEON David Daney
2008-12-03 23:44 ` [PATCH 21/21] MIPS: Add Cavium OCTEON to arch/mips/Kconfig David Daney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.