1. 22 9月, 2014 1 次提交
    • A
      MIPS: Octeon: Move device-trees to arch/mips/boot/dts/ · e326479f
      Andrew Bresticker 提交于
      Move the Octeon device-trees to arch/mips/boot/dts/ and update the
      Makefiles accordingly.  Since Octeon requires the device-tree to be
      built into the kernel, select BUILTIN_DTB as well.
      Signed-off-by: NAndrew Bresticker <abrestic@chromium.org>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Kumar Gala <galak@codeaurora.org>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Paul Burton <paul.burton@imgtec.com>
      Cc: David Daney <david.daney@cavium.com>
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Jayachandran C <jchandra@broadcom.com>
      Cc: Qais Yousef <qais.yousef@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: linux-kernel@vger.kernel.org
      Cc: devicetree@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/7556/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      e326479f
  2. 01 7月, 2013 1 次提交
  3. 20 6月, 2013 1 次提交
  4. 16 2月, 2013 1 次提交
  5. 01 2月, 2013 1 次提交
  6. 01 12月, 2012 1 次提交
    • S
      kbuild: centralize .dts->.dtb rule · 90b335fb
      Stephen Warren 提交于
      All architectures that use cmd_dtc do so in almost the same way. Create
      a central build rule to avoid duplication. The one difference is that
      most current uses of dtc build $(obj)/%.dtb from $(src)/dts/%.dts rather
      than building the .dtb in the same directory as the .dts file. This
      difference will be eliminated arch-by-arch in future patches.
      
      MIPS is the exception here; it already uses the exact same rule as the
      new common rule, so the duplicate is removed in this patch to avoid any
      conflict. arch/mips changes courtesy of Ralf Baechle.
      
      Update Documentation/kbuild to remove the explicit call to cmd_dtc from
      the example, now that the rule exists in a centralized location.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: Olof Johansson <olof@lixom.net>
      Cc: Russell King <linux@arm.linux.org.uk>
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: linux@lists.openrisc.net
      Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
      Cc: linux-c6x-dev@linux-c6x.org
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: microblaze-uclinux@itee.uq.edu.au
      Cc: Chris Zankel <chris@zankel.net>
      Cc: linux-xtensa@linux-xtensa.org
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      90b335fb
  7. 23 7月, 2012 2 次提交
    • D
      MIPS: Octeon: Initialize and fixup device tree. · 7ed18152
      David Daney 提交于
      If a compiled in device tree template is used, trim out unwanted parts
      based on legacy platform probing.
      Signed-off-by: NDavid Daney <david.daney@cavium.com>
      Cc: linux-mips@linux-mips.org
      Cc: devicetree-discuss@lists.ozlabs.org
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: linux-kernel@vger.kernel.org
      Cc: David Daney <david.daney@cavium.com>
      Patchwork: https://patchwork.linux-mips.org/patch/3935/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      7ed18152
    • D
      MIPS: Octeon: Add device tree source files. · 736b1c9c
      David Daney 提交于
      The two device tree files octeon_3xxx.dts and octeon_68xx.dts are
      trimmed by code in a subsequent patch to reflect the hardware actually
      present on the board.  To this end several properties that are not
      part of the declared bindings are added to aid in trimming off
      unwanted nodes.  Since the device tree and the code that trims it are
      bound into the kernel binary, these 'marker' properties never escape
      into the wild, and are purely an implementation detail of the kernel
      early boot process.  This is done for backwards compatibility with
      existing boards (identified by a board type enumeration value by their
      bootloaders).  New boards will always pass a device tree from the
      bootloader, the built-in trees are ignored in this case.
      Signed-off-by: NDavid Daney <david.daney@cavium.com>
      Cc: linux-mips@linux-mips.org
      Cc: devicetree-discuss@lists.ozlabs.org
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: linux-kernel@vger.kernel.org
      Cc: David Daney <david.daney@cavium.com>
      Patchwork: https://patchwork.linux-mips.org/patch/3937/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      736b1c9c
  8. 05 8月, 2010 1 次提交
  9. 17 12月, 2009 1 次提交
  10. 18 9月, 2009 1 次提交
  11. 03 7月, 2009 1 次提交
  12. 17 6月, 2009 1 次提交
  13. 30 3月, 2009 1 次提交
  14. 11 1月, 2009 2 次提交
    • D
      MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon. · 5b3b1688
      David Daney 提交于
      These are the rest of the new files needed to add OCTEON processor
      support to the Linux kernel.  Other than Makefile and Kconfig which
      should be obvious, we have:
      
      csrc-octeon.c   -- Clock source driver for OCTEON.
      dma-octeon.c    -- Helper functions for mapping DMA memory.
      flash_setup.c   -- Register on-board flash with the MTD subsystem.
      octeon-irq.c    -- OCTEON interrupt controller managment.
      octeon-memcpy.S -- Optimized memcpy() implementation.
      serial.c        -- Register 8250 platform driver and early console.
      setup.c         -- Early architecture initialization.
      smp.c           -- OCTEON SMP support.
      octeon_switch.S -- Scheduler context switch for OCTEON.
      c-octeon.c      -- OCTEON cache controller support.
      cex-oct.S       -- OCTEON cache exception handler.
      
      asm/mach-cavium-octeon/*.h -- Architecture include files.
      Signed-off-by: NTomaso Paoletti <tpaoletti@caviumnetworks.com>
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      
       create mode 100644 arch/mips/cavium-octeon/Kconfig
       create mode 100644 arch/mips/cavium-octeon/Makefile
       create mode 100644 arch/mips/cavium-octeon/csrc-octeon.c
       create mode 100644 arch/mips/cavium-octeon/dma-octeon.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/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/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
      5b3b1688
    • D
      MIPS: Add Cavium OCTEON processor support files to... · 58f07778
      David Daney 提交于
      MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon/executive and asm/octeon.
      
      These files are used to coordinate resource sharing between all of
      the programs running on the OCTEON SOC.  The OCTEON processor has many
      CPU cores (current parts have up to 16, but more are possible).  It
      also has a variety of on-chip hardware blocks for things like network
      acceleration, encryption and RAID.
      
      One typical configuration is to run Linux on several of the CPU cores,
      and other dedicated applications on the other cores.
      
      Resource allocation between the various programs running on the system
      (Linux kernel and other dedicated applications) needs to be
      coordinated.  The code we use to do this we call the 'executive'.  All
      of this resource allocation and sharing code is gathered together in
      the executive directory.
      
      Included in the patch set are the following files:
      
      cvmx-bootmem.c and cvmx-sysinfo.c -- Coordinate memory allocation.
      All memory used by the Linux kernel is obtained here at boot time.
      
      cvmx-l2c.c -- Coordinates operations on the shared level 2 cache.
      
      octeon-model.c  -- Probes chip capabilities and version.
      
      The corresponding headers are in asm/octeon.
      Signed-off-by: NTomaso Paoletti <tpaoletti@caviumnetworks.com>
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      
       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/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-l2c.h
       create mode 100644 arch/mips/include/asm/octeon/cvmx-packet.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
      58f07778