1. 23 1月, 2020 4 次提交
    • A
      MIPS: generic: don't unconditionally select PINCTRL · 7de86604
      Alexander Lobakin 提交于
      CONFIG_PINCTRL was converted from hidden selectable to a visible option
      with commit d219b924 ("pinctrl: change Kconfig PINCTRL variable to
      a menuconfig"). Remove unconditional select and enable this symbol in
      Ocelot config, which currently is the only user among generic boards.
      Signed-off-by: NAlexander Lobakin <alobakin@dlink.ru>
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
      Cc: Microchip Linux Driver Support <UNGLinuxDriver@microchip.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Paul Walmsley <paul.walmsley@sifive.com>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Cc: Allison Randal <allison@lohutok.net>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Eric W. Biederman <ebiederm@xmission.com>
      Cc: linux-mips@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      7de86604
    • A
      MIPS: don't explicitly select LIBFDT in Kconfig · 7c8f1379
      Alexander Lobakin 提交于
      It gets selected anyway through USE_OF -> OF_EARLY_FLATTREE ->
      OF_FLATTREE -> LIBFDT, no need to double-check.
      Signed-off-by: NAlexander Lobakin <alobakin@dlink.ru>
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
      Cc: Microchip Linux Driver Support <UNGLinuxDriver@microchip.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Paul Walmsley <paul.walmsley@sifive.com>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Cc: Allison Randal <allison@lohutok.net>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Eric W. Biederman <ebiederm@xmission.com>
      Cc: linux-mips@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      7c8f1379
    • S
      MIPS: sync-r4k: do slave counter synchronization with disabled HW interrupts · 0956be29
      Sergey Korolev 提交于
      synchronise_count_slave() called with an enabled in mips_clockevent_init()
      timer interrupt which may decrease synchronization precision.
      Signed-off-by: NSergey Korolev <s.korolev@ndmsystems.com>
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: James Hogan <jhogan@kernel.org>
      Cc: linux-kernel@vger.kernel.org
      0956be29
    • T
      MIPS: SGI-IP30: Check for valid pointer before using it · c0e79fd8
      Thomas Bogendoerfer 提交于
      Fix issue detected by Smatch:
      
          ./arch/mips/sgi-ip30/ip30-irq.c:236 heart_domain_free()
           warn: variable dereferenced before check 'irqd' (see line 235)
      
      Fixes: 7505576d ("MIPS: add support for SGI Octane (IP30)")
      Signed-off-by: NThomas Bogendoerfer <tbogendoerfer@suse.de>
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: James Hogan <jhogan@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Cc: <stable@vger.kernel.org> # v5.5+
      c0e79fd8
  2. 21 1月, 2020 3 次提交
    • A
      MIPS: syscalls: fix indentation of the 'SYSNR' message · 4f29ad20
      Alexander Lobakin 提交于
      It also lacks a whitespace (copy'n'paste error?) and also messes up the
      output:
      
        SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n32.h
        SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n64.h
        SYSHDR  arch/mips/include/generated/uapi/asm/unistd_o32.h
        SYSNR  arch/mips/include/generated/uapi/asm/unistd_nr_n32.h
        SYSNR  arch/mips/include/generated/uapi/asm/unistd_nr_n64.h
        SYSNR  arch/mips/include/generated/uapi/asm/unistd_nr_o32.h
        WRAP    arch/mips/include/generated/uapi/asm/bpf_perf_event.h
        WRAP    arch/mips/include/generated/uapi/asm/ipcbuf.h
      
      After:
      
        SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n32.h
        SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n64.h
        SYSHDR  arch/mips/include/generated/uapi/asm/unistd_o32.h
        SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_n32.h
        SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_n64.h
        SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_o32.h
        WRAP    arch/mips/include/generated/uapi/asm/bpf_perf_event.h
        WRAP    arch/mips/include/generated/uapi/asm/ipcbuf.h
      
      Present since day 0 of syscall table generation introduction for MIPS.
      
      Fixes: 9bcbf97c ("mips: add system call table generation support")
      Cc: <stable@vger.kernel.org> # v5.0+
      Signed-off-by: NAlexander Lobakin <alobakin@dlink.ru>
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: James Hogan <jhogan@kernel.org>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      4f29ad20
    • A
      MIPS: boot: fix typo in 'vmlinux.lzma.its' target · 16202c09
      Alexander Lobakin 提交于
      Commit 92b34a97 ("MIPS: boot: add missing targets for vmlinux.*.its")
      fixed constant rebuild of *.its files on every make invocation, but due
      to typo ("lzmo") it made no sense for vmlinux.lzma.its.
      
      Fixes: 92b34a97 ("MIPS: boot: add missing targets for vmlinux.*.its")
      Cc: <stable@vger.kernel.org> # v4.19+
      Signed-off-by: NAlexander Lobakin <alobakin@dlink.ru>
      [paulburton@kernel.org: s/invokation/invocation/]
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: James Hogan <jhogan@kernel.org>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      16202c09
    • A
      MIPS: fix indentation of the 'RELOCS' message · a5399880
      Alexander Lobakin 提交于
      quiet_cmd_relocs lacks a whitespace which results in:
      
        LD      vmlinux
        SORTEX  vmlinux
        SYSMAP  System.map
        RELOCS vmlinux
        Building modules, stage 2.
        MODPOST 64 modules
      
      After this patch:
      
        LD      vmlinux
        SORTEX  vmlinux
        SYSMAP  System.map
        RELOCS  vmlinux
        Building modules, stage 2.
        MODPOST 64 modules
      
      Typo is present in kernel tree since the introduction of relocatable
      kernel support in commit e818fac5 ("MIPS: Generate relocation table
      when CONFIG_RELOCATABLE"), but the relocation scripts were moved to
      Makefile.postlink later with commit 44079d35 ("MIPS: Use
      Makefile.postlink to insert relocations into vmlinux").
      
      Fixes: 44079d35 ("MIPS: Use Makefile.postlink to insert relocations into vmlinux")
      Cc: <stable@vger.kernel.org> # v4.11+
      Signed-off-by: NAlexander Lobakin <alobakin@dlink.ru>
      [paulburton@kernel.org: Fixup commit references in commit message.]
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: James Hogan <jhogan@kernel.org>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      a5399880
  3. 16 1月, 2020 4 次提交
    • J
      dt-bindings: Document loongson vendor-prefix · 1590b1eb
      Jiaxun Yang 提交于
      Loongson is a MIPS-compatible processor vendor.
      Signed-off-by: NJiaxun Yang <jiaxun.yang@flygoat.com>
      Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: chenhc@lemote.com
      Cc: paul.burton@mips.com
      Cc: tglx@linutronix.de
      Cc: jason@lakedaemon.net
      Cc: maz@kernel.org
      Cc: linux-kernel@vger.kernel.org
      Cc: robh+dt@kernel.org
      Cc: mark.rutland@arm.co
      Cc: devicetree@vger.kernel.org
      1590b1eb
    • MIPS: CU1000-Neo: Refresh defconfig to support HWMON and WiFi. · 1f33d9bc
      周琰杰 (Zhou Yanjie) 提交于
      Refresh CU1000-Neo's defconfig to support ADS7830 based HWMON
      and AP6212A WiFi module.
      Signed-off-by: N周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Cc: devicetree@vger.kernel.org
      Cc: robh+dt@kernel.org
      Cc: paul.burton@mips.com
      Cc: jhogan@kernel.org
      Cc: mark.rutland@arm.com
      Cc: syq@debian.org
      Cc: ralf@linux-mips.org
      Cc: rick.tyliu@ingenic.com
      Cc: jason@lakedaemon.net
      Cc: keescook@chromium.org
      Cc: geert+renesas@glider.be
      Cc: krzk@kernel.org
      Cc: paul@crapouillou.net
      Cc: prasannatsmkumar@gmail.com
      Cc: sernia.zhou@foxmail.com
      Cc: zhenwenjin@gmail.com
      Cc: ebiederm@xmission.com
      1f33d9bc
    • MIPS: Ingenic: Add missing nodes for X1000 and CU1000-Neo. · 0ba96b34
      周琰杰 (Zhou Yanjie) 提交于
      Add I2C0/I2C1/I2C2 nodes for X1000 and add I2C0, ADS7830,
      MSC1, AP6212A, wlan_pwrseq nodes for CU1000-Neo.
      Signed-off-by: N周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Cc: devicetree@vger.kernel.org
      Cc: robh+dt@kernel.org
      Cc: paul.burton@mips.com
      Cc: jhogan@kernel.org
      Cc: mark.rutland@arm.com
      Cc: syq@debian.org
      Cc: ralf@linux-mips.org
      Cc: rick.tyliu@ingenic.com
      Cc: jason@lakedaemon.net
      Cc: keescook@chromium.org
      Cc: geert+renesas@glider.be
      Cc: krzk@kernel.org
      Cc: paul@crapouillou.net
      Cc: prasannatsmkumar@gmail.com
      Cc: sernia.zhou@foxmail.com
      Cc: zhenwenjin@gmail.com
      Cc: ebiederm@xmission.com
      0ba96b34
    • G
      mips/vdso: Support mremap() for vDSO · ad1df954
      Guoyun Sun 提交于
      vDSO VMA address is saved in mm_context for the purpose of using
      restorer from vDSO page to return to userspace after signal handling.
      
      In Checkpoint Restore in Userspace (CRIU) project we place vDSO VMA
      on restore back to the place where it was on the dump.
      
      Make vDSO code track the VMA address by supplying .mremap() fops
      the same way it's done for x86 and arm by:
      commit b059a453 ("x86/vdso: Add mremap hook to vm_special_mapping")
      commit 73958695 ("arm64/vdso: Support mremap() for vDSO").
      Signed-off-by: NGuoyun Sun <sunguoyun@loongson.cn>
      Signed-off-by: NPaul Burton <paulburton@kernel.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Allison Randal <allison@lohutok.net>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: linux-mips@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      ad1df954
  4. 15 1月, 2020 3 次提交
  5. 14 1月, 2020 2 次提交
  6. 11 1月, 2020 4 次提交
  7. 10 1月, 2020 20 次提交