An error occurred fetching the project authors.
  1. 12 Apr, 2017 1 commit
  2. 16 Mar, 2016 1 commit
  3. 12 Nov, 2015 1 commit
  4. 11 Nov, 2015 8 commits
    • Zubair Lutfullah Kakakhel's avatar
      MIPS: xilfpga: Add mipsfpga platform code · 9937f5ff
      Zubair Lutfullah Kakakhel authored
      The xilfpga platform will be DT only.
      
      Add required platform code.
      DT files have already been added separately.
      Signed-off-by: default avatarZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
      Cc: robh+dt@kernel.org
      Cc: linux-mips@linux-mips.org
      Cc: linux-kernel@vger.kernel.org
      Cc: devicetree@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/11364/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      9937f5ff
    • Jonas Gorski's avatar
      MIPS: Make MIPS_CMDLINE_DTB default · 2bcef9b4
      Jonas Gorski authored
      Seval of-enabled machines (bmips, lantiq, xlp, pistachio, ralink) copied
      the arguments from dtb to arcs_command_line to prevent the kernel from
      overwriting them.
      
      Since there is now an option to keep the dtb arguments, default to the
      new option remove the "backup" to arcs_command_line in case of USE_OF is
      enabled, except for those platforms that still take the bootloader
      arguments or do not use any at all.
      Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Cc: Kevin Cernekee <cernekee@gmail.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Ganesan Ramalingam <ganesanr@broadcom.com>
      Cc: Jayachandran C <jchandra@broadcom.com>
      Cc: Andrew Bresticker <abrestic@chromium.org>
      Cc: James Hartley <james.hartley@imgtec.com>
      Patchwork: https://patchwork.linux-mips.org/patch/11285/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      2bcef9b4
    • Jonas Gorski's avatar
      MIPS: Make the kernel arguments from dtb available · 2024972e
      Jonas Gorski authored
      Similar to how arm allows using selecting between bootloader arguments,
      dtb arguments and both, allow to select them on mips. But since we have
      less control over the place of the dtb do not modify it but instead use
      the boot_command_line for merging them.
      
      The default is "use bootloader arguments" to keep the current behaviour
      as default.
      Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Cc: Kevin Cernekee <cernekee@gmail.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Ganesan Ramalingam <ganesanr@broadcom.com>
      Cc: Jayachandran C <jchandra@broadcom.com>
      Cc: Andrew Bresticker <abrestic@chromium.org>
      Cc: James Hartley <james.hartley@imgtec.com>
      Patchwork: https://patchwork.linux-mips.org/patch/11284/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      2024972e
    • Jonas Gorski's avatar
      MIPS: Use USE_OF as the guard for appended dtb · 5b24d52c
      Jonas Gorski authored
      Since OF is now a user selectable symbol, the choice for appended dtb
      support should only be visible when USE_OF is selected, as this
      indicates actual machine support for device tree in MIPS.
      Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Cc: Kevin Cernekee <cernekee@gmail.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Ganesan Ramalingam <ganesanr@broadcom.com>
      Cc: Jayachandran C <jchandra@broadcom.com>
      Cc: Andrew Bresticker <abrestic@chromium.org>
      Cc: James Hartley <james.hartley@imgtec.com>
      Patchwork: https://patchwork.linux-mips.org/patch/11283/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      5b24d52c
    • Aaro Koskinen's avatar
      MIPS: Add LATENCYTOP support · e1e16115
      Aaro Koskinen authored
      Add LATENCYTOP support for MIPS. Tested on OCTEON.
      Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/11353/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      e1e16115
    • Alex Smith's avatar
      MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() · a7f4df4e
      Alex Smith authored
      Add user-mode implementations of gettimeofday() and clock_gettime() to
      the VDSO. This is currently usable with 2 clocksources: the CP0 count
      register, which is accessible to user-mode via RDHWR on R2 and later
      cores, or the MIPS Global Interrupt Controller (GIC) timer, which
      provides a "user-mode visible" section containing a mirror of its
      counter registers. This section must be mapped into user memory, which
      is done below the VDSO data page.
      
      When a supported clocksource is not in use, the VDSO functions will
      return -ENOSYS, which causes libc to fall back on the standard syscall
      path.
      
      When support for neither of these clocksources is compiled into the
      kernel at all, the VDSO still provides clock_gettime(), as the coarse
      realtime/monotonic clocks can still be implemented. However,
      gettimeofday() is not provided in this case as nothing can be done
      without a suitable clocksource. This causes the symbol lookup to fail
      in libc and it will then always use the standard syscall path.
      
      This patch includes a workaround for a bug in QEMU which results in
      RDHWR on the CP0 count register always returning a constant (incorrect)
      value. A fix for this has been submitted, and the workaround can be
      removed after the fix has been in stable releases for a reasonable
      amount of time.
      
      A simple performance test which calls gettimeofday() 1000 times in a
      loop and calculates the average execution time gives the following
      results on a Malta + I6400 (running at 20MHz):
      
       - Syscall:    ~31000 ns
       - VDSO (GIC): ~15000 ns
       - VDSO (CP0): ~9500 ns
      
      [markos.chandras@imgtec.com:
      - Minor code re-arrangements in order for mappings to be made
      in the order they appear to the process' address space.
      - Move do_{monotonic, realtime} outside of the MIPS_CLOCK_VSYSCALL ifdef
      - Use gic_get_usm_range so we can do the GIC mapping in the
      arch/mips/kernel/vdso instead of the GIC irqchip driver]
      Signed-off-by: default avatarAlex Smith <alex.smith@imgtec.com>
      Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/11338/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      a7f4df4e
    • Paul Burton's avatar
      MIPS: Malta: Register UP SMP ops if all else fails · ecafe3e9
      Paul Burton authored
      If we fail to register any real SMP implementations, fall back to
      registering the dummy UP implementation. Otherwise when we build an SMP
      kernel & run it on a system where the SMP implementations fail to probe
      (eg. QEMU) the kernel will perform a NULL dereference attempting to call
      mp_ops->smp_setup() from plat_smp_setup().
      
      Notably this fixes booting kernels with CPS SMP enabled on QEMU, which
      doesn't currently implement the CM, CPC or GIC.
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: Peter Hurley <peter@hurleysoftware.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: linux-kernel@vger.kernel.org
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Patchwork: https://patchwork.linux-mips.org/patch/11223/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      ecafe3e9
    • Paul Burton's avatar
      MIPS: Malta: Setup RAM regions via DT · e81a8c7d
      Paul Burton authored
      Move memory configuration to be performed via device tree for the Malta
      board. This moves more Malta specific code to malta-dtshim.c, leaving
      the rest of the mti-malta code a little more board-agnostic. This will
      be useful to share more code between boards, with the device tree
      providing the board specifics as intended.
      
      Since we can't rely upon Malta boards running a bootloader capable of
      handling devictrees & filling in the required information, a piece of
      shim code (malta_dt_shim) is added to consume the (e)memsize variables
      provided as part of the bootloader environment (or on the kernel command
      line) then generate the DT memory node using the provided values.
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: devicetree@vger.kernel.org
      Cc: Kumar Gala <galak@codeaurora.org>
      Cc: linux-kernel@vger.kernel.org
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Patchwork: https://patchwork.linux-mips.org/patch/11222/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      e81a8c7d
  5. 26 Oct, 2015 2 commits
    • Paul Burton's avatar
      MIPS: Allow 24Hz timer frequency · 67596573
      Paul Burton authored
      A boundary exists beyond which the timer frequency becomes high enough
      that timer interrupts saturate the system and either cause it to slow to
      a crawl or stop functioning entirely. Where that boundary lies depends
      upon a number of factors such as the overhead of each interrupt and the
      overall speed of the CPU, but correlates strongly with the clock
      frequency at which the CPU runs. When running on emulators during
      bringup or debug of a CPU that clock frequency is very low, which
      results in the boundary at which the timer frequency becomes
      unsustainable being very low. The current minimum of 48Hz pushes against
      boundary in certain situations in current systems. Allow the kernel to
      be configured for a 24Hz timer frequency in order to avoid problems on
      such slow running systems.
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/11184/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      67596573
    • Ralf Baechle's avatar
      MIPS: Use ARCH_USE_BUILTIN_BSWAP. · 1ee3630a
      Ralf Baechle authored
      ARCH_USE_BUILTIN_BSWAP will use __builtin_bswap16(), __builtin_bswap32()
      and __builtin_bswap64() where available.  This allows better instruction
      scheduling.  On pre-R2 processors it will result in 32 bit and 64 bit
      swapping being performed in a call to a __bswapsi2() rsp. __bswapdi2()
      functions, so we add these, too.
      
      For a 4.2 kernel with GCC 4.9 this yields the following kernel sizes:
      
         text    data     bss     dec     hex filename
      3996071  155804   88992 4240867  40b5e3 vmlinux         ip22 baseline
      3985687  159900   88992 4234579  409d53 vmlinux         ip22 + bswap patch
      6913157  378552  251024 7542733  7317cd vmlinux         ip27 baseline
      6878581  378552  251024 7508157  7290bd vmlinux         ip27 + bswap patch
      5773777  268752  187424 6229953  5f0fc1 vmlinux         malta baseline
      5773401  268752  187424 6229577  5f0e49 vmlinux         malta + bswap patch
      
      Presumably the code size improvments yield better cache hit rate thus
      better performance compensating for the extra function call but this
      will still need to be benchmarked.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      1ee3630a
  6. 10 Sep, 2015 1 commit
    • Dave Young's avatar
      kexec: split kexec_load syscall from kexec core code · 2965faa5
      Dave Young authored
      There are two kexec load syscalls, kexec_load another and kexec_file_load.
       kexec_file_load has been splited as kernel/kexec_file.c.  In this patch I
      split kexec_load syscall code to kernel/kexec.c.
      
      And add a new kconfig option KEXEC_CORE, so we can disable kexec_load and
      use kexec_file_load only, or vice verse.
      
      The original requirement is from Ted Ts'o, he want kexec kernel signature
      being checked with CONFIG_KEXEC_VERIFY_SIG enabled.  But kexec-tools use
      kexec_load syscall can bypass the checking.
      
      Vivek Goyal proposed to create a common kconfig option so user can compile
      in only one syscall for loading kexec kernel.  KEXEC/KEXEC_FILE selects
      KEXEC_CORE so that old config files still work.
      
      Because there's general code need CONFIG_KEXEC_CORE, so I updated all the
      architecture Kconfig with a new option KEXEC_CORE, and let KEXEC selects
      KEXEC_CORE in arch Kconfig.  Also updated general kernel code with to
      kexec_load syscall.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: default avatarDave Young <dyoung@redhat.com>
      Cc: Eric W. Biederman <ebiederm@xmission.com>
      Cc: Vivek Goyal <vgoyal@redhat.com>
      Cc: Petr Tesarik <ptesarik@suse.cz>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Cc: Josh Boyer <jwboyer@fedoraproject.org>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2965faa5
  7. 03 Sep, 2015 9 commits
  8. 26 Aug, 2015 1 commit
  9. 04 Aug, 2015 1 commit
  10. 03 Aug, 2015 1 commit
  11. 31 Jul, 2015 1 commit
  12. 14 Jul, 2015 2 commits
    • Ralf Baechle's avatar
      MIPS: SB1: Remove support for Pass 1 parts. · dd0bc75e
      Ralf Baechle authored
      Pass 1 parts had a number of significant erratas and were only available
      in small numbers and under NDA.  Full support also required the use of a
      special toolchain that kept branches properly aligned.  These workarounds
      were never upstreamed and the only toolchain known to have them is
      Montavista's GCC 3.0-based toolchain which completly obsoleted if not
      useless these days.
      
      So now that automated testing has tripped over the user of the
      -msb1-pass1-workarounds option, rather than fixing it remove support for
      pass 1 parts.
      
      Probably nobody will notice.  I seem to own the last know pass 1 board
      and I haven't noticed another one in the wild in the past decade, at
      least.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      dd0bc75e
    • Paul Burton's avatar
      MIPS: Require O32 FP64 support for MIPS64 with O32 compat · 4e9d324d
      Paul Burton authored
      MIPS32r6 code requires FP64 (ie. FR=1) support. Building a kernel with
      support for MIPS32r6 binaries but without support for O32 with FP64 is
      therefore a problem which can lead to incorrectly executed userland.
      
      CONFIG_MIPS_O32_FP64_SUPPORT is already selected when the kernel is
      configured for MIPS32r6, but not when the kernel is configured for
      MIPS64r6 with O32 compat support. Select CONFIG_MIPS_O32_FP64_SUPPORT in
      such configurations to prevent building kernels which execute MIPS32r6
      userland incorrectly.
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Cc: <stable@vger.kernel.org> # v4.0-
      Cc: linux-mips@linux-mips.org
      Cc: Matthew Fortune <matthew.fortune@imgtec.com>
      Cc: stable@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/10674/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      4e9d324d
  13. 09 Jul, 2015 1 commit
  14. 21 Jun, 2015 10 commits
    • Rafał Miłecki's avatar
      MIPS: BCM47xx: Move NVRAM driver to the drivers/firmware/ · f6e734a8
      Rafał Miłecki authored
      After Broadcom switched from MIPS to ARM for their home routers we need
      to have NVRAM driver in some common place (not arch/mips/). As explained
      in Kconfig, this driver is responsible for parsing SoC configuration
      data that is passed to the kernel in flash from the bootloader firmware
      called "CFE".
      
      We were thinking about putting it in bus directory, however there are
      two possible buses for MIPS: drivers/ssb/ and drivers/bcma/. So this
      won't fit there and this is why I would like to move this driver to the
      drivers/firmware/.
      Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
      Reviewed-by: default avatarPaul Walmsley <paul@pwsan.com>
      Cc: linux-mips@linux-mips.org
      Cc: Hauke Mehrtens <hauke@hauke-m.de>
      Cc: Seiji Aguchi <seiji.aguchi@hds.com>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
      Cc: Mike Waychison <mikew@google.com>
      Cc: Roy Franz <roy.franz@linaro.org>
      Cc: Matt Fleming <matt.fleming@intel.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Patchwork: https://patchwork.linux-mips.org/patch/10544/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      f6e734a8
    • Paul Burton's avatar
      MIPS: Malta: Basic DT plumbing · e8823d26
      Paul Burton authored
      Build a DT for the Malta platform into the kernel, load it & probe
      devices from it. The DT is essentially empty at this point, devices
      will be added in further patches.
      
      [ralf@linux-mips.org: Fixed conflicts.]
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: devicetree@vger.kernel.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: Andrew Bresticker <abrestic@chromium.org>
      Cc: linux-kernel@vger.kernel.org
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Patchwork: http://patchwork.linux-mips.org/patch/10119/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      e8823d26
    • Ben Hutchings's avatar
      MIPS: Octeon: Set OHCI and EHCI MMIO byte order to match CPU · df115f3e
      Ben Hutchings authored
      The Octeon OHCI is now supported by the ohci-platform driver, and
      USB_OCTEON_OHCI is marked as deprecated.  However, it is currently
      still necessary to enable it in order to select
      USB_OHCI_BIG_ENDIAN_MMIO.  Make CPU_CAVIUM_OCTEON select that as well,
      so that USB_OCTEON_OHCI is really obsolete.
      
      The old ohci-octeon and ehci-octeon drivers also only enabled big-endian
      MMIO in case the CPU was big-endian.  Make the selections of
      USB_EHCI_BIG_ENDIAN_MMIO and USB_OHCI_BIG_ENDIAN_MMIO conditional, to
      match this.
      
      Fixes: 2193dda5 ("USB: host: Remove ehci-octeon and ohci-octeon drivers")
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: linux-mips@linux-mips.org
      Cc: David Daney <david.daney@cavium.com>
      Cc: Chandrakala Chavva <cchavva@caviumnetworks.com>
      Cc: Paul Martin <paul.martin@codethink.co.uk>
      Patchwork: https://patchwork.linux-mips.org/patch/10178/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      df115f3e
    • Jonas Gorski's avatar
      MIPS: Add support for vmlinuz.bin appended dtb · c0b4e101
      Jonas Gorski authored
      Add support for detecting a vmlinuz.bin appended dtb and overriding
      the boot arguments to match the UHI interface.
      
      To ensure _edata / __apendend_dtb points to the actual end of the
      binary, align the data section to 16 bytes instead of the address
      cursor.
      
      Due to ld.script not going through the preprocessor, we can't check
      for MIPS_ZBOOT_APPENDED_DTB being enabled, so always reserve space
      for it. It should have no consequences for booting without it enabled
      except 1 MiB more ram usage during the uncompressing stage.
      Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Cc: devicetree@vger.kernel.org
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Kevin Cernekee <cernekee@gmail.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Cc: Andrew Bresticker <abrestic@chromium.org>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Cc: Paul Burton <paul.burton@imgtec.com>
      Cc: James Hartley <James.Hartley@imgtec.com>
      Patchwork: https://patchwork.linux-mips.org/patch/9741/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      c0b4e101
    • Jonas Gorski's avatar
      MIPS: Add support for vmlinux.bin appended dtb · 1da8f179
      Jonas Gorski authored
      Add support for detecting a vmlinux.bin appended dtb and overriding
      the boot arguments to match the UHI interface.
      
      Due to the PERCPU section being empty for !SMP, but still modifying
      the current address by aligning it to the page size, do not define
      it for !SMP builds to allow __appended_dtb to still point to
      the actual end of the data.
      Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Cc: devicetree@vger.kernel.org
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Kevin Cernekee <cernekee@gmail.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Cc: Andrew Bresticker <abrestic@chromium.org>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Cc: Paul Burton <paul.burton@imgtec.com>
      Cc: James Hartley <James.Hartley@imgtec.com>
      Patchwork: https://patchwork.linux-mips.org/patch/9739/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      1da8f179
    • Alban Bedel's avatar
      MIPS: ath79: Add basic device tree support · 03c8c407
      Alban Bedel authored
      Add the bare minimum to load a device tree.
      Signed-off-by: default avatarAlban Bedel <albeu@free.fr>
      Cc: linux-mips@linux-mips.org
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      03c8c407
    • Huacai Chen's avatar
      MIPS: Loongson: Naming style cleanup and rework · 30ad29bb
      Huacai Chen authored
      Currently, code of Loongson-2/3 is under loongson directory and code of
      Loongson-1 is under loongson1 directory. Besides, there are Kconfig
      options such as MACH_LOONGSON and MACH_LOONGSON1. This naming style is
      very ugly and confusing. Since Loongson-2/3 are both 64-bit general-
      purpose CPU while Loongson-1 is 32-bit SoC, we rename both file names
      and Kconfig symbols from loongson/loongson1 to loongson64/loongson32.
      
      [ralf@linux-mips.org: Resolve a number of simple conflicts.]
      Signed-off-by: default avatarHuacai Chen <chenhc@lemote.com>
      Cc: Steven J. Hill <Steven.Hill@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: Fuxin Zhang <zhangfx@lemote.com>
      Cc: Zhangjin Wu <wuzhangjin@gmail.com>
      Cc: Kelvin Cheung <keguang.zhang@gmail.com>
      Patchwork: https://patchwork.linux-mips.org/patch/9790/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      30ad29bb
    • James Hogan's avatar
      MIPS: Malta: Select 32bit DMA zone for 64-bit kernels · abcc82b1
      James Hogan authored
      Enable the 32-bit DMA zone for 64-bit Malta kernels so that devices with
      32-bit coherent DMA masks aren't constrained to the low 16MB DMA zone,
      which can easily be exhausted when there is lots of static kernel data
      due to lock and RCU debugging.
      Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/9890/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      abcc82b1
    • Alban Bedel's avatar
      MIPS: ath79: Use the common clk API · 411520af
      Alban Bedel authored
      Make the code simpler and open the way for device tree clocks.
      
      [ralf@linux-mips.org: Resolved conflict with 2a552da6 (MIPS/IRQCHIP: Move
      irq_chip from arch/mips to drivers/irqchip.)]
      Signed-off-by: default avatarAlban Bedel <albeu@free.fr>
      Cc: linux-mips@linux-mips.org
      Cc: Andrew Bresticker <abrestic@chromium.org>
      Cc: Qais Yousef <qais.yousef@imgtec.com>
      Cc: Wolfram Sang <wsa@the-dreams.de>
      Cc: Sergey Ryazanov <ryazanov.s.a@gmail.com>
      Cc: Gabor Juhos <juhosg@openwrt.org>
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/9774/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      411520af
    • Alban Bedel's avatar
      MIPS: ath79: Enable ZBOOT support · da628e8b
      Alban Bedel authored
      ZBOOT is working fine, so allow using it.
      Signed-off-by: default avatarAlban Bedel <albeu@free.fr>
      Cc: linux-mips@linux-mips.org
      Cc: Andrew Bresticker <abrestic@chromium.org>
      Cc: Qais Yousef <qais.yousef@imgtec.com>
      Cc: Wolfram Sang <wsa@the-dreams.de>
      Cc: Sergey Ryazanov <ryazanov.s.a@gmail.com>
      Cc: Gabor Juhos <juhosg@openwrt.org>
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/9770/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      da628e8b