Skip to content
  1. Dec 25, 2020
    • 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
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 14571d5f
      Linus Torvalds authored
      Pull devicetree fixes from Rob Herring:
      
       - Correct the JSON pointer syntax in binding schemas
      
       - Drop unnecessary *-supply schema constraints
      
       - Drop redundant maxItems/items on array schemas
      
       - Fix various yamllint warnings
      
       - Fix various missing 'additionalProperties' properties
      
      * tag 'devicetree-fixes-for-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        dt-bindings: Drop redundant maxItems/items
        dt-bindings: net: qcom,ipa: Drop unnecessary type ref on 'memory-region'
        dt-bindings: Drop unnecessary *-supply schemas properties
        dt-bindings/display: abt,y030xx067a: Fix binding
        dt-bindings: clock: imx8qxp-lpcg: eliminate yamllint warnings
        dt-bindings: display: eliminate yamllint warnings
        dt-bindings: media: nokia,smia: eliminate yamllint warnings
        dt-bindings: devapc: add the required property 'additionalProperties'
        dt-bindings: soc: add the required property 'additionalProperties'
        dt-bindings: serial: add the required property 'additionalProperties'
        dt-bindings: xlnx,vcu-settings: fix dt_binding_check warnings
        media: dt-bindings: coda: Add missing 'additionalProperties'
        dt-bindings: Fix JSON pointers
      14571d5f
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 64145482
      Linus Torvalds authored
      Pull virtio updates from Michael Tsirkin:
      
       - vdpa sim refactoring
      
       - virtio mem: Big Block Mode support
      
       - misc cleanus, fixes
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (61 commits)
        vdpa: Use simpler version of ida allocation
        vdpa: Add missing comment for virtqueue count
        uapi: virtio_ids: add missing device type IDs from OASIS spec
        uapi: virtio_ids.h: consistent indentions
        vhost scsi: fix error return code in vhost_scsi_set_endpoint()
        virtio_ring: Fix two use after free bugs
        virtio_net: Fix error code in probe()
        virtio_ring: Cut and paste bugs in vring_create_virtqueue_packed()
        tools/virtio: add barrier for aarch64
        tools/virtio: add krealloc_array
        tools/virtio: include asm/bug.h
        vdpa/mlx5: Use write memory barrier after updating CQ index
        vdpa: split vdpasim to core and net modules
        vdpa_sim: split vdpasim_virtqueue's iov field in out_iov and in_iov
        vdpa_sim: make vdpasim->buffer size configurable
        vdpa_sim: use kvmalloc to allocate vdpasim->buffer
        vdpa_sim: set vringh notify callback
        vdpa_sim: add set_config callback in vdpasim_dev_attr
        vdpa_sim: add get_config callback in vdpasim_dev_attr
        vdpa_sim: make 'config' generic and usable for any device type
        ...
      64145482
    • Dan Williams's avatar
      Merge branch 'for-5.11/dax' into for-5.11/libnvdimm · 127c3d2e
      Dan Williams authored
      Pull in miscellaneous device-dax fixups and cleanups for v5.11.
      127c3d2e
    • Zhen Lei's avatar
      device-dax: Avoid an unnecessary check in alloc_dev_dax_range() · ff8da37d
      Zhen Lei authored
      
      
      Swap the calling sequence of krealloc() and __request_region(), call the
      latter first. In this way, the value of dev_dax->nr_range does not need to
      be considered when __request_region() failed.
      
      Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
      Link: https://lore.kernel.org/r/20201219081840.1149-2-thunder.leizhen@huawei.com
      
      
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      ff8da37d
    • Dan Williams's avatar
      device-dax: Fix range release · 6268d7da
      Dan Williams authored
      
      
      There are multiple locations that open-code the release of the last
      range in a device-dax instance. Consolidate this into a new
      dev_dax_trim_range() helper.
      
      This also addresses a kmemleak report:
      
      # cat /sys/kernel/debug/kmemleak
      [..]
      unreferenced object 0xffff976bd46f6240 (size 64):
         comm "ndctl", pid 23556, jiffies 4299514316 (age 5406.733s)
         hex dump (first 32 bytes):
           00 00 00 00 00 00 00 00 00 00 20 c3 37 00 00 00  .......... .7...
           ff ff ff 7f 38 00 00 00 00 00 00 00 00 00 00 00  ....8...........
         backtrace:
           [<00000000064003cf>] __kmalloc_track_caller+0x136/0x379
           [<00000000d85e3c52>] krealloc+0x67/0x92
           [<00000000d7d3ba8a>] __alloc_dev_dax_range+0x73/0x25c
           [<0000000027d58626>] devm_create_dev_dax+0x27d/0x416
           [<00000000434abd43>] __dax_pmem_probe+0x1c9/0x1000 [dax_pmem_core]
           [<0000000083726c1c>] dax_pmem_probe+0x10/0x1f [dax_pmem]
           [<00000000b5f2319c>] nvdimm_bus_probe+0x9d/0x340 [libnvdimm]
           [<00000000c055e544>] really_probe+0x230/0x48d
           [<000000006cabd38e>] driver_probe_device+0x122/0x13b
           [<0000000029c7b95a>] device_driver_attach+0x5b/0x60
           [<0000000053e5659b>] bind_store+0xb7/0xc3
           [<00000000d3bdaadc>] drv_attr_store+0x27/0x31
           [<00000000949069c5>] sysfs_kf_write+0x4a/0x57
           [<000000004a8b5adf>] kernfs_fop_write+0x150/0x1e5
           [<00000000bded60f0>] __vfs_write+0x1b/0x34
           [<00000000b92900f0>] vfs_write+0xd8/0x1d1
      
      Reported-by: default avatarJane Chu <jane.chu@oracle.com>
      Cc: Zhen Lei <thunder.leizhen@huawei.com>
      Link: https://lore.kernel.org/r/160834570161.1791850.14911670304441510419.stgit@dwillia2-desk3.amr.corp.intel.com
      
      
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      6268d7da
  2. Dec 24, 2020
  3. Dec 23, 2020