1. 28 Apr, 2019 6 commits
    • Olof Johansson's avatar
      Merge tag 'aspeed-5.2-devicetree' of... · bbf7499d
      Olof Johansson authored
      Merge tag 'aspeed-5.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed into arm/dt
      
      ASPEED device tree updates for 5.2
      
       - RTC and GFX DRM driver went upstream this cycle
      
       - Miscellaneous board updates for Facebook and IBM BMCs
      
      * tag 'aspeed-5.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed:
        ARM: dts: aspeed: Add RTC node
        ARM: dts: aspeed: witherspoon: Update BMC partitioning
        ARM: dts: aspeed: cmm: enable iio-hwmon-adc
        ARM: dts: aspeed: tiogapass: Enable VUART
        ARM: dts: aspeed-g5: Add video engine
        ARM: dts: aspeed: Enable the GFX IP
        ARM: dts: aspeed-g5: Add resets and clocks to GFX node
        ARM: dts: aspeed: witherspoon: Enable vhub
        ARM: dts: aspeed: palmetto: Fix flash_memory region
        ARM: dts: aspeed: ast2500: Update flash layout
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      bbf7499d
    • Olof Johansson's avatar
      Merge tag 'renesas-arm64-dt-for-v5.2' of... · 2fe743c2
      Olof Johansson authored
      Merge tag 'renesas-arm64-dt-for-v5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into arm/dt
      
      Renesas ARM64 Based SoC DT Updates for v5.2
      
      * R-Car Gen3 SoC based Salvator-X and Salvator-XS boards
        - Add GPIO keys support
        - Sort rwdt node alphabetically
      
      * R-Car H3 (r8a7795), M3-W (r8a7796) and M3-N (r8a77965) SoCs
        - Use extended audio DMAC register
      
      * R-Car M3-W (r8a7796) SoC
        - Remove unneeded sound #address/size-cells
      
      * R-Car M3-N (r8a77965) SoC
        - Add SSIU support for audio
      
      * R-Car E3 (r8a77990) and RZ/G2E (r8a774c0) SoCs
        - Remove invalid compatible value for CSI40
      
      * R-Car E3 (r8a77990) SoC
        - Cprrect SPDX license identifier style
      
      * R-Car E3 (r8a77990) based Ebisu board
        - Add BD9571 PMIC with DDR0 backup power config
        - Correct adv7482 hexadecimal register address
        - Add GPIO expander
      
      * R-Car E3 (r8a77990) based Ebisu and D3 (r8a77995) based Draak boards
        - Update bootargs to bring them into line with other R-Car Gen3 boards
        - Enable LVDS1 encoder
      
      * R-Car D3 (r8a77995) based Draak board
        - Correct EthernetAVB phy mode
        - Enable CAN0 and CAN1
      
      * RZ/G2E (r8a774c0) SoC
        - Add CANFD support
        - Correct CPU node style
      
      * RZ/G2E (r8a774c0) and RZ/G2M (r8a774a1) SoCs
        - Add clkp2 clock to CAN nodes
      
      * RZ/G2E (r8a774c0) based EK874 board
        - Add LED, CAN and RTC support
      
      * tag 'renesas-arm64-dt-for-v5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (26 commits)
        arm64: dts: renesas: salvator-common: Add GPIO keys support
        arm64: dts: renesas: use extended audio dmac register
        arm64: dts: renesas: r8a77995: draak: Fix EthernetAVB phy mode to rgmii
        arm64: dts: renesas: salvator-common: Sort node label
        arm64: dts: renesas: Update Ebisu and Draak bootargs
        arm64: dts: renesas: r8a774c0: Add clkp2 clock to CAN nodes
        arm64: dts: renesas: r8a774c0: Add CANFD support
        arm64: dts: renesas: r8a774a1: Add clkp2 clock to CAN nodes
        arm64: dts: renesas: ebisu: Add PMIC DDR0 Backup Power config
        arm64: dts: renesas: r8a77990-ebisu: Add BD9571 PMIC
        arm64: dts: renesas: r8a77990: Remove invalid compatible value for CSI40
        arm64: dts: renesas: r8a774c0: Remove invalid compatible value for CSI40
        arm64: dts: renesas: r8a77995: draak: Enable CAN0, CAN1
        arm64: dts: renesas: r8a774c0-cat874: Add RWDT support
        arm64: dts: renesas: ebisu: Enable VIN5
        arm64: dts: renesas: r8a774c0-cat874: Add LEDs support
        arm64: dts: renesas: r8a774c0-cat874: add RTC support
        arm64: dts: renesas: cat875: Add CAN support
        arm64: dts: renesas: r8a774c0: Fix cpu nodes style
        arm64: dts: renesas: r8a77965: add SSIU support for sound
        ...
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      2fe743c2
    • Olof Johansson's avatar
      Merge tag 'v5.2-rockchip-dts64-1' of... · 1a88083b
      Olof Johansson authored
      Merge tag 'v5.2-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/dt
      
      Core new soc features are hdmi-cec for rk3328, scheduler capacity-values
      and emmc cleanups for rk3399. New boards are the OrangePi (rk3399) and
      NanoPi NEO4. Both the OrangePi as well as the NanoPC/Pie family also
      directly got some additional features added after the boards itself.
      
      The Rock960 family (rock960+ficus) got their power-tree cleaned to match
      the schematics and also got hdmi-audio and their gpu enabled.
      
      Mali support also got enabled on the RockPi4 and finally both
      rk3328-rock64 and rk3328-roc-cc got some additional features.
      
      * tag 'v5.2-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (23 commits)
        arm64: dts: rockchip: Decrease emmc-phy's drive impedance on rk3399-puma
        arm64: dts: rockchip: Define drive-impedance-ohm for RK3399's emmc-phy.
        arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
        arm64: dts: rockchip: Add nanopi4 ethernet phy
        arm64: dts: rockchip: Add PWM fan for NanoPC-T4
        arm64: dts: rockchip: Add the fusb typec manager to rk3399-orangepi
        arm64: dts: rockchip: Specify vid supply for the rk3399-orangepi compass (AK09911)
        arm64: dts: rockchip: Fix clock names and add missing supplies for bluetooth on rk3399-orangepi
        arm64: dts: rockchip: Add 12V DCIN regulator to rk3399-ficus
        arm64: dts: rockchip: Rename vcc_sys into vcc5v0_sys on rk3399-rock960
        arm64: dts: rockchip: Add Nanopi NEO4 initial support
        arm64: dts: rockchip: enable hdmi audio out for rk3399-rockpro64
        arm64: dts: rockchip: Add support for the Orange Pi RK3399 board.
        arm64: dts: rockchip: enable mali on rock960 boards
        arm64: dts: rockchip: enable mali on Rock Pi 4
        arm64: dts: rockchip: add rk3328-roc-cc cpu-supply entries for all cpu nodes
        arm64: dts: rockchip: give some life to the rk3328-roc-cc leds
        arm64: dts: rockchip: add #sound-dai-cells to HDMI of rk3328
        arm64: dts: rockchip: add ir-receiver node on rk3328-rock64
        arm64: dts: rockchip: add leds node on rk3328-rock64
        ...
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      1a88083b
    • Olof Johansson's avatar
      Merge tag 'v5.2-rockchip-dts32-1' of... · f6f9683c
      Olof Johansson authored
      Merge tag 'v5.2-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/dt
      
      Quite a bit of love for the rk3288-veyron chromeos devices and a number
      of cleanups for rk3288 from that area, hdmi support for the old rk3066
      a small rv1108-eglin-r1 cleanup and wifi+hdmi-cec for the tinker board.
      
      * tag 'v5.2-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
        ARM: dts: rockchip: enable vop0 and hdmi nodes to rk3066a-mk808
        ARM: dts: rockchip: add rk3066 hdmi nodes
        ARM: dts: rockchip: Add device tree for rk3288-veyron-mighty
        dt-bindings: ARM: dts: rockchip: Add bindings for rk3288-veyron-mighty
        ARM: dts: rockchip: Add vdd_logic to rk3288-veyron
        ARM: dts: rockchip: Add dvs-gpios to rk3288-veyron-jerry
        ARM: dts: rockchip: Add rk3288-veyron-jerry rev 10-15
        dt-bindings: ARM: dts: rockchip: Add rk3288-veyron-jerry rev 10-15
        ARM: dts: rockchip: Fix gic/efuse sort ordering for rk3288
        ARM: dts: rockchip: Enable WiFi on rk3288-tinker
        ARM: dts: rockchip: add grf reference in rk3288 tsadc node
        ARM: dts: rockchip: Enable HDMI CEC on rk3288-tinker-s
        ARM: dts: rockchip: remove disable-wp from rv1108-elgin-r1 emmc node
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      f6f9683c
    • Olof Johansson's avatar
      Merge tag 'amlogic-dt' of... · 1c93235a
      Olof Johansson authored
      Merge tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/dt
      
      ARM: dts: Amlogic updates for v5.2
       - add GPIO line names for odroid-c1 boards
       - support internal clock measure driver
      
      * tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
        ARM: dts: meson8b: odroidc1: add the GPIO line names
        ARM: dts: meson8b: add the internal clock measurer
        ARM: dts: meson8: add the internal clock measurer
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      1c93235a
    • Olof Johansson's avatar
      Merge tag 'amlogic-dt64' of... · 0159225b
      Olof Johansson authored
      Merge tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/dt
      
      arm64: dts: Amlogic updates for v5.2
      
      Highlights
      - new board: SEI Robotics 510, based on S905X2 SoC (G12A)
      - enable more periphearls for S905X2 based boards
      
      * tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
        arm64: dts: meson-g12a: Add CMA reserved memory
        arm64: dts: meson-g12a-x96-max: Enable BT Module
        arm64: dts: meson-g12a-x96-max: add regulators
        arm64: dts: meson-g12a-sei510: add regulators
        arm64: dts: meson-g12a-x96-max: add uart_AO pinctrl
        arm64: dts: meson-g12a-sei510: add uart_AO pinctrl
        arm64: dts: meson-g12a-u200: add uart_AO pinctrl
        arm64: dts: meson: g12a: Add UART A, B & C nodes and pins
        arm64: dts: meson: g12a: add reset controller
        arm64: dts: meson: g12a: add uart_ao_a pinctrl
        arm64: dts: meson: g12a: add pinctrl support controllers
        arm64: dts: meson: g12a: Add AO Clock + Reset Controller support
        arm64: dts: meson-gxm-nexbox-a1: Enable USB
        arm64: dts: meson: g12a: add efuse
        arm64: dts: meson: g12a: add secure monitor
        arm64: dts: meson-gxl-s905d-phicomm-n1: add status LED
        arm64: dts: meson-g12a: Add AO Secure node
        arm64: dts: Add SEI Robotics SEI510 Board
        vendor-prefixes: Add prefix for Shenzhen SEI Robotics Co., Ltd
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      0159225b
  2. 05 Apr, 2019 8 commits
  3. 04 Apr, 2019 2 commits
  4. 31 Mar, 2019 11 commits
    • Linus Torvalds's avatar
      Linux 5.1-rc3 · 79a3aaa7
      Linus Torvalds authored
      79a3aaa7
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 63fc9c23
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "A collection of x86 and ARM bugfixes, and some improvements to
        documentation.
      
        On top of this, a cleanup of kvm_para.h headers, which were exported
        by some architectures even though they not support KVM at all. This is
        responsible for all the Kbuild changes in the diffstat"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (28 commits)
        Documentation: kvm: clarify KVM_SET_USER_MEMORY_REGION
        KVM: doc: Document the life cycle of a VM and its resources
        KVM: selftests: complete IO before migrating guest state
        KVM: selftests: disable stack protector for all KVM tests
        KVM: selftests: explicitly disable PIE for tests
        KVM: selftests: assert on exit reason in CR4/cpuid sync test
        KVM: x86: update %rip after emulating IO
        x86/kvm/hyper-v: avoid spurious pending stimer on vCPU init
        kvm/x86: Move MSR_IA32_ARCH_CAPABILITIES to array emulated_msrs
        KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
        kvm: don't redefine flags as something else
        kvm: mmu: Used range based flushing in slot_handle_level_range
        KVM: export <linux/kvm_para.h> and <asm/kvm_para.h> iif KVM is supported
        KVM: x86: remove check on nr_mmu_pages in kvm_arch_commit_memory_region()
        kvm: nVMX: Add a vmentry check for HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields
        KVM: SVM: Workaround errata#1096 (insn_len maybe zero on SMAP violation)
        KVM: Reject device ioctls from processes other than the VM's creator
        KVM: doc: Fix incorrect word ordering regarding supported use of APIs
        KVM: x86: fix handling of role.cr4_pae and rename it to 'gpte_size'
        KVM: nVMX: Do not inherit quadrant and invalid for the root shadow EPT
        ...
      63fc9c23
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 915ee0da
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A pile of x86 updates:
      
         - Prevent exceeding he valid physical address space in the /dev/mem
           limit checks.
      
         - Move all header content inside the header guard to prevent compile
           failures.
      
         - Fix the bogus __percpu annotation in this_cpu_has() which makes
           sparse very noisy.
      
         - Disable switch jump tables completely when retpolines are enabled.
      
         - Prevent leaking the trampoline address"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/realmode: Make set_real_mode_mem() static inline
        x86/cpufeature: Fix __percpu annotation in this_cpu_has()
        x86/mm: Don't exceed the valid physical address space
        x86/retpolines: Disable switch jump tables when retpolines are enabled
        x86/realmode: Don't leak the trampoline kernel address
        x86/boot: Fix incorrect ifdeffery scope
        x86/resctrl: Remove unused variable
      915ee0da
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 590627f7
      Linus Torvalds authored
      Pull perf tooling fixes from Thomas Gleixner:
       "Core libraries:
         - Fix max perf_event_attr.precise_ip detection.
         - Fix parser error for uncore event alias
         - Fixup ordering of kernel maps after obtaining the main kernel map
           address.
      
        Intel PT:
         - Fix TSC slip where A TSC packet can slip past MTC packets so that
           the timestamp appears to go backwards.
         - Fixes for exported-sql-viewer GUI conversion to python3.
      
        ARM coresight:
         - Fix the build by adding a missing case value for enumeration value
           introduced in newer library, that now is the required one.
      
        tool headers:
         - Syncronize kernel headers with the kernel, getting new io_uring and
           pidfd_send_signal syscalls so that 'perf trace' can handle them"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf pmu: Fix parser error for uncore event alias
        perf scripts python: exported-sql-viewer.py: Fix python3 support
        perf scripts python: exported-sql-viewer.py: Fix never-ending loop
        perf machine: Update kernel map address and re-order properly
        tools headers uapi: Sync powerpc's asm/kvm.h copy with the kernel sources
        tools headers: Update x86's syscall_64.tbl and uapi/asm-generic/unistd
        tools headers uapi: Update drm/i915_drm.h
        tools arch x86: Sync asm/cpufeatures.h with the kernel sources
        tools headers uapi: Sync linux/fcntl.h to get the F_SEAL_FUTURE_WRITE addition
        tools headers uapi: Sync asm-generic/mman-common.h and linux/mman.h
        perf evsel: Fix max perf_event_attr.precise_ip detection
        perf intel-pt: Fix TSC slip
        perf cs-etm: Add missing case value
      590627f7
    • Johan Jonker's avatar
      ARM: dts: rockchip: enable vop0 and hdmi nodes to rk3066a-mk808 · 4b028ebd
      Johan Jonker authored
      This patch enables the vop0 and hdmi nodes
      for a MK808 with rk3066 processor.
      Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      4b028ebd
    • Zheng Yang's avatar
      ARM: dts: rockchip: add rk3066 hdmi nodes · fadc7806
      Zheng Yang authored
      This patch adds the hdmi nodes to rk3066.
      Signed-off-by: default avatarZheng Yang <zhengyang@rock-chips.com>
      Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      fadc7806
    • Linus Torvalds's avatar
      Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · c29d8541
      Linus Torvalds authored
      Pull CPU hotplug fixes from Thomas Gleixner:
       "Two SMT/hotplug related fixes:
      
         - Prevent crash when HOTPLUG_CPU is disabled and the CPU bringup
           aborts. This is triggered with the 'nosmt' command line option, but
           can happen by any abort condition. As the real unplug code is not
           compiled in, prevent the fail by keeping the CPU in zombie state.
      
         - Enforce HOTPLUG_CPU for SMP on x86 to avoid the above situation
           completely. With 'nosmt' being a popular option it's required to
           unplug the half brought up sibling CPUs (due to the MCE wreckage)
           completely"
      
      * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
        cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
      c29d8541
    • Linus Torvalds's avatar
      Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 573efdc5
      Linus Torvalds authored
      Pull locking fixlet from Thomas Gleixner:
       "Trivial update to the maintainers file"
      
      * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        MAINTAINERS: Remove deleted file from futex file pattern
      573efdc5
    • Linus Torvalds's avatar
      Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f78b5be2
      Linus Torvalds authored
      Pull core fixes from Thomas Gleixner:
       "A small set of core updates:
      
         - Make the watchdog respect the selected CPU mask again. That was
           broken by the rework of the watchdog thread management and caused
           inconsistent state and NMI watchdog being unstoppable.
      
         - Ensure that the objtool build can find the libelf location.
      
         - Remove dead kcore stub code"
      
      * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        watchdog: Respect watchdog cpumask on CPU hotplug
        objtool: Query pkg-config for libelf location
        proc/kcore: Remove unused kclist_add_remap()
      f78b5be2
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 6536c5f2
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
       "Three non-regression fixes.
      
         - Our optimised memcmp could read past the end of one of the buffers
           and potentially trigger a page fault leading to an oops.
      
         - Some of our code to read energy management data on PowerVM had an
           endian bug leading to bogus results.
      
         - When reporting a machine check exception we incorrectly reported
           TLB multihits as D-Cache multhits due to a missing entry in the
           array of causes.
      
        Thanks to: Chandan Rajendra, Gautham R. Shenoy, Mahesh Salgaonkar,
        Segher Boessenkool, Vaidyanathan Srinivasan"
      
      * tag 'powerpc-5.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/pseries/mce: Fix misleading print for TLB mutlihit
        powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes
        powerpc/64: Fix memcmp reading past the end of src/dest
      6536c5f2
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-fix-5.1-rc3' of git://git.infradead.org/users/vkoul/slave-dma · c877b3df
      Linus Torvalds authored
      Pull dmaengine fixes from Vinod Koul:
      
       - Revert "dmaengine: stm32-mdma: Add a check on read_u32_array" as that
         caused regression
      
       - Fix MAINTAINER file uniphier-mdmac.c file path
      
      * tag 'dmaengine-fix-5.1-rc3' of git://git.infradead.org/users/vkoul/slave-dma:
        MAINTAINERS: Fix uniphier-mdmac.c file path
        dmaengine: stm32-mdma: Revert "dmaengine: stm32-mdma: Add a check on read_u32_array"
      c877b3df
  5. 30 Mar, 2019 10 commits
    • Linus Torvalds's avatar
      Merge tag 'led-fixes-for-5.1-rc3' of... · b5c8314f
      Linus Torvalds authored
      Merge tag 'led-fixes-for-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds
      
      Pull LED fixes from Jacek Anaszewski:
      
       - fix refcnt leak on interface rename
      
       - use memcpy in device_name_store() to avoid including garbage from a
         previous, longer value in the device_name
      
       - fix a potential NULL pointer dereference in case of_match_device()
         cannot find a match
      
      * tag 'led-fixes-for-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
        leds: trigger: netdev: use memcpy in device_name_store
        leds: pca9532: fix a potential NULL pointer dereference
        leds: trigger: netdev: fix refcnt leak on interface rename
      b5c8314f
    • Linus Torvalds's avatar
      Merge tag 'gpio-v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · 3af9a525
      Linus Torvalds authored
      Pull GPIO fixes from Linus Walleij:
       "As you can see [in the git history] I was away on leave and Bartosz
        kindly stepped in and collected a slew of fixes, I pulled them into my
        tree in two sets and merged some two more fixes (fixing my own caused
        bugs) on top.
      
        Summary:
      
         - Revert the extended use of gpio_set_config() and think about how we
           can do this properly.
      
         - Fix up the SPI CS GPIO handling so it now works properly on the SPI
           bus children, as intended.
      
         - Error paths and driver fixes"
      
      * tag 'gpio-v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
        gpio: mockup: use simple_read_from_buffer() in debugfs read callback
        gpio: of: Fix of_gpiochip_add() error path
        gpio: of: Check for "spi-cs-high" in child instead of parent node
        gpio: of: Check propname before applying "cs-gpios" quirks
        gpio: mockup: fix debugfs read
        Revert "gpio: use new gpio_set_config() helper in more places"
        gpio: aspeed: fix a potential NULL pointer dereference
        gpio: amd-fch: Fix bogus SPDX identifier
        gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
        gpio: exar: add a check for the return value of ida_simple_get fails
      3af9a525
    • Rasmus Villemoes's avatar
      leds: trigger: netdev: use memcpy in device_name_store · 90934643
      Rasmus Villemoes authored
      If userspace doesn't end the input with a newline (which can easily
      happen if the write happens from a C program that does write(fd,
      iface, strlen(iface))), we may end up including garbage from a
      previous, longer value in the device_name. For example
      
      # cat device_name
      
      # printf 'eth12' > device_name
      # cat device_name
      eth12
      # printf 'eth3' > device_name
      # cat device_name
      eth32
      
      I highly doubt anybody is relying on this behaviour, so switch to
      simply copying the bytes (we've already checked that size is <
      IFNAMSIZ) and unconditionally zero-terminate it; of course, we also
      still have to strip a trailing newline.
      
      This is also preparation for future patches.
      
      Fixes: 06f502f5 ("leds: trigger: Introduce a NETDEV trigger")
      Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
      90934643
    • Kangjie Lu's avatar
      leds: pca9532: fix a potential NULL pointer dereference · 0aab8e4d
      Kangjie Lu authored
      In case of_match_device cannot find a match, return -EINVAL to avoid
      NULL pointer dereference.
      
      Fixes: fa4191a6 ("leds: pca9532: Add device tree support")
      Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
      Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
      0aab8e4d
    • Linus Torvalds's avatar
      Merge tag 'staging-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 32faca66
      Linus Torvalds authored
      Pull staging driver fixes from Greg KH:
       "Here are some small staging driver fixes for 5.1-rc3, and one driver
        removal.
      
        The biggest thing here is the removal of the mt7621-eth driver as a
        "real" network driver was merged in 5.1-rc1 for this hardware, so this
        old driver can now be removed.
      
        Other than that, there are just a number of small fixes, all resolving
        reported issues and some potential corner cases for error handling
        paths.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'staging-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: vt6655: Remove vif check from vnt_interrupt
        staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
        staging: octeon-ethernet: fix incorrect PHY mode
        staging: vc04_services: Fix an error code in vchiq_probe()
        staging: erofs: fix error handling when failed to read compresssed data
        staging: vt6655: Fix interrupt race condition on device start up.
        staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
        staging: rtl8712: uninitialized memory in read_bbreg_hdl()
        staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference
        staging: rtl8188eu: Fix potential NULL pointer dereference of kcalloc
        staging, mt7621-pci: fix build without pci support
        staging: speakup_soft: Fix alternate speech with other synths
        staging: axis-fifo: add CONFIG_OF dependency
        staging: olpc_dcon_xo_1: add missing 'const' qualifier
        staging: comedi: ni_mio_common: Fix divide-by-zero for DIO cmdtest
        staging: erofs: fix to handle error path of erofs_vmap()
        staging: mt7621-dts: update ethernet settings.
        staging: remove mt7621-eth
      32faca66
    • Linus Torvalds's avatar
      Merge tag 'tty-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 52afe190
      Linus Torvalds authored
      Pull tty/serial fixes from Greg KH:
       "Here are some small tty and serial driver fixes for 5.1-rc3.
      
        Nothing major here, just a number of potential problems fixes for
        error handling paths, as well as some other minor bugfixes for
        reported issues with 5.1-rc1.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'tty-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        tty: fix NULL pointer issue when tty_port ops is not set
        Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
        dt-bindings: serial: Add compatible for Mediatek MT8183
        tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped
        tty/serial: atmel: Add is_half_duplex helper
        serial: sh-sci: Fix setting SCSCR_TIE while transferring data
        serial: ar933x_uart: Fix build failure with disabled console
        tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
        sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
        tty: mxs-auart: fix a potential NULL pointer dereference
        tty: atmel_serial: fix a potential NULL pointer dereference
        serial: max310x: Fix to avoid potential NULL pointer dereference
        serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
      52afe190
    • Linus Torvalds's avatar
      Merge tag 'usb-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 8d02a9a8
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes for 5.1-rc3.
      
        Nothing major at all here, just a small collection of fixes for
        reported issues, and potential problems with error handling paths.
        Also a few new device ids, as normal.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (25 commits)
        USB: serial: option: add Olicard 600
        USB: serial: cp210x: add new device id
        usb: u132-hcd: fix resource leak
        usb: cdc-acm: fix race during wakeup blocking TX traffic
        usb: mtu3: fix EXTCON dependency
        usb: usb251xb: fix to avoid potential NULL pointer dereference
        usb: core: Try generic PHY_MODE_USB_HOST if usb_phy_roothub_set_mode fails
        phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
        xhci: Don't let USB3 ports stuck in polling state prevent suspend
        usb: xhci: dbc: Don't free all memory with spinlock held
        xhci: Fix port resume done detection for SS ports with LPM enabled
        USB: serial: mos7720: fix mos_parport refcount imbalance on error path
        USB: gadget: f_hid: fix deadlock in f_hidg_write()
        usb: gadget: net2272: Fix net2272_dequeue()
        usb: gadget: net2280: Fix net2280_dequeue()
        usb: gadget: net2280: Fix overrun of OUT messages
        usb: dwc3: pci: add support for Comet Lake PCH ID
        usb: usb251xb: Remove unnecessary comparison of unsigned integer with >= 0
        usb: common: Consider only available nodes for dr_mode
        usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
        ...
      8d02a9a8
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 782492a7
      Linus Torvalds authored
      Pull ACPI fix from Rafael Wysocki:
       "This corrects a previous attempt to make Linux use its own set of ACPI
        debug flags different from the upstream ACPICA's default (Erik
        Schmauss)"
      
      * tag 'acpi-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: use different default debug value than ACPICA
      782492a7
    • Linus Torvalds's avatar
      Merge tag 'pm-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 8e377a1c
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These fix CPU base frequency reporting in the intel_pstate driver and
        a use-after-free in the scpi-cpufreq driver.
      
        Specifics:
      
         - Fix the ACPI CPPC library to actually follow the specification when
           decoding the guaranteed performance register information and make
           the intel_pstate driver to fall back to the nominal frequency when
           reporting the base frequency if the guaranteed performance register
           information is not there (Srinivas Pandruvada).
      
         - Fix use-after-free in the exit callback of the scpi-cpufreq left
           after an update during the 5.0 development cycle (Vincent Stehlé)"
      
      * tag 'pm-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: scpi: Fix use after free
        cpufreq: intel_pstate: Also use CPPC nominal_perf for base_frequency
        ACPI / CPPC: Fix guaranteed performance handling
      8e377a1c
    • Linus Torvalds's avatar
      Merge branch 'fixes-v5.1-a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 12195302
      Linus Torvalds authored
      Pull security layer fixes from James Morris:
       "Yama and LSM config fixes"
      
      * 'fixes-v5.1-a' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        LSM: Revive CONFIG_DEFAULT_SECURITY_* for "make oldconfig"
        Yama: mark local symbols as static
      12195302
  6. 29 Mar, 2019 3 commits
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · 922c010c
      Linus Torvalds authored
      Merge misc fixes from Andrew Morton:
       "22 fixes"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (22 commits)
        fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
        fs: fs_parser: fix printk format warning
        checkpatch: add %pt as a valid vsprintf extension
        mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
        drivers/block/zram/zram_drv.c: fix idle/writeback string compare
        mm/page_isolation.c: fix a wrong flag in set_migratetype_isolate()
        mm/memory_hotplug.c: fix notification in offline error path
        ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASK
        fs/proc/kcore.c: make kcore_modules static
        include/linux/list.h: fix list_is_first() kernel-doc
        mm/debug.c: fix __dump_page when mapping->host is not set
        mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specified
        include/linux/hugetlb.h: convert to use vm_fault_t
        iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging
        mm: add support for kmem caches in DMA32 zone
        ocfs2: fix inode bh swapping mixup in ocfs2_reflink_inodes_lock
        mm/hotplug: fix offline undo_isolate_page_range()
        fs/open.c: allow opening only regular files during execve()
        mailmap: add Changbin Du
        mm/debug.c: add a cast to u64 for atomic64_read()
        ...
      922c010c
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · f9007cc6
      Linus Torvalds authored
      Pull arm64 fix from Catalin Marinas:
       "Use memblock_alloc() instead of memblock_alloc_low() in
        request_standard_resources(), the latter being limited to the low 4G
        memory range on arm64"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: replace memblock_alloc_low with memblock_alloc
      f9007cc6
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · c0b7f2a5
      Linus Torvalds authored
      Pull IOMMU fixes from Joerg Roedel:
      
       - Fix a bug in the AMD IOMMU driver not handling exclusion ranges
         correctly. In fact the driver did not reserve these ranges for IOVA
         allocations, so that dma-handles could be allocated in an exclusion
         range, leading to data corruption. Exclusion ranges have not been
         used by any firmware up to now, so this issue remained undiscovered
         for quite some time.
      
       - Fix wrong warning messages that the IOMMU core code prints when it
         tries to allocate the default domain for an iommu group and the
         driver does not support any of the default domain types (like Intel
         VT-d).
      
      * tag 'iommu-fixes-v5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/amd: Reserve exclusion range in iova-domain
        iommu: Don't print warning when IOMMU driver only supports unmanaged domains
      c0b7f2a5