1. 31 May, 2019 10 commits
    • Linus Torvalds's avatar
      Merge tag 'spdx-5.2-rc3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 2f4c5334
      Linus Torvalds authored
      Pull yet more SPDX updates from Greg KH:
       "Here is another set of reviewed patches that adds SPDX tags to
        different kernel files, based on a set of rules that are being used to
        parse the comments to try to determine that the license of the file is
        "GPL-2.0-or-later" or "GPL-2.0-only". Only the "obvious" versions of
        these matches are included here, a number of "non-obvious" variants of
        text have been found but those have been postponed for later review
        and analysis.
      
        There is also a patch in here to add the proper SPDX header to a bunch
        of Kbuild files that we have missed in the past due to new files being
        added and forgetting that Kbuild uses two different file names for
        Makefiles. This issue was reported by the Kbuild maintainer.
      
        These patches have been out for review on the linux-spdx@vger mailing
        list, and while they were created by automatic tools, they were
        hand-verified by a bunch of different people, all whom names are on
        the patches are reviewers"
      
      * tag 'spdx-5.2-rc3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (82 commits)
        treewide: Add SPDX license identifier - Kbuild
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 225
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 224
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 223
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 222
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 221
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 220
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 218
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 217
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 216
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 215
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 214
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 213
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 211
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 210
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 209
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 207
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 203
        treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201
        ...
      2f4c5334
    • Linus Torvalds's avatar
      Merge tag 'staging-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 2209a305
      Linus Torvalds authored
      Pull staging and IIO driver fixes from Greg KH:
       "Here are some Staging and IIO driver fixes to resolve some reported
        problems for 5.2-rc3.
      
        Nothing major here, just some tiny changes, full details are in the
        shortlog.
      
        All have been in linux-next for a while with no reported issues"
      
      * tag 'staging-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: kpc2000: Add dependency on MFD_CORE to kconfig symbol 'KPC2000'
        staging: wilc1000: Fix some double unlock bugs in wilc_wlan_cleanup()
        staging: vc04_services: prevent integer overflow in create_pagelist()
        Staging: vc04_services: Fix a couple error codes
        staging: wlan-ng: fix adapter initialization failure
        staging: kpc2000: double unlock in error handling in kpc_dma_transfer()
        staging: kpc2000: Fix build error without CONFIG_UIO
        staging: kpc2000: fix build error on xtensa
        staging: erofs: set sb->s_root to NULL when failing from __getname()
        iio: adc: ti-ads8688: fix timestamp is not updated in buffer
        iio: dac: ds4422/ds4424 fix chip verification
        iio: imu: mpu6050: Fix FIFO layout for ICM20602
        iio: adc: ads124: avoid buffer overflow
        iio: adc: modify NPCM ADC read reference voltage
      2209a305
    • Linus Torvalds's avatar
      Merge tag 'tty-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · dbde71df
      Linus Torvalds authored
      Pull tty/serial driver fixes from Greg KH:
       "Here are some small serial and TTY driver fixes for 5.2-rc3.
      
        Nothing major, just a number of fixes for reported issues. The fbcon
        core fix also resolves an issue, and was acked by the relevant
        maintainer to go through this tree.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'tty-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        vt/fbcon: deinitialize resources in visual_init() after failed memory allocation
        tty: max310x: Fix external crystal register setup
        serial: sh-sci: disable DMA for uart_console
        serial: imx: remove log spamming error message
        tty: serial: msm_serial: Fix XON/XOFF
      dbde71df
    • Linus Torvalds's avatar
      Merge tag 'usb-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · e49c8547
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some tiny USB fixes for a number of reported issues for
        5.2-rc3.
      
        Nothing huge here, just a small collection of xhci and other driver
        bugs that syzbot has been finding in some drivers. There is also a
        usbip fix and a fix for the usbip fix in here :)
      
        All have been in linux-next with no reported issues"
      
      * tag 'usb-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usbip: usbip_host: fix stub_dev lock context imbalance regression
        media: smsusb: better handle optional alignment
        xhci: Use %zu for printing size_t type
        xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()
        xhci: Fix immediate data transfer if buffer is already DMA mapped
        usb: xhci: avoid null pointer deref when bos field is NULL
        usb: xhci: Fix a potential null pointer dereference in xhci_debugfs_create_endpoint()
        xhci: update bounce buffer with correct sg num
        media: usb: siano: Fix false-positive "uninitialized variable" warning
        USB: rio500: update Documentation
        USB: rio500: simplify locking
        USB: rio500: fix memory leak in close after disconnect
        USB: rio500: refuse more than one device at a time
        usbip: usbip_host: fix BUG: sleeping function called from invalid context
        USB: sisusbvga: fix oops in error path of sisusb_probe
        USB: Add LPM quirk for Surface Dock GigE adapter
        media: usb: siano: Fix general protection fault in smsusb
        usb: mtu3: fix up undefined reference to usb_debug_root
        USB: Fix slab-out-of-bounds write in usb_get_bos_descriptor
      e49c8547
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2019-05-31' of git://anongit.freedesktop.org/drm/drm · ca191804
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Nothing too crazy, pretty quiet, maybe too quiet.
      
        amdgpu:
         - a fixed version of the raven firmware fix we previously reverted
         - stolen memory fix
      
        imx:
         - regression fix
      
        qxl:
         - remove a bad warning
      
        etnaviv:
         - VM locking fix"
      
      * tag 'drm-fixes-2019-05-31' of git://anongit.freedesktop.org/drm/drm:
        drm/amdgpu: reserve stollen vram for raven series
        drm/etnaviv: lock MMU while dumping core
        drm/imx: ipuv3-plane: fix atomic update status query for non-plus i.MX6Q
        drm/qxl: drop WARN_ONCE()
        drm/amd/display: Don't load DMCU for Raven 1 (v2)
      ca191804
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 036e3431
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Fix OOPS during nf_tables rule dump, from Florian Westphal.
      
       2) Use after free in ip_vs_in, from Yue Haibing.
      
       3) Fix various kTLS bugs (NULL deref during device removal resync,
          netdev notification ignoring, etc.) From Jakub Kicinski.
      
       4) Fix ipv6 redirects with VRF, from David Ahern.
      
       5) Memory leak fix in igmpv3_del_delrec(), from Eric Dumazet.
      
       6) Missing memory allocation failure check in ip6_ra_control(), from
          Gen Zhang. And likewise fix ip_ra_control().
      
       7) TX clean budget logic error in aquantia, from Igor Russkikh.
      
       8) SKB leak in llc_build_and_send_ui_pkt(), from Eric Dumazet.
      
       9) Double frees in mlx5, from Parav Pandit.
      
      10) Fix lost MAC address in r8169 during PCI D3, from Heiner Kallweit.
      
      11) Fix botched register access in mvpp2, from Antoine Tenart.
      
      12) Use after free in napi_gro_frags(), from Eric Dumazet.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (89 commits)
        net: correct zerocopy refcnt with udp MSG_MORE
        ethtool: Check for vlan etype or vlan tci when parsing flow_rule
        net: don't clear sock->sk early to avoid trouble in strparser
        net-gro: fix use-after-free read in napi_gro_frags()
        net: dsa: tag_8021q: Create a stable binary format
        net: dsa: tag_8021q: Change order of rx_vid setup
        net: mvpp2: fix bad MVPP2_TXQ_SCHED_TOKEN_CNTR_REG queue value
        ipv4: tcp_input: fix stack out of bounds when parsing TCP options.
        mlxsw: spectrum: Prevent force of 56G
        mlxsw: spectrum_acl: Avoid warning after identical rules insertion
        net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT
        r8169: fix MAC address being lost in PCI D3
        net: core: support XDP generic on stacked devices.
        netvsc: unshare skb in VF rx handler
        udp: Avoid post-GRO UDP checksum recalculation
        net: phy: dp83867: Set up RGMII TX delay
        net: phy: dp83867: do not call config_init twice
        net: phy: dp83867: increase SGMII autoneg timer duration
        net: phy: dp83867: fix speed 10 in sgmii mode
        net: phy: marvell10g: report if the PHY fails to boot firmware
        ...
      036e3431
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · adc3f554
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "The fixes are still trickling in for arm64, but the only really
        significant one here is actually fixing a regression in the botched
        module relocation range checking merged for -rc2.
      
        Hopefully we've nailed it this time.
      
         - Fix implementation of our set_personality() system call, which
           wasn't being wrapped properly
      
         - Fix system call function types to keep CFI happy
      
         - Fix siginfo layout when delivering SIGKILL after a kernel fault
      
         - Really fix module relocation range checking"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: use the correct function type for __arm64_sys_ni_syscall
        arm64: use the correct function type in SYSCALL_DEFINE0
        arm64: fix syscall_fn_t type
        signal/arm64: Use force_sig not force_sig_fault for SIGKILL
        arm64/module: revert to unsigned interpretation of ABS16/32 relocations
        arm64: Fix the arm64_personality() syscall wrapper redirection
      adc3f554
    • Linus Torvalds's avatar
      Merge tag 'for-5.2-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 318adf8e
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
       "A few more fixes for bugs reported by users, fuzzing tools and
        regressions:
      
         - fix crashes in relocation:
             + resuming interrupted balance operation does not properly clean
               up orphan trees
             + with enabled qgroups, resuming needs to be more careful about
               block groups due to limited context when updating qgroups
      
         - fsync and logging fixes found by fuzzing
      
         - incremental send fixes for no-holes and clone
      
         - fix spin lock type used in timer function for zstd"
      
      * tag 'for-5.2-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        Btrfs: fix race updating log root item during fsync
        Btrfs: fix wrong ctime and mtime of a directory after log replay
        Btrfs: fix fsync not persisting changed attributes of a directory
        btrfs: qgroup: Check bg while resuming relocation to avoid NULL pointer dereference
        btrfs: reloc: Also queue orphan reloc tree for cleanup to avoid BUG_ON()
        Btrfs: incremental send, fix emission of invalid clone operations
        Btrfs: incremental send, fix file corruption when no-holes feature is enabled
        btrfs: correct zstd workspace manager lock to use spin_lock_bh()
        btrfs: Ensure replaced device doesn't have pending chunk allocation
      318adf8e
    • Linus Torvalds's avatar
      Merge tag 'configfs-for-5.2-2' of git://git.infradead.org/users/hch/configfs · 8cb7104d
      Linus Torvalds authored
      Pull configs fix from Christoph Hellwig:
      
       - fix a use after free in configfs_d_iput (Sahitya Tummala)
      
      * tag 'configfs-for-5.2-2' of git://git.infradead.org/users/hch/configfs:
        configfs: Fix use-after-free when accessing sd->s_dentry
      8cb7104d
    • Linus Torvalds's avatar
      Merge tag 'sound-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · c5ba1712
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "No big surprises here, just a few device-specific fixes.
      
        HD-audio received several fixes for Acer, Dell, Huawei and other
        laptops as well as the workaround for the new Intel chipset. One
        significant one-liner fix is the disablement of the node-power saving
        on Realtek codecs, which may potentially cover annoying bugs like the
        background noises or click noises on many devices.
      
        Other than that, a fix for FireWire bit definitions, and another fix
        for LINE6 USB audio bug that was discovered by syzkaller"
      
      * tag 'sound-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: fireface: Use ULL suffixes for 64-bit constants
        ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops
        ALSA: line6: Assure canceling delayed work at disconnection
        ALSA: hda - Force polling mode on CNL for fixing codec communication
        ALSA: hda/realtek - Enable micmute LED for Huawei laptops
        ALSA: hda/realtek - Set default power save node to 0
        ALSA: hda/realtek - Check headset type by unplug and resume
      c5ba1712
  2. 30 May, 2019 30 commits