1. 06 Jan, 2021 4 commits
    • Sagi Grimberg's avatar
      nvme-tcp: Fix possible race of io_work and direct send · 5c11f7d9
      Sagi Grimberg authored
      We may send a request (with or without its data) from two paths:
      
        1. From our I/O context nvme_tcp_io_work which is triggered from:
          - queue_rq
          - r2t reception
          - socket data_ready and write_space callbacks
        2. Directly from queue_rq if the send_list is empty (because we want to
           save the context switch associated with scheduling our io_work).
      
      However, given that now we have the send_mutex, we may run into a race
      condition where none of these contexts will send the pending payload to
      the controller. Both io_work send path and queue_rq send path
      opportunistically attempt to acquire the send_mutex however queue_rq only
      attempts to send a single request, and if io_work context fails to
      acquire the send_mutex it will complete without rescheduling itself.
      
      The race can trigger with the following sequence:
      
        1. queue_rq sends request (no incapsule data) and blocks
        2. RX path receives r2t - prepares data PDU to send, adds h2cdata PDU
           to the send_list and schedules io_work
        3. io_work triggers and cannot acquire the send_mutex - because of (1),
           ends without self rescheduling
        4. queue_rq completes the send, and completes
      
      ==> no context will send the h2cdata - timeout.
      
      Fix this by having queue_rq sending as much as it can from the send_list
      such that if it still has any left, its because the socket buffer is
      full and the socket write_space callback will trigger, thus guaranteeing
      that a context will be scheduled to send the h2cdata PDU.
      
      Fixes: db5ad6b7 ("nvme-tcp: try to send request in queue_rq context")
      Reported-by: default avatarPotnuri Bharat Teja <bharat@chelsio.com>
      Reported-by: default avatarSamuel Jones <sjones@kalrayinc.com>
      Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
      Tested-by: default avatarPotnuri Bharat Teja <bharat@chelsio.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      5c11f7d9
    • Gopal Tiwari's avatar
      nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN · 7ee5c78c
      Gopal Tiwari authored
      A system with more than one of these SSDs will only have one usable.
      Hence the kernel fails to detect nvme devices due to duplicate cntlids.
      
      [    6.274554] nvme nvme1: Duplicate cntlid 33 with nvme0, rejecting
      [    6.274566] nvme nvme1: Removing after probe failure status: -22
      
      Adding the NVME_QUIRK_IGNORE_DEV_SUBNQN quirk to resolves the issue.
      Signed-off-by: default avatarGopal Tiwari <gtiwari@redhat.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      7ee5c78c
    • James Smart's avatar
      nvme-fcloop: Fix sscanf type and list_first_entry_or_null warnings · 2b54996b
      James Smart authored
      Kernel robot had the following warnings:
      
      >> fcloop.c:1506:6: warning: %x in format string (no. 1) requires
      >> 'unsigned int *' but the argument type is 'signed int *'.
      >> [invalidScanfArgType_int]
      >>    if (sscanf(buf, "%x:%d:%d", &opcode, &starting, &amount) != 3)
      >>        ^
      
      Resolve by changing opcode from and int to an unsigned int
      
      and
      
      >>  fcloop.c:1632:32: warning: Uninitialized variable: lport [uninitvar]
      >>     ret = __wait_localport_unreg(lport);
      >>                                  ^
      
      >>  fcloop.c:1615:28: warning: Uninitialized variable: nport [uninitvar]
      >>     ret = __remoteport_unreg(nport, rport);
      >>                              ^
      
      These aren't actual issues as the values are assigned prior to use.
      It appears the tool doesn't understand list_first_entry_or_null().
      Regardless, quiet the tool by initializing the pointers to NULL at
      declaration.
      Signed-off-by: default avatarJames Smart <james.smart@broadcom.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      2b54996b
    • James Smart's avatar
      nvme-fc: avoid calling _nvme_fc_abort_outstanding_ios from interrupt context · 19fce047
      James Smart authored
      Recent patches changed calling sequences. nvme_fc_abort_outstanding_ios
      used to be called from a timeout or work context. Now it is being called
      in an io completion context, which can be an interrupt handler.
      Unfortunately, the abort outstanding ios routine attempts to stop nvme
      queues and nested routines that may try to sleep, which is in conflict
      with the interrupt handler.
      
      Correct replacing the direct call with a work element scheduling, and the
      abort outstanding ios routine will be called in the work element.
      
      Fixes: 95ced8a2 ("nvme-fc: eliminate terminate_io use by nvme_fc_error_recovery")
      Signed-off-by: default avatarJames Smart <james.smart@broadcom.com>
      Reported-by: default avatarDaniel Wagner <dwagner@suse.de>
      Tested-by: default avatarDaniel Wagner <dwagner@suse.de>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      19fce047
  2. 05 Jan, 2021 3 commits
    • Ming Lei's avatar
      block: fix use-after-free in disk_part_iter_next · aebf5db9
      Ming Lei authored
      Make sure that bdgrab() is done on the 'block_device' instance before
      referring to it for avoiding use-after-free.
      
      Cc: <stable@vger.kernel.org>
      Reported-by: syzbot+825f0f9657d4e528046e@syzkaller.appspotmail.com
      Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      aebf5db9
    • Jan Kara's avatar
      bfq: Fix computation of shallow depth · 6d4d2735
      Jan Kara authored
      BFQ computes number of tags it allows to be allocated for each request type
      based on tag bitmap. However it uses 1 << bitmap.shift as number of
      available tags which is wrong. 'shift' is just an internal bitmap value
      containing logarithm of how many bits bitmap uses in each bitmap word.
      Thus number of tags allowed for some request types can be far to low.
      Use proper bitmap.depth which has the number of tags instead.
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      6d4d2735
    • Tejun Heo's avatar
      blk-iocost: fix NULL iocg deref from racing against initialization · d16baa3f
      Tejun Heo authored
      When initializing iocost for a queue, its rqos should be registered before
      the blkcg policy is activated to allow policy data initiailization to lookup
      the associated ioc. This unfortunately means that the rqos methods can be
      called on bios before iocgs are attached to all existing blkgs.
      
      While the race is theoretically possible on ioc_rqos_throttle(), it mostly
      happened in ioc_rqos_merge() due to the difference in how they lookup ioc.
      The former determines it from the passed in @rqos and then bails before
      dereferencing iocg if the looked up ioc is disabled, which most likely is
      the case if initialization is still in progress. The latter looked up ioc by
      dereferencing the possibly NULL iocg making it a lot more prone to actually
      triggering the bug.
      
      * Make ioc_rqos_merge() use the same method as ioc_rqos_throttle() to look
        up ioc for consistency.
      
      * Make ioc_rqos_throttle() and ioc_rqos_merge() test for NULL iocg before
        dereferencing it.
      
      * Explain the danger of NULL iocgs in blk_iocost_init().
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Reported-by: default avatarJonathan Lemon <bsd@fb.com>
      Cc: stable@vger.kernel.org # v5.4+
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      d16baa3f
  3. 03 Jan, 2021 2 commits
  4. 29 Dec, 2020 2 commits
  5. 27 Dec, 2020 8 commits
  6. 26 Dec, 2020 5 commits
  7. 25 Dec, 2020 5 commits
    • Linus Torvalds's avatar
      drm/amd/display: avoid uninitialized variable warning · 61d79136
      Linus Torvalds authored
      clang (quite rightly) complains fairly loudly about the newly added
      mpc1_get_mpc_out_mux() function returning an uninitialized value if the
      'opp_id' checks don't pass.
      
      This may not happen in practice, but the code really shouldn't return
      garbage if the sanity checks don't pass.
      
      So just initialize 'val' to zero to avoid the issue.
      
      Fixes: 110b055b ("drm/amd/display: add getter routine to retrieve mpcc mux")
      Cc: Josip Pavic <Josip.Pavic@amd.com>
      Cc: Bindu Ramamurthy <bindu.r@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      61d79136
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-2020-12-24' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux · 5814bc2d
      Linus Torvalds authored
      Pull more perf tools updates from Arnaldo Carvalho de Melo:
      
       - Refactor 'perf stat' per CPU/socket/die/thread aggregation fixing use
         cases in ARM machines.
      
       - Fix memory leak when synthesizing SDT probes in 'perf probe'.
      
       - Update kernel header copies related to KVM, epol_pwait. msr-index and
         powerpc and s390 syscall tables.
      
      * tag 'perf-tools-2020-12-24' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (24 commits)
        perf probe: Fix memory leak when synthesizing SDT probes
        perf stat aggregation: Add separate thread member
        perf stat aggregation: Add separate core member
        perf stat aggregation: Add separate die member
        perf stat aggregation: Add separate socket member
        perf stat aggregation: Add separate node member
        perf stat aggregation: Start using cpu_aggr_id in map
        perf cpumap: Drop in cpu_aggr_map struct
        perf cpumap: Add new map type for aggregation
        perf stat: Replace aggregation ID with a struct
        perf cpumap: Add new struct for cpu aggregation
        perf cpumap: Use existing allocator to avoid using malloc
        perf tests: Improve topology test to check all aggregation types
        perf tools: Update s390's syscall.tbl copy from the kernel sources
        perf tools: Update powerpc's syscall.tbl copy from the kernel sources
        perf s390: Move syscall.tbl check into check-headers.sh
        perf powerpc: Move syscall.tbl check to check-headers.sh
        tools headers UAPI: Synch KVM's svm.h header with the kernel
        tools kvm headers: Update KVM headers from the kernel sources
        tools headers UAPI: Sync KVM's vmx.h header with the kernel sources
        ...
      5814bc2d
    • Linus Torvalds's avatar
      Merge branch 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux · 42dc45e8
      Linus Torvalds authored
      Pull coccinelle updates from Julia Lawall.
      
      * 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
        scripts: coccicheck: Correct usage of make coccicheck
        coccinelle: update expiring email addresses
        coccinnelle: Remove ptr_ret script
        kbuild: do not use scripts/ld-version.sh for checking spatch version
        remove boolinit.cocci
      42dc45e8
    • Michael Ellerman's avatar
      genirq: Fix export of irq_to_desc() for powerpc KVM · 11cc92eb
      Michael Ellerman authored
      Commit 64a1b95b ("genirq: Restrict export of irq_to_desc()") removed
      the export of irq_to_desc() unless powerpc KVM is being built, because
      there is still a use of irq_to_desc() in modular code there.
      
      However it used:
      
        #ifdef CONFIG_KVM_BOOK3S_64_HV
      
      Which doesn't work when that symbol is =m, leading to a build failure:
      
        ERROR: modpost: "irq_to_desc" [arch/powerpc/kvm/kvm-hv.ko] undefined!
      
      Fix it by checking for the definedness of the correct symbol which is
      CONFIG_KVM_BOOK3S_64_HV_MODULE.
      
      Fixes: 64a1b95b ("genirq: Restrict export of irq_to_desc()")
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      11cc92eb
    • Linus Torvalds's avatar
      Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 7bb5226c
      Linus Torvalds authored
      Pull misc vfs updates from Al Viro:
       "Assorted patches from previous cycle(s)..."
      
      * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fix hostfs_open() use of ->f_path.dentry
        Make sure that make_create_in_sticky() never sees uninitialized value of dir_mode
        fs: Kill DCACHE_DONTCACHE dentry even if DCACHE_REFERENCED is set
        fs: Handle I_DONTCACHE in iput_final() instead of generic_drop_inode()
        fs/namespace.c: WARN if mnt_count has become negative
      7bb5226c
  8. 24 Dec, 2020 11 commits
    • Linus Torvalds's avatar
      Merge tag 'docs-5.11-2' of git://git.lwn.net/linux · 71c5f031
      Linus Torvalds authored
      Pull documentation fixes from Jonathan Corbet:
       "A small set of late-arriving, small documentation fixes"
      
      * tag 'docs-5.11-2' of git://git.lwn.net/linux:
        docs: admin-guide: Fix default value of max_map_count in sysctl/vm.rst
        Documentation/submitting-patches: Document the SoB chain
        Documentation: process: Correct numbering
        docs: submitting-patches: Trivial - fix grammatical error
      71c5f031
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 555a6e8c
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
       "Various bug fixes and cleanups for ext4; no new features this cycle"
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (29 commits)
        ext4: remove unnecessary wbc parameter from ext4_bio_write_page
        ext4: avoid s_mb_prefetch to be zero in individual scenarios
        ext4: defer saving error info from atomic context
        ext4: simplify ext4 error translation
        ext4: move functions in super.c
        ext4: make ext4_abort() use __ext4_error()
        ext4: standardize error message in ext4_protect_reserved_inode()
        ext4: remove redundant sb checksum recomputation
        ext4: don't remount read-only with errors=continue on reboot
        ext4: fix deadlock with fs freezing and EA inodes
        jbd2: add a helper to find out number of fast commit blocks
        ext4: make fast_commit.h byte identical with e2fsprogs/fast_commit.h
        ext4: fix fall-through warnings for Clang
        ext4: add docs about fast commit idempotence
        ext4: remove the unused EXT4_CURRENT_REV macro
        ext4: fix an IS_ERR() vs NULL check
        ext4: check for invalid block size early when mounting a file system
        ext4: fix a memory leak of ext4_free_data
        ext4: delete nonsensical (commented-out) code inside ext4_xattr_block_set()
        ext4: update ext4_data_block_valid related comments
        ...
      555a6e8c
    • Linus Torvalds's avatar
      Merge tag 'Smack-for-5.11-io_uring-fix' of git://github.com/cschaufler/smack-next · 2f2fce3d
      Linus Torvalds authored
      Pull smack fix from Casey Schaufler:
       "Provide a fix for the incorrect handling of privilege in the face of
        io_uring's use of kernel threads. That invalidated an long standing
        assumption regarding the privilege of kernel threads.
      
        The fix is simple and safe. It was provided by Jens Axboe and has been
        tested"
      
      * tag 'Smack-for-5.11-io_uring-fix' of git://github.com/cschaufler/smack-next:
        Smack: Handle io_uring kernel thread privileges
      2f2fce3d
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 7a2fde8d
      Linus Torvalds authored
      Pull RISC-V fix from Palmer Dabbelt
       "Avoid trying to initialize memory regions outside the usable range"
      
      * tag 'riscv-for-linus-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        RISC-V: Fix usage of memblock_enforce_memory_limit
      7a2fde8d
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 9b3f7f1b
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Four commits fixing various things in the new C VDSO code
      
       - One fix for a 32-bit VMAP stack bug
      
       - Two minor build fixes
      
      Thanks to Cédric Le Goater, Christophe Leroy, and Will Springer.
      
      * tag 'powerpc-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/32: Fix vmap stack - Properly set r1 before activating MMU on syscall too
        powerpc/vdso: Fix DOTSYM for 32-bit LE VDSO
        powerpc/vdso: Don't pass 64-bit ABI cflags to 32-bit VDSO
        powerpc/vdso: Block R_PPC_REL24 relocations
        powerpc/smp: Add __init to init_big_cores()
        powerpc/time: Force inlining of get_tb()
        powerpc/boot: Fix build of dts/fsl
      9b3f7f1b
    • Linus Torvalds's avatar
      Merge tag 'irq-core-2020-12-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3913d00a
      Linus Torvalds authored
      Pull irq updates from Thomas Gleixner:
       "This is the second attempt after the first one failed miserably and
        got zapped to unblock the rest of the interrupt related patches.
      
        A treewide cleanup of interrupt descriptor (ab)use with all sorts of
        racy accesses, inefficient and disfunctional code. The goal is to
        remove the export of irq_to_desc() to prevent these things from
        creeping up again"
      
      * tag 'irq-core-2020-12-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (30 commits)
        genirq: Restrict export of irq_to_desc()
        xen/events: Implement irq distribution
        xen/events: Reduce irq_info:: Spurious_cnt storage size
        xen/events: Only force affinity mask for percpu interrupts
        xen/events: Use immediate affinity setting
        xen/events: Remove disfunct affinity spreading
        xen/events: Remove unused bind_evtchn_to_irq_lateeoi()
        net/mlx5: Use effective interrupt affinity
        net/mlx5: Replace irq_to_desc() abuse
        net/mlx4: Use effective interrupt affinity
        net/mlx4: Replace irq_to_desc() abuse
        PCI: mobiveil: Use irq_data_get_irq_chip_data()
        PCI: xilinx-nwl: Use irq_data_get_irq_chip_data()
        NTB/msi: Use irq_has_action()
        mfd: ab8500-debugfs: Remove the racy fiddling with irq_desc
        pinctrl: nomadik: Use irq_has_action()
        drm/i915/pmu: Replace open coded kstat_irqs() copy
        drm/i915/lpe_audio: Remove pointless irq_to_desc() usage
        s390/irq: Use irq_desc_kstat_cpu() in show_msi_interrupt()
        parisc/irq: Use irq_desc_kstat_cpu() in show_interrupts()
        ...
      3913d00a
    • Linus Torvalds's avatar
      Merge tag 'efi_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4a1106af
      Linus Torvalds authored
      Pull EFI updates from Borislav Petkov:
       "These got delayed due to a last minute ia64 build issue which got
        fixed in the meantime.
      
        EFI updates collected by Ard Biesheuvel:
      
         - Don't move BSS section around pointlessly in the x86 decompressor
      
         - Refactor helper for discovering the EFI secure boot mode
      
         - Wire up EFI secure boot to IMA for arm64
      
         - Some fixes for the capsule loader
      
         - Expose the RT_PROP table via the EFI test module
      
         - Relax DT and kernel placement restrictions on ARM
      
        with a few followup fixes:
      
         - fix the build breakage on IA64 caused by recent capsule loader
           changes
      
         - suppress a type mismatch build warning in the expansion of
           EFI_PHYS_ALIGN on ARM"
      
      * tag 'efi_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        efi: arm: force use of unsigned type for EFI_PHYS_ALIGN
        efi: ia64: disable the capsule loader
        efi: stub: get rid of efi_get_max_fdt_addr()
        efi/efi_test: read RuntimeServicesSupported
        efi: arm: reduce minimum alignment of uncompressed kernel
        efi: capsule: clean scatter-gather entries from the D-cache
        efi: capsule: use atomic kmap for transient sglist mappings
        efi: x86/xen: switch to efi_get_secureboot_mode helper
        arm64/ima: add ima_arch support
        ima: generalize x86/EFI arch glue for other EFI architectures
        efi: generalize efi_get_secureboot
        efi/libstub: EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER should not default to yes
        efi/x86: Only copy the compressed kernel image in efi_relocate_kernel()
        efi/libstub/x86: simplify efi_is_native()
      4a1106af
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.11-2020-12-23' of git://git.kernel.dk/linux-block · 60e8edd2
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "All straight fixes, or a prep patch for a fix, either bound for stable
        or fixing issues from this merge window. In particular:
      
         - Fix new shutdown op not breaking links on failure
      
         - Hold mm->mmap_sem for mm->locked_vm manipulation
      
         - Various cancelation fixes (me, Pavel)
      
         - Fix error path potential double ctx free (Pavel)
      
         - IOPOLL fixes (Xiaoguang)"
      
      * tag 'io_uring-5.11-2020-12-23' of git://git.kernel.dk/linux-block:
        io_uring: hold uring_lock while completing failed polled io in io_wq_submit_work()
        io_uring: fix double io_uring free
        io_uring: fix ignoring xa_store errors
        io_uring: end waiting before task cancel attempts
        io_uring: always progress task_work on task cancel
        io-wq: kill now unused io_wq_cancel_all()
        io_uring: make ctx cancel on exit targeted to actual ctx
        io_uring: fix 0-iov read buffer select
        io_uring: close a small race gap for files cancel
        io_uring: fix io_wqe->work_list corruption
        io_uring: limit {io|sq}poll submit locking scope
        io_uring: inline io_cqring_mark_overflow()
        io_uring: consolidate CQ nr events calculation
        io_uring: remove racy overflow list fast checks
        io_uring: cancel reqs shouldn't kill overflow list
        io_uring: hold mmap_sem for mm->locked_vm manipulation
        io_uring: break links on shutdown failure
      60e8edd2
    • Linus Torvalds's avatar
      Merge tag 'block-5.11-2020-12-23' of git://git.kernel.dk/linux-block · 771e7e41
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "A few stragglers in here, but mostly just straight fixes. In
        particular:
      
         - Set of rnbd fixes for issues around changes for the merge window
           (Gioh, Jack, Md Haris Iqbal)
      
         - iocost tracepoint addition (Baolin)
      
         - Copyright/maintainers update (Christoph)
      
         - Remove old blk-mq fast path CPU warning (Daniel)
      
         - loop max_part fix (Josh)
      
         - Remote IPI threaded IRQ fix (Sebastian)
      
         - dasd stable fixes (Stefan)
      
         - bcache merge window fixup and style fixup (Yi, Zheng)"
      
      * tag 'block-5.11-2020-12-23' of git://git.kernel.dk/linux-block:
        md/bcache: convert comma to semicolon
        bcache:remove a superfluous check in register_bcache
        block: update some copyrights
        block: remove a pointless self-reference in block_dev.c
        MAINTAINERS: add fs/block_dev.c to the block section
        blk-mq: Don't complete on a remote CPU in force threaded mode
        s390/dasd: fix list corruption of lcu list
        s390/dasd: fix list corruption of pavgroup group list
        s390/dasd: prevent inconsistent LCU device data
        s390/dasd: fix hanging device offline processing
        blk-iocost: Add iocg idle state tracepoint
        nbd: Respect max_part for all partition scans
        block/rnbd-clt: Does not request pdu to rtrs-clt
        block/rnbd-clt: Dynamically allocate sglist for rnbd_iu
        block/rnbd: Set write-back cache and fua same to the target device
        block/rnbd: Fix typos
        block/rnbd-srv: Protect dev session sysfs removal
        block/rnbd-clt: Fix possible memleak
        block/rnbd-clt: Get rid of warning regarding size argument in strlcpy
        blk-mq: Remove 'running from the wrong CPU' warning
      771e7e41
    • Linus Torvalds's avatar
      Merge tag 'libnvdimm-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 1f13d2f7
      Linus Torvalds authored
      Pull libnvdimm updates from Dan Williams:
       "Twas the day before Christmas and the only thing stirring in libnvdimm
        / device-dax land is a pile of miscellaneous fixups and cleanups.
      
        The bulk of it has appeared in -next save the last two patches to
        device-dax that have passed my build and unit tests.
      
         - Fix a long standing block-window-namespace issue surfaced by the
           ndctl change to attempt to preserve the kernel device name over
           a 'reconfigure'
      
         - Fix a few error path memory leaks in nfit and device-dax
      
         - Silence a smatch warning in the ioctl path
      
         - Miscellaneous cleanups"
      
      * tag 'libnvdimm-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        device-dax: Avoid an unnecessary check in alloc_dev_dax_range()
        device-dax: Fix range release
        device-dax: delete a redundancy check in dev_dax_validate_align()
        libnvdimm/label: Return -ENXIO for no slot in __blk_label_update
        device-dax/core: Fix memory leak when rmmod dax.ko
        device-dax/pmem: Convert comma to semicolon
        libnvdimm: Cleanup include of badblocks.h
        ACPI: NFIT: Fix input validation of bus-family
        libnvdimm/namespace: Fix reaping of invalidated block-window-namespace labels
        ACPI/nfit: avoid accessing uninitialized memory in acpi_nfit_ctl()
      1f13d2f7
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2020-12-24' of git://anongit.freedesktop.org/drm/drm · ef2c8b81
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Xmas eve pull request present.
      
        Just some fixes that trickled in this past week: Mostly amdgpu fixes,
        with a dma-buf/mips build fix and some misc komeda fixes.
      
        dma-buf:
         - fix build on mips
      
        komeda:
         - fix commit tail operation order
         - NULL pointer fix
         - out of bounds access fix
      
        ttm:
         - remove an unused function
      
        amdgpu:
         - Vangogh SMU fixes
         - Arcturus gfx9 fixes
         - Misc display fixes
         - Sienna Cichlid SMU update
         - Fix S3 display memory leak
         - Fix regression caused by DP sub-connector support
      
        amdkfd:
         - Properly require pcie atomics for gfx10"
      
      * tag 'drm-next-2020-12-24' of git://anongit.freedesktop.org/drm/drm: (31 commits)
        drm/amd/display: Fix memory leaks in S3 resume
        drm/amdgpu: Fix a copy-pasta comment
        drm/amdgpu: only set DP subconnector type on DP and eDP connectors
        drm/amd/pm: bump Sienna Cichlid smu_driver_if version to match latest pmfw
        drm/amd/display: add getter routine to retrieve mpcc mux
        drm/amd/display: always program DPPDTO unless not safe to lower
        drm/amd/display: [FW Promotion] Release 0.0.47
        drm/amd/display: updated wm table for Renoir
        drm/amd/display: Acquire DSC during split stream for ODM only if top_pipe
        drm/amd/display: Multi-display underflow observed
        drm/amd/display: Remove unnecessary NULL check
        drm/amd/display: Update RN/VGH active display count workaround
        drm/amd/display: change SMU repsonse timeout to 2s.
        drm/amd/display: gradually ramp ABM intensity
        drm/amd/display: To modify the condition in indicating branch device
        drm/amd/display: Modify the hdcp device count check condition
        drm/amd/display: Interfaces for hubp blank and soft reset
        drm/amd/display: handler not correctly checked at remove_irq_handler
        drm/amdgpu: check gfx pipe availability before toggling its interrupts
        drm/amdgpu: remove unnecessary asic type check
        ...
      ef2c8b81