1. 18 Apr, 2020 7 commits
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 50cc09c1
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Seven fixes: three in target, one on a sg error leg, two in qla2xxx
        fixing warnings introduced in the last merge window and updating
        MAINTAINERS and one in hisi_sas fixing a problem introduced by libata"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: sg: add sg_remove_request in sg_common_write
        scsi: target: tcmu: reset_ring should reset TCMU_DEV_BIT_BROKEN
        scsi: target: fix PR IN / READ FULL STATUS for FC
        scsi: target: Write NULL to *port_nexus_ptr if no ISID
        scsi: MAINTAINERS: Update qla2xxx FC-SCSI driver maintainer
        scsi: qla2xxx: Fix regression warnings
        scsi: hisi_sas: Fix build error without SATA_HOST
      50cc09c1
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v5.7-rc2' of... · eeaa7625
      Linus Torvalds authored
      Merge tag 'hwmon-for-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon fixes from Guenter Roeck:
      
       - Fix up chip IDs (isl68137)
      
       - error handling for invalid temperatures and use true module name
         (drivetemp)
      
       - Fix static symbol warnings (k10temp)
      
       - Use valid hwmon device name (jc42)
      
      * tag 'hwmon-for-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (jc42) Fix name to have no illegal characters
        hwmon: (k10temp) make some symbols static
        hwmon: (drivetemp) Return -ENODATA for invalid temperatures
        hwmon: (drivetemp) Use drivetemp's true module name in Kconfig section
        hwmon: (pmbus/isl68137) Fix up chip IDs
      eeaa7625
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.7-fixes-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · c0d73a86
      Linus Torvalds authored
      Pull xfs fixes from Darrick Wong:
       "The three commits here fix some livelocks and other clashes with
        fsfreeze, a potential corruption problem, and a minor race between
        processes freeing and allocating space when the filesystem is near
        ENOSPC.
      
        Summary:
      
         - Fix a partially uninitialized variable.
      
         - Teach the background gc threads to apply for fsfreeze protection.
      
         - Fix some scaling problems when multiple threads try to flush the
           filesystem when we're about to hit ENOSPC"
      
      * tag 'xfs-5.7-fixes-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: move inode flush to the sync workqueue
        xfs: fix partially uninitialized structure in xfs_reflink_remap_extent
        xfs: acquire superblock freeze protection on eofblocks scans
      c0d73a86
    • Linus Torvalds's avatar
      Merge tag 'for-linus-2020-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 774acb2a
      Linus Torvalds authored
      Pull thread fixes from Christian Brauner:
       "A few fixes and minor improvements:
      
         - Correctly validate the cgroup file descriptor when clone3() is used
           with CLONE_INTO_CGROUP.
      
         - Check that a new enough version of struct clone_args is passed
           which supports the cgroup file descriptor argument when
           CLONE_INTO_CGROUP is set in the flags argument.
      
         - Catch nonsensical struct clone_args layouts at build time.
      
         - Catch extensions of struct clone_args without updating the uapi
           visible size definitions at build time.
      
         - Check whether the signal is valid early in kill_pid_usb_asyncio()
           before doing further work.
      
         - Replace open-coded rcu_read_lock()+kill_pid_info()+rcu_read_unlock()
           sequence in kill_something_info() with kill_proc_info() which is a
           dedicated helper to do just that"
      
      * tag 'for-linus-2020-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        clone3: add build-time CLONE_ARGS_SIZE_VER* validity checks
        clone3: add a check for the user struct size if CLONE_INTO_CGROUP is set
        clone3: fix cgroup argument sanity check
        signal: use kill_proc_info instead of kill_pid_info in kill_something_info
        signal: check sig before setting info in kill_pid_usb_asyncio
      774acb2a
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · b484f3c3
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Some driver bugfixes and an old API removal now that all users are
        gone"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: tegra: Synchronize DMA before termination
        i2c: tegra: Better handle case where CPU0 is busy for a long time
        i2c: remove i2c_new_probed_device API
        i2c: altera: use proper variable to hold errno
        i2c: designware: platdrv: Remove DPM_FLAG_SMART_SUSPEND flag on BYT and CHT
      b484f3c3
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2020-04-18' of git://anongit.freedesktop.org/drm/drm · fecca689
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Quiet enough for rc2, mostly amdgpu fixes, a couple of i915 fixes, and
        one nouveau module firmware fix:
      
        i915:
         - Fix guest page access by using the brand new VFIO dma r/w interface (Yan)
         - Fix for i915 perf read buffers (Ashutosh)
      
        amdgpu:
         - gfx10 fix
         - SMU7 overclocking fix
         - RAS fix
         - GPU reset fix
         - Fix a regression in a previous suspend/resume fix
         - Add a gfxoff quirk
      
        nouveau:
         - fix missing MODULE_FIRMWARE"
      
      * tag 'drm-fixes-2020-04-18' of git://anongit.freedesktop.org/drm/drm:
        drm/nouveau/sec2/gv100-: add missing MODULE_FIRMWARE()
        drm/amdgpu/gfx9: add gfxoff quirk
        drm/amdgpu: fix the hw hang during perform system reboot and reset
        drm/i915/gvt: switch to user vfio_group_pin/upin_pages
        drm/i915/gvt: subsitute kvm_read/write_guest with vfio_dma_rw
        drm/i915/gvt: hold reference of VFIO group during opening of vgpu
        drm/i915/perf: Do not clear pollin for small user read buffers
        drm/amdgpu: fix wrong vram lost counter increment V2
        drm/amd/powerplay: unload mp1 for Arcturus RAS baco reset
        drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled
        Revert "drm/amdgpu: change SH MEM alignment mode for gfx10"
      fecca689
    • Sascha Hauer's avatar
      hwmon: (jc42) Fix name to have no illegal characters · c843b382
      Sascha Hauer authored
      The jc42 driver passes I2C client's name as hwmon device name. In case
      of device tree probed devices this ends up being part of the compatible
      string, "jc-42.4-temp". This name contains hyphens and the hwmon core
      doesn't like this:
      
      jc42 2-0018: hwmon: 'jc-42.4-temp' is not a valid name attribute, please fix
      
      This changes the name to "jc42" which doesn't have any illegal
      characters.
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      Link: https://lore.kernel.org/r/20200417092853.31206-1-s.hauer@pengutronix.deSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      c843b382
  2. 17 Apr, 2020 28 commits
  3. 16 Apr, 2020 5 commits
    • Linus Torvalds's avatar
      Merge tag 'tag-chrome-platform-fixes-for-v5.7-rc2' of... · 2fcd8014
      Linus Torvalds authored
      Merge tag 'tag-chrome-platform-fixes-for-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
      
      Pull chrome-platform fixes from Benson Leung:
       "Two small fixes for cros_ec_sensorhub_ring.c, addressing issues
        introduced in the cros_ec_sensorhub FIFO support commit"
      
      * tag 'tag-chrome-platform-fixes-for-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
        platform/chrome: cros_ec_sensorhub: Add missing '\n' in log messages
        platform/chrome: cros_ec_sensorhub: Off by one in cros_sensorhub_send_sample()
      2fcd8014
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · c8372665
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Disable RISCV BPF JIT builds when !MMU, from Björn Töpel.
      
       2) nf_tables leaves dangling pointer after free, fix from Eric Dumazet.
      
       3) Out of boundary write in __xsk_rcv_memcpy(), fix from Li RongQing.
      
       4) Adjust icmp6 message source address selection when routes have a
          preferred source address set, from Tim Stallard.
      
       5) Be sure to validate HSR protocol version when creating new links,
          from Taehee Yoo.
      
       6) CAP_NET_ADMIN should be sufficient to manage l2tp tunnels even in
          non-initial namespaces, from Michael Weiß.
      
       7) Missing release firmware call in mlx5, from Eran Ben Elisha.
      
       8) Fix variable type in macsec_changelink(), caught by KASAN. Fix from
          Taehee Yoo.
      
       9) Fix pause frame negotiation in marvell phy driver, from Clemens
          Gruber.
      
      10) Record RX queue early enough in tun packet paths such that XDP
          programs will see the correct RX queue index, from Gilberto Bertin.
      
      11) Fix double unlock in mptcp, from Florian Westphal.
      
      12) Fix offset overflow in ARM bpf JIT, from Luke Nelson.
      
      13) marvell10g needs to soft reset PHY when coming out of low power
          mode, from Russell King.
      
      14) Fix MTU setting regression in stmmac for some chip types, from
          Florian Fainelli.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (101 commits)
        amd-xgbe: Use __napi_schedule() in BH context
        mISDN: make dmril and dmrim static
        net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes
        net: dsa: mt7530: fix tagged frames pass-through in VLAN-unaware mode
        tipc: fix incorrect increasing of link window
        Documentation: Fix tcp_challenge_ack_limit default value
        net: tulip: make early_486_chipsets static
        dt-bindings: net: ethernet-phy: add desciption for ethernet-phy-id1234.d400
        ipv6: remove redundant assignment to variable err
        net/rds: Use ERR_PTR for rds_message_alloc_sgs()
        net: mscc: ocelot: fix untagged packet drops when enslaving to vlan aware bridge
        selftests/bpf: Check for correct program attach/detach in xdp_attach test
        libbpf: Fix type of old_fd in bpf_xdp_set_link_opts
        libbpf: Always specify expected_attach_type on program load if supported
        xsk: Add missing check on user supplied headroom size
        mac80211: fix channel switch trigger from unknown mesh peer
        mac80211: fix race in ieee80211_register_hw()
        net: marvell10g: soft-reset the PHY when coming out of low power
        net: marvell10g: report firmware version
        net/cxgb4: Check the return from t4_query_params properly
        ...
      c8372665
    • Sebastian Andrzej Siewior's avatar
      amd-xgbe: Use __napi_schedule() in BH context · d518691c
      Sebastian Andrzej Siewior authored
      The driver uses __napi_schedule_irqoff() which is fine as long as it is
      invoked with disabled interrupts by everybody. Since the commit
      mentioned below the driver may invoke xgbe_isr_task() in tasklet/softirq
      context. This may lead to list corruption if another driver uses
      __napi_schedule_irqoff() in IRQ context.
      
      Use __napi_schedule() which safe to use from IRQ and softirq context.
      
      Fixes: 85b85c85 ("amd-xgbe: Re-issue interrupt if interrupt status not cleared")
      Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Acked-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
      Cc: Tom Lendacky <thomas.lendacky@amd.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d518691c
    • Jason Yan's avatar
      mISDN: make dmril and dmrim static · 05eab4f3
      Jason Yan authored
      Fix the following sparse warning:
      
      drivers/isdn/hardware/mISDN/mISDNisar.c:746:12: warning: symbol 'dmril'
      was not declared. Should it be static?
      drivers/isdn/hardware/mISDN/mISDNisar.c:749:12: warning: symbol 'dmrim'
      was not declared. Should it be static?
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      05eab4f3
    • Florian Fainelli's avatar
      net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes · 806fd188
      Florian Fainelli authored
      After commit bfcb8132 ("net: dsa:
      configure the MTU for switch ports") my Lamobo R1 platform which uses
      an allwinner,sun7i-a20-gmac compatible Ethernet MAC started to fail
      by rejecting a MTU of 1536. The reason for that is that the DMA
      capabilities are not readable on this version of the IP, and there
      is also no 'tx-fifo-depth' property being provided in Device Tree. The
      property is documented as optional, and is not provided.
      
      Chen-Yu indicated that the FIFO sizes are 4KB for TX and 16KB for RX, so
      provide these values through platform data as an immediate fix until
      various Device Tree sources get updated accordingly.
      
      Fixes: eaf4fac4 ("net: stmmac: Do not accept invalid MTU values")
      Suggested-by: default avatarChen-Yu Tsai <wens@csie.org>
      Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      806fd188