1. 28 Jun, 2020 24 commits
  2. 27 Jun, 2020 16 commits
    • Linus Torvalds's avatar
      Merge tag '5.8-rc2-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 · 916a3b0f
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "Six cifs/smb3 fixes, three of them for stable.
      
        Fixes xfstests 451, 313 and 316"
      
      * tag '5.8-rc2-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: misc: Use array_size() in if-statement controlling expression
        cifs: update ctime and mtime during truncate
        cifs/smb3: Fix data inconsistent when punch hole
        cifs/smb3: Fix data inconsistent when zero file range
        cifs: Fix double add page to memcg when cifs_readpages
        cifs: Fix cached_fid refcnt leak in open_shroot
      916a3b0f
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 3cd1c5d5
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Six small fixes, five in drivers and one to correct another minor
        regression from cc97923a ("block: move dma drain handling to
        scsi") where we still need the drain stub to be built in to the kernel
        for the modular libata, non-modular SAS driver case"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: mptscsih: Fix read sense data size
        scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action
        scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset()
        scsi: libata: Fix the ata_scsi_dma_need_drain stub
        scsi: qla2xxx: Keep initiator ports after RSCN
        scsi: qla2xxx: Set NVMe status code for failed NVMe FCP request
      3cd1c5d5
    • Linus Torvalds's avatar
      Merge tag 'vfio-v5.8-rc3' of git://github.com/awilliam/linux-vfio · c322f539
      Linus Torvalds authored
      Pull VFIO fixes from Alex Williamson:
      
       - Fix double free of eventfd ctx (Alex Williamson)
      
       - Fix duplicate use of capability ID (Alex Williamson)
      
       - Fix SR-IOV VF memory enable handling (Alex Williamson)
      
      * tag 'vfio-v5.8-rc3' of git://github.com/awilliam/linux-vfio:
        vfio/pci: Fix SR-IOV VF handling with MMIO blocking
        vfio/type1: Fix migration info capability ID
        vfio/pci: Clear error and request eventfd ctx after releasing
      c322f539
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 8bf98651
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "This contains a 5.8 regression fix for the Designware driver, a
        register bitfield fix for the fsi driver, and a missing sanity check
        for the I2C core"
      
      * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: core: check returned size of emulated smbus block read
        i2c: fsi: Fix the port number field in status register
        i2c: designware: Adjust bus speed independently of ACPI
      8bf98651
    • Linus Torvalds's avatar
      Merge tag 'staging-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 42afe7d1
      Linus Torvalds authored
      Pull staging driver fixes from Greg KH:
       "Here are a small number of tiny staging driver fixes for 5.8-rc3.
      
        Not much here, but there were some reported problems to be fixed:
      
         - three wfx driver fixes
      
         - rtl8723bs driver fix
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'staging-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
        staging: wfx: fix coherency of hif_scan() prototype
        staging: wfx: drop useless loop
        staging: wfx: fix AC priority
      42afe7d1
    • Linus Torvalds's avatar
      Merge tag 'usb-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 7eb8f53b
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes for 5.8-rc3 to resolve some reported
        issues.
      
        Nothing major here:
      
         - gadget driver fixes
      
         - cdns3 driver fixes
      
         - xhci fixes
      
         - renesas_usbhs driver fixes
      
         - some new device support with ids
      
         - documentation update
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (27 commits)
        usb: renesas_usbhs: getting residue from callback_result
        Revert "usb: dwc3: exynos: Add support for Exynos5422 suspend clk"
        xhci: Poll for U0 after disabling USB2 LPM
        xhci: Return if xHCI doesn't support LPM
        usb: host: xhci-mtk: avoid runtime suspend when removing hcd
        xhci: Fix enumeration issue when setting max packet size for FS devices.
        xhci: Fix incorrect EP_STATE_MASK
        usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
        usb: cdns3: trace: using correct dir value
        usb: cdns3: ep0: fix the test mode set incorrectly
        Revert "usb: dwc3: exynos: Add support for Exynos5422 suspend clk"
        usb: gadget: udc: Potential Oops in error handling code
        usb: phy: tegra: Fix unnecessary check in tegra_usb_phy_probe()
        usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work
        usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
        usb: cdns3: trace: using correct dir value
        usb: cdns3: ep0: fix the test mode set incorrectly
        usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs
        USB: ohci-sm501: Add missed iounmap() in remove
        cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip
        ...
      7eb8f53b
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · fc3ebc3c
      Linus Torvalds authored
      Pull char/misc fixes from Greg KH:
       "Some tiny char/misc driver fixes for 5.8-rc3.
      
        The "largest" changes are in the mei driver, to resolve some reported
        problems and add some new device ids. There's also a binder bugfix, an
        fpga driver build fix, and some assorted habanalabs fixes.
      
        All of these, except for the habanalabs fixes, have been in linux-next
        with no reported issues. The habanalabs driver changes showed up in my
        tree on Friday, but as they are totally self-contained, all should be
        good there"
      
      * tag 'char-misc-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        habanalabs: increase h/w timer when checking idle
        habanalabs: Correct handling when failing to enqueue CB
        habanalabs: increase GAUDI QMAN ARB WDT timeout
        habanalabs: rename mmu_write() to mmu_asid_va_write()
        habanalabs: use PI in MMU cache invalidation
        habanalabs: block scalar load_and_exe on external queue
        mei: me: add tiger lake point device ids for H platforms.
        mei: me: disable mei interface on Mehlow server platforms
        binder: fix null deref of proc->context
        fpga: zynqmp: fix modular build
      fc3ebc3c
    • Linus Torvalds's avatar
      Merge tag 'edac_urgent_for_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras · 42f8f9bc
      Linus Torvalds authored
      Pull EDAC fix from Borislav Petkov:
       "A single fix for amd64_edac restoring the reporting of the DRAM scrub
        rate on family 0x15 CPUs"
      
      * tag 'edac_urgent_for_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
        EDAC/amd64: Read back the scrub rate PCI register on F15h
      42f8f9bc
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-5.8-4' of git://git.infradead.org/users/hch/dma-mapping · f05baa06
      Linus Torvalds authored
      Pull dma-mapping fixes from Christoph Hellwig:
      
       - fix dma coherent mmap in nommu (me)
      
       - more AMD SEV fallout (David Rientjes, me)
      
       - fix alignment in dma_common_*_remap (Eric Auger)
      
      * tag 'dma-mapping-5.8-4' of git://git.infradead.org/users/hch/dma-mapping:
        dma-remap: align the size in dma_common_*_remap()
        dma-mapping: DMA_COHERENT_POOL should select GENERIC_ALLOCATOR
        dma-direct: add missing set_memory_decrypted() for coherent mapping
        dma-direct: check return value when encrypting or decrypting memory
        dma-direct: re-encrypt memory if dma_direct_alloc_pages() fails
        dma-direct: always align allocation size in dma_direct_alloc_pages()
        dma-direct: mark __dma_direct_alloc_pages static
        dma-direct: re-enable mmap for !CONFIG_MMU
      f05baa06
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.8-2' of git://git.linux-nfs.org/projects/anna/linux-nfs · 4e99b321
      Linus Torvalds authored
      Pull NFS client bugfixes from Anna Schumaker:
       "Stable Fixes:
         - xprtrdma: Fix handling of RDMA_ERROR replies
         - sunrpc: Fix rollback in rpc_gssd_dummy_populate()
         - pNFS/flexfiles: Fix list corruption if the mirror count changes
         - NFSv4: Fix CLOSE not waiting for direct IO completion
         - SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
      
        Other Fixes:
         - xprtrdma: Fix a use-after-free with r_xprt->rx_ep
         - Fix other xprtrdma races during disconnect
         - NFS: Fix memory leak of export_path"
      
      * tag 'nfs-for-5.8-2' of git://git.linux-nfs.org/projects/anna/linux-nfs:
        SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
        NFSv4 fix CLOSE not waiting for direct IO compeletion
        pNFS/flexfiles: Fix list corruption if the mirror count changes
        nfs: Fix memory leak of export_path
        sunrpc: fixed rollback in rpc_gssd_dummy_populate()
        xprtrdma: Fix handling of RDMA_ERROR replies
        xprtrdma: Clean up disconnect
        xprtrdma: Clean up synopsis of rpcrdma_flush_disconnect()
        xprtrdma: Use re_connect_status safely in rpcrdma_xprt_connect()
        xprtrdma: Prevent dereferencing r_xprt->rx_ep after it is freed
      4e99b321
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.8-2020-06-26' of git://git.kernel.dk/linux-block · ab0f2473
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Three small fixes:
      
         - Close a corner case for polled IO resubmission (Pavel)
      
         - Toss commands when exiting (Pavel)
      
         - Fix SQPOLL conditional reschedule on perpetually busy submit
           (Xuan)"
      
      * tag 'io_uring-5.8-2020-06-26' of git://git.kernel.dk/linux-block:
        io_uring: fix current->mm NULL dereference on exit
        io_uring: fix hanging iopoll in case of -EAGAIN
        io_uring: fix io_sq_thread no schedule when busy
      ab0f2473
    • Linus Torvalds's avatar
      Merge tag 'block-5.8-2020-06-26' of git://git.kernel.dk/linux-block · 9b8d0207
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request from Christoph:
          - multipath deadlock fixes (Anton)
          - NUMA fixes (Max)
          - RDMA completion vector fix (Max)
          - IO deadlock fix (Sagi)
          - multipath reference fix (Sagi)
          - NS mutation fix (Sagi)
      
       - Use right allocator when freeing bip in error path (Chengguang)
      
      * tag 'block-5.8-2020-06-26' of git://git.kernel.dk/linux-block:
        nvme-multipath: fix bogus request queue reference put
        nvme-multipath: fix deadlock due to head->lock
        nvme: don't protect ns mutation with ns->head->lock
        nvme-multipath: fix deadlock between ana_work and scan_work
        nvme: fix possible deadlock when I/O is blocked
        nvme-rdma: assign completion vector correctly
        nvme-loop: initialize tagset numa value to the value of the ctrl
        nvme-tcp: initialize tagset numa value to the value of the ctrl
        nvme-pci: initialize tagset numa value to the value of the ctrl
        nvme-pci: override the value of the controller's numa node
        nvme: set initial value for controller's numa node
        block: release bip in a right way in error path
      9b8d0207
    • Linus Torvalds's avatar
      Merge tag 'for-5.8/dm-fixes' of... · 5e8eed27
      Linus Torvalds authored
      Merge tag 'for-5.8/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper fixes from Mike Snitzer:
      
       - Quite a few DM zoned target fixes and a Zone append fix in DM core.
      
         Considering the amount of dm-zoned changes that went in during the
         5.8 merge window these fixes are not that surprising.
      
       - A few DM writecache target fixes.
      
       - A fix to Documentation index to include DM ebs target docs.
      
       - Small cleanup to use struct_size() in DM core's retrieve_deps().
      
      * tag 'for-5.8/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm writecache: add cond_resched to loop in persistent_memory_claim()
        dm zoned: Fix reclaim zone selection
        dm zoned: Fix random zone reclaim selection
        dm: update original bio sector on Zone Append
        dm zoned: Fix metadata zone size check
        docs: device-mapper: add dm-ebs.rst to an index file
        dm ioctl: use struct_size() helper in retrieve_deps()
        dm writecache: skip writecache_wait when using pmem mode
        dm writecache: correct uncommitted_block when discarding uncommitted entry
        dm zoned: assign max_io_len correctly
        dm zoned: fix uninitialized pointer dereference
      5e8eed27
    • Linus Torvalds's avatar
      Merge tag 'kgdb-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux · 6116dea8
      Linus Torvalds authored
      Pull kgdb fixes from Daniel Thompson:
       "The main change here is a fix for a number of unsafe interactions
        between kdb and the console system. The fixes are specific to kdb
        (pure kgdb debugging does not use the console system at all). On
        systems with an NMI then kdb, if it is enabled, must get messages to
        the user despite potentially running from some "difficult" calling
        contexts. These fixes avoid using the console system where we have
        been provided an alternative (safer) way to interact with the user
        and, if using the console system in unavoidable, use oops_in_progress
        for deadlock avoidance. These fixes also ensure kdb honours the
        console enable flag.
      
        Also included is a fix that wraps kgdb trap handling in an RCU read
        lock to avoids triggering diagnostic warnings. This is a wide lock
        scope but this is OK because kgdb is a stop-the-world debugger. When
        we stop the world we put all the CPUs into holding pens and this
        inhibits RCU update anyway"
      
      * tag 'kgdb-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux:
        kgdb: Avoid suspicious RCU usage warning
        kdb: Switch to use safer dbg_io_ops over console APIs
        kdb: Make kdb_printf() console handling more robust
        kdb: Check status of console prior to invoking handlers
        kdb: Re-factor kdb_printf() message write code
      6116dea8
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.8-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 21d2f685
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - A fix for a crash in nested KVM when CONFIG_DEBUG_VIRTUAL=y.
      
       - Two minor build fixes.
      
      Thanks to: Aneesh Kumar K.V, Arseny Solokha, Harish.
      
      * tag 'powerpc-5.8-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        selftests/powerpc: Fix build failure in ebb tests
        powerpc/kvm/book3s64: Fix kernel crash with nested kvm & DEBUG_VIRTUAL
        powerpc/fsl_booke/32: Fix build with CONFIG_RANDOMIZE_BASE
      21d2f685
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 3b6ab101
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
       "This contains a handful of fixes I'd like to target for rc3.
      
        Most of them fix issues with the conversion of our vDSO to C. There is
        also one fix to the SiFive PRCI driver that I picked up as it's
        causing boot issues on the hardware.
      
         - A fix to allow kernels with dynamic ftrace to use the vDSO.
      
         - Some build fixes for the C vDSO functions.
      
         - A fix to the PRCI driver's memory allocation, which was the cause
           of some boot panics with FREELIST_RANDOM"
      
      * tag 'riscv-for-linus-5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Fixup __vdso_gettimeofday broke dynamic ftrace
        riscv: Add extern declarations for vDSO time-related functions
        clk: sifive: allocate sufficient memory for struct __prci_data
        riscv: Add -fPIC option to CFLAGS_vgettimeofday.o
      3b6ab101