Skip to content
  1. Apr 08, 2015
  2. Apr 02, 2015
  3. Apr 01, 2015
    • Huacai Chen's avatar
      MIPS: Loongson-3: Add chipset ACPI platform driver · 9c057b3e
      Huacai Chen authored
      
      
      This add south-bridge (SB700/SB710/SB800 chipset) ACPI platform driver
      for Loongson-3. This will be used by EC (Embedded Controller, used by
      laptops) driver and STR (Suspend To RAM).
      
      [ralf@linux-mips.org: Fix build error if !CONFIG_CPU_LOONGSON3.  Build
      doesn't like it if no obj-* variable is defined at all in a Makefile.
      Obviously this has not been tested on other platforms.]
      
      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>
      Patchwork: https://patchwork.linux-mips.org/patch/9619/
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      9c057b3e
    • Huacai Chen's avatar
      MIPS: Loongson-3: Add CPU Hwmon platform driver · 64f09aa9
      Huacai Chen authored
      
      
      This add CPU Hwmon (temperature sensor) platform driver for Loongson-3.
      
      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>
      Patchwork: https://patchwork.linux-mips.org/patch/9617/
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      64f09aa9
    • Huacai Chen's avatar
      MIPS: perf: Add hardware perf events support for Loongson-3 · f14ceff7
      Huacai Chen authored
      
      
      This patch enable hardware performance counter support for Loongson-3's
      perf events.
      
      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>
      Patchwork: https://patchwork.linux-mips.org/patch/9618/
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      f14ceff7
    • Joshua Kinard's avatar
      MIPS: PCI: Add a hook for IORESOURCE_BUS in pci_controller/bridge_controller · a2e50f53
      Joshua Kinard authored
      
      
      On SGI Origin 2k/Onyx2 and SGI Octane systems, there can exist multiple PCI
      buses attached to the Xtalk bus.  The current code will stop counting PCI buses
      after it finds the first one.  If one installs the optional PCI cardcage
      ("shoebox") into these systems, because of the order of the Xtalk widgets, the
      current PCI code will find the cardcage first, and fail to detect the BaseIO
      PCI devices, which are on a higher Xtalk widget ID.
      
      This patch adds the hooks needed for resolving this issue in the IP27 PCI code
      (in a later patch).
      
      Verified on both an SGI Onyx2 and an SGI Octane.
      
      Signed-off-by: default avatarJoshua Kinard <kumba@gentoo.org>
      Cc: Linux MIPS List <linux-mips@linux-mips.org>
      Patchwork: https://patchwork.linux-mips.org/patch/9074/
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      a2e50f53