1. 24 11月, 2014 15 次提交
  2. 24 10月, 2014 1 次提交
  3. 22 9月, 2014 4 次提交
    • Z
      MIPS: DMA: Add cma support · f4649382
      Zubair Lutfullah Kakakhel 提交于
      Adds cma support to the MIPS architecture.
      
      cma uses memblock. However, mips uses bootmem.
      bootmem is informed about any regions reserved by memblock
      
      dma api is modified to use cma reserved memory regions when available
      
      Tested using cma_test. cma_test is a simple driver that assigns blocks
      of memory from cma reserved sections.
      Signed-off-by: NZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
      Acked-by: NMichal Nazarewicz <mina86@mina86.com>
      Cc: catalin.marinas@arm.com
      Cc: will.deacon@arm.com
      Cc: tglx@linutronix.de
      Cc: mingo@redhat.com
      Cc: hpa@zytor.com
      Cc: arnd@arndb.de
      Cc: gregkh@linuxfoundation.org
      Cc: m.szyprowski@samsung.com
      Cc: x86@kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Cc: linux-arch@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/7360/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f4649382
    • A
      MIPS: sead3: Move device-trees to arch/mips/boot/dts/ · f262b5f2
      Andrew Bresticker 提交于
      Move the SEAD-3 device-tree to arch/mips/boot/dts/ and update the
      Makefiles accordingly.  Since SEAD-3 requires the device-tree to be
      built into the kernel, select BUILTIN_DTB when building for SEAD-3.
      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/7555/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f262b5f2
    • 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
    • A
      MIPS: Create common infrastructure for building built-in device-trees · 7fafb068
      Andrew Bresticker 提交于
      In preparation for moving the device-trees to a common location,
      introduce the config option BUILTIN_DTB, which can be selected by
      platforms that use a device-tree built into the kernel image, and
      create a Makefile to build the device-trees in arch/mips/boot/dts/.
      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/7564/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      7fafb068
  4. 30 8月, 2014 1 次提交
  5. 26 8月, 2014 2 次提交
  6. 09 8月, 2014 1 次提交
    • V
      kexec: load and relocate purgatory at kernel load time · 12db5562
      Vivek Goyal 提交于
      Load purgatory code in RAM and relocate it based on the location.
      Relocation code has been inspired by module relocation code and purgatory
      relocation code in kexec-tools.
      
      Also compute the checksums of loaded kexec segments and store them in
      purgatory.
      
      Arch independent code provides this functionality so that arch dependent
      bootloaders can make use of it.
      
      Helper functions are provided to get/set symbol values in purgatory which
      are used by bootloaders later to set things like stack and entry point of
      second kernel etc.
      Signed-off-by: NVivek Goyal <vgoyal@redhat.com>
      Cc: Borislav Petkov <bp@suse.de>
      Cc: Michael Kerrisk <mtk.manpages@gmail.com>
      Cc: Yinghai Lu <yinghai@kernel.org>
      Cc: Eric Biederman <ebiederm@xmission.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Matthew Garrett <mjg59@srcf.ucam.org>
      Cc: Greg Kroah-Hartman <greg@kroah.com>
      Cc: Dave Young <dyoung@redhat.com>
      Cc: WANG Chao <chaowang@redhat.com>
      Cc: Baoquan He <bhe@redhat.com>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      12db5562
  7. 02 8月, 2014 2 次提交
  8. 31 7月, 2014 2 次提交
  9. 30 7月, 2014 2 次提交
    • J
      MIPS: BCM63xx: Sync MIPS counters during CPU bringup · fc264022
      Jonas Gorski 提交于
      We are using the mips counters as the clock source, so we need to ensure
      they are synced, else e.g. gettimeofday will return different values
      depending on which core it was run.
      
      Observed difference was about 8 seconds, causing ~8 seconds ping or time
      running backwards for some programs.
      Signed-off-by: NJonas Gorski <jogo@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Maxime Bizon <mbizon@freebox.fr>
      Cc: Florian Fainelli <florian@openwrt.org>
      Cc: Kevin Cernekee <cernekee@gmail.com>
      Patchwork: https://patchwork.linux-mips.org/patch/7265/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      fc264022
    • M
      MIPS: Alchemy: clock framework integration of onchip clocks · 47440229
      Manuel Lauss 提交于
      This patch introduces common clock framework integration for all
      configurable on-chip clocks on Alchemy chips:
      
      - 2 or 3 PLLs which generate integer multiples of the root rate 12MHz,
      - 6 dividers which take one of the 3 PLLs as input and divide their
        rate by either multiples of 2 or 1 (Au1300).
      - another bank of up to 6 muxes which take either one of the 6
        above dividers or one of the PLLs directly and divide their rate
        further by 1, 2, 3 or 4.
      - a few other sources which are used by onchip peripherals and are
        informational.
      
      This implementation will take the clock tree as it was set up
      by boot firmware: all in-kernel boards should continue to work
      without having to set up the clock tree in board code.
      
      CLK_IGNORE_DISABLED will be removed once all drivers have been
      converted.
      Signed-off-by: NManuel Lauss <manuel.lauss@gmail.com>
      Cc: Mike Turquette <mturquette@linaro.org>
      Cc: Linux-MIPS <linux-mips@linux-mips.org>
      Patchwork: https://patchwork.linux-mips.org/patch/7466/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      47440229
  10. 19 7月, 2014 1 次提交
  11. 26 6月, 2014 1 次提交
    • R
      MIPS: Lasat: Fix build error if CRC32 is not enabled. · 16f0bbbc
      Ralf Baechle 提交于
      Kconfig doesn't select CRC32 so it's possible to build a Lasat kernel
      without CONFIG_CRC32 resulting in a build error:
      
        LD      vmlinux
      arch/mips/built-in.o: In function `lasat_init_board_info':
      (.text+0x22c): undefined reference to `crc32_le'
      arch/mips/built-in.o: In function `lasat_write_eeprom_info':
      (.text+0x7fc): undefined reference to `crc32_le'
      make: *** [vmlinux] Error 1
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      16f0bbbc
  12. 02 6月, 2014 2 次提交
  13. 31 5月, 2014 3 次提交
  14. 30 5月, 2014 3 次提交