1. 27 Jun, 2020 6 commits
    • 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
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 8530684f
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "The big fix here is to our vDSO sigreturn trampoline as, after a
        painfully long stint of debugging, it turned out that fixing some of
        our CFI directives in the merge window lit up a bunch of logic in
        libgcc which has been shown to SEGV in some cases during asynchronous
        pthread cancellation.
      
        It looks like we can fix this by extending the directives to restore
        most of the interrupted register state from the sigcontext, but it's
        risky and hard to test so we opted to remove the CFI directives for
        now and rely on the unwinder fallback path like we used to.
      
         - Fix unwinding through vDSO sigreturn trampoline
      
         - Fix build warnings by raising minimum LD version for PAC
      
         - Whitelist some Kryo Cortex-A55 derivatives for Meltdown and SSB
      
         - Fix perf register PC reporting for compat tasks
      
         - Fix 'make clean' warning for arm64 signal selftests
      
         - Fix ftrace when BTI is compiled in
      
         - Avoid building the compat vDSO using GCC plugins"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: Add KRYO{3,4}XX silver CPU cores to SSB safelist
        arm64: perf: Report the PC value in REGS_ABI_32 mode
        kselftest: arm64: Remove redundant clean target
        arm64: kpti: Add KRYO{3, 4}XX silver CPU cores to kpti safelist
        arm64: Don't insert a BTI instruction at inner labels
        arm64: vdso: Don't use gcc plugins for building vgettimeofday.c
        arm64: vdso: Only pass --no-eh-frame-hdr when linker supports it
        arm64: Depend on newer binutils when building PAC
        arm64: compat: Remove 32-bit sigreturn code from the vDSO
        arm64: compat: Always use sigpage for sigreturn trampoline
        arm64: compat: Allow 32-bit vdso and sigpage to co-exist
        arm64: vdso: Disable dwarf unwinding through the sigreturn trampoline
      8530684f
  2. 26 Jun, 2020 34 commits