1. 28 Mar, 2021 3 commits
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.12-2021-03-27' of git://git.kernel.dk/linux-block · b44d1ddc
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Use thread info versions of flag testing, as discussed last week.
      
       - The series enabling PF_IO_WORKER to just take signals, instead of
         needing to special case that they do not in a bunch of places. Ends
         up being pretty trivial to do, and then we can revert all the special
         casing we're currently doing.
      
       - Kill dead pointer assignment
      
       - Fix hashed part of async work queue trace
      
       - Fix sign extension issue for IORING_OP_PROVIDE_BUFFERS
      
       - Fix a link completion ordering regression in this merge window
      
       - Cancellation fixes
      
      * tag 'io_uring-5.12-2021-03-27' of git://git.kernel.dk/linux-block:
        io_uring: remove unsued assignment to pointer io
        io_uring: don't cancel extra on files match
        io_uring: don't cancel-track common timeouts
        io_uring: do post-completion chore on t-out cancel
        io_uring: fix timeout cancel return code
        Revert "signal: don't allow STOP on PF_IO_WORKER threads"
        Revert "kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing"
        Revert "kernel: treat PF_IO_WORKER like PF_KTHREAD for ptrace/signals"
        Revert "signal: don't allow sending any signals to PF_IO_WORKER threads"
        kernel: stop masking signals in create_io_thread()
        io_uring: handle signals for IO threads like a normal thread
        kernel: don't call do_exit() for PF_IO_WORKER threads
        io_uring: maintain CQE order of a failed link
        io-wq: fix race around pending work on teardown
        io_uring: do ctx sqd ejection in a clear context
        io_uring: fix provide_buffers sign extension
        io_uring: don't skip file_end_write() on reissue
        io_uring: correct io_queue_async_work() traces
        io_uring: don't use {test,clear}_tsk_thread_flag() for current
      b44d1ddc
    • Linus Torvalds's avatar
      Merge tag 'block-5.12-2021-03-27' of git://git.kernel.dk/linux-block · abed516e
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - Fix regression from this merge window with the xarray partition
         change, which allowed partition counts that overflow the u8 that
         holds the partition number (Ming)
      
       - Fix zone append warning (Johannes)
      
       - Segmentation count fix for multipage bvecs (David)
      
       - Partition scan fix (Chris)
      
      * tag 'block-5.12-2021-03-27' of git://git.kernel.dk/linux-block:
        block: don't create too many partitions
        block: support zone append bvecs
        block: recalculate segment count for multi-segment discards correctly
        block: clear GD_NEED_PART_SCAN later in bdev_disk_changed
      abed516e
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · e8cfe8fa
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Seven fixes, all in drivers (qla2xxx, mkt3sas, qedi, target,
        ibmvscsi).
      
        The most serious are the target pscsi oom and the qla2xxx revert which
        can otherwise cause a use after free"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
        scsi: target: pscsi: Avoid OOM in pscsi_map_sg()
        scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
        scsi: qedi: Fix error return code of qedi_alloc_global_queues()
        scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
        scsi: ibmvfc: Make ibmvfc_wait_for_ops() MQ aware
        scsi: ibmvfc: Fix potential race in ibmvfc_wait_for_ops()
      e8cfe8fa
  2. 27 Mar, 2021 12 commits
  3. 26 Mar, 2021 12 commits
    • Jens Axboe's avatar
      kernel: don't call do_exit() for PF_IO_WORKER threads · 10442994
      Jens Axboe authored
      Right now we're never calling get_signal() from PF_IO_WORKER threads, but
      in preparation for doing so, don't handle a fatal signal for them. The
      workers have state they need to cleanup when exiting, so just return
      instead of calling do_exit() on their behalf. The threads themselves will
      detect a fatal signal and do proper shutdown.
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      10442994
    • Linus Torvalds's avatar
      Merge tag 'for-5.12/dm-fixes-2' of... · 0f4498ce
      Linus Torvalds authored
      Merge tag 'for-5.12/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper fixes from Mike Snitzer:
      
       - Fix DM verity target's optional argument processing.
      
       - Fix DM core's zoned model and zone sectors checks.
      
       - Fix spurious "detected capacity change" pr_info() when creating new
         DM device.
      
       - Fix DM ioctl out of bounds array access in handling of
         DM_LIST_DEVICES_CMD when no devices exist.
      
      * tag 'for-5.12/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm ioctl: fix out of bounds array access when no devices
        dm: don't report "detected capacity change" on device creation
        dm table: Fix zoned model check and zone sectors check
        dm verity: fix DM_VERITY_OPTS_MAX value
      0f4498ce
    • Mikulas Patocka's avatar
      dm ioctl: fix out of bounds array access when no devices · 4edbe1d7
      Mikulas Patocka authored
      If there are not any dm devices, we need to zero the "dev" argument in
      the first structure dm_name_list. However, this can cause out of
      bounds write, because the "needed" variable is zero and len may be
      less than eight.
      
      Fix this bug by reporting DM_BUFFER_FULL_FLAG if the result buffer is
      too small to hold the "nl->dev" value.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      4edbe1d7
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 7931c531
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "These fix a memory management regression in ACPICA, repair an ACPI
        blacklist entry damaged inadvertently during the 5.11 cycle and fix
        the bookkeeping of devices with the same primary device ID in the ACPI
        core.
      
        Specifics:
      
         - Make ACPICA use the same object cache consistently when allocating
           and freeing objects (Vegard Nossum)
      
         - Add a callback pointer removed inadvertently during the 5.11 cycle
           to the ACPI backlight blacklist entry for Sony VPCEH3U1E (Chris
           Chiu)
      
         - Make the ACPI device enumeration core use IDA for creating names of
           ACPI device objects with the same primary device ID to avoid using
           duplicate device object names in some cases (Andy Shevchenko)"
      
      * tag 'acpi-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPICA: Always create namespace nodes using acpi_ns_create_node()
        ACPI: scan: Use unique number for instance_no
        ACPI: video: Add missing callback back for Sony VPCEH3U1E
      7931c531
    • Linus Torvalds's avatar
      Merge tag 'pm-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 8a3cbdda
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These fix an issue related to device links in the runtime PM framework
        and debugfs usage in the Energy Model code.
      
        Specifics:
      
         - Modify the runtime PM device suspend to avoid suspending supplier
           devices before the consumer device's status changes to
           RPM_SUSPENDED (Rafael Wysocki)
      
         - Change the Energy Model code to prevent it from attempting to
           create its main debugfs directory too early (Lukasz Luba)"
      
      * tag 'pm-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM: EM: postpone creating the debugfs dir till fs_initcall
        PM: runtime: Defer suspending suppliers
      8a3cbdda
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · eb3991ef
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "Too many fixes have accumulated in the soc tree, so this is a fairly
        large set. As usual, most of the fixes are for devicetree files, but
        there are also notable code changes for imx and omap regressions as
        well as some maintainer file updates.
      
        imx:
         - Fix an Ethernet issue on imx6ul-14x14-evk board that is caused by
           independent PHY reset.
      
         - Add missing `dma-coherent` property for LayerScape device trees to
           fix a kernel BUG report.
      
         - Use IRQCHIP_DECLARE for AVIC driver to fix a boot issue on i.MX25
           with fw_devlink=on.
      
         - Add missing I2C pinctrl entry for imx8mp-phyboard-pollux-rdk board
           to fix the broken I2C GPIO recovery support.
      
         - Add `fsl,use-minimum-ecc` property for imx6ull-myir-mys-6ulx-eval
           device tree to fix UBI filesystem mount failure.
      
        at91:
         - wrong phy address that blocks Ethernet use on boards with sama5d27
           SoM1
      
         - restrictive pin possibilities for sam9x60
      
        omap:
         - Fix ocp interconnect bus access error reporting for omap_l3_noc by
           setting IRQF_NO_THREAD
      
         - Fix changed mmc slot order regression by adding mmc aliases for
           am335x
      
         - Fix dra7 reboot regression caused by invalid pcie reset map
      
         - Fix smartreflex init regression caused by dropped legacy data
      
         - Fix ti-sysc driver warning on unbind if reset is not deasserted
      
         - Fix flakey reset deassert for dra7 iva
      
        stm32:
         - MAINTAINER file updates
      
        broadcom:
         - brcmstb SoC ID build fix
      
         - MAINTAINER file updates"
      
      * tag 'soc-fixes-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        MAINTAINERS: Add Alain Volmat as STM32 I2C/SMBUS maintainer
        MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.
        MAINTAINERS: Update some st.com email addresses to foss.st.com
        ARM: dts: imx6ull: fix ubi filesystem mount failed
        ARM: imx6ul-14x14-evk: Do not reset the Ethernet PHYs independently
        arm64: dts: imx8mp-phyboard-pollux-rdk: Add missing pinctrl entry
        arm64: dts: ls1012a: mark crypto engine dma coherent
        arm64: dts: ls1043a: mark crypto engine dma coherent
        arm64: dts: ls1046a: mark crypto engine dma coherent
        ARM: imx: avic: Convert to using IRQCHIP_DECLARE
        ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet
        ARM: dts: at91: sam9x60: fix mux-mask for PA7 so it can be set to A, B and C
        ARM: dts: at91-sama5d27_som1: fix phy address to 7
        soc: ti: omap-prm: Fix occasional abort on reset deassert for dra7 iva
        bus: ti-sysc: Fix warning on unbind if reset is not deasserted
        ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data
        soc: ti: omap-prm: Fix reboot issue with invalid pcie reset map for dra7
        MAINTAINERS: rectify BROADCOM PMB (POWER MANAGEMENT BUS) DRIVER
        ARM: dts: am33xx: add aliases for mmc interfaces
        bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
      eb3991ef
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.12b-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 6c20f6df
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
       "This contains a small series with a more elegant fix of a problem
        which was originally fixed in rc2"
      
      * tag 'for-linus-5.12b-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        Revert "xen: fix p2m size in dom0 for disabled memory hotplug case"
        xen/x86: make XEN_BALLOON_MEMORY_HOTPLUG_LIMIT depend on MEMORY_HOTPLUG
      6c20f6df
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2021-03-26' of git://anongit.freedesktop.org/drm/drm · f944d061
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "As expected last week things were overly quiet so this week things
        seem to have caught up. It still isn't too major.
      
        msm and amdgpu lead the size here, the msm fixes are pretty varied
        across the driver, the amdgpu one is mostly the S0ix fixes with some
        other minor ones. Otherwise there are a few i915 fixes and one each
        for nouveau, etnaviv and rcar-du.
      
        msm:
         - pll fixes
         - shutdown hook fix
         - runtime resume fix
         - clear_oob fix
         - kms locking fix
         - display aux retry fix
      
        rcar-du:
         - warn_on in encoder init fix
      
        etnaviv:
         - Use FOLL_FORCE and FOLL_LONGTERM
      
        i915:
         - DisplayPort LTTPR fixes around link training and limiting it
           according to supported spec version.
         - Fix enabled_planes bitmask to really represent only logically
           enabled planes.
         - Fix DSS CTL registers for ICL DSI transcoders
         - Fix the GT fence revocation runtime PM logic.
      
        nouveau:
         - cursor size regression fix
      
        amdgpu:
         - S0ix fixes
         - Add PCI ID
         - Polaris PCIe DPM fix
         - Display fix for high refresh rate monitors"
      
      * tag 'drm-fixes-2021-03-26' of git://anongit.freedesktop.org/drm/drm: (37 commits)
        drm/nouveau/kms/nve4-nv108: Limit cursors to 128x128
        drm/i915: Fix the GT fence revocation runtime PM logic
        drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x
        drm/amdgpu: Add additional Sienna Cichlid PCI ID
        drm/amd/pm: workaround for audio noise issue
        drm/i915/dsc: fix DSS CTL register usage for ICL DSI transcoders
        drm/i915: Fix enabled_planes bitmask
        drm/i915: Disable LTTPR support when the LTTPR rev < 1.4
        drm/i915: Disable LTTPR support when the DPCD rev < 1.4
        drm/i915/ilk-glk: Fix link training on links with LTTPRs
        drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume
        drm/amdgpu: skip kfd suspend/resume for S0ix
        drm/amdgpu: drop S0ix checks around CG/PG in suspend
        drm/amdgpu: skip CG/PG for gfx during S0ix
        drm/amdgpu: update comments about s0ix suspend/resume
        drm/amdgpu/swsmu: skip gfx cgpg on s0ix suspend
        drm/amdgpu: re-enable suspend phase 2 for S0ix
        drm/amdgpu: move s0ix check into amdgpu_device_ip_suspend_phase2 (v3)
        drm/amdgpu: clean up non-DC suspend/resume handling
        drm/amdgpu: don't evict vram on APUs for suspend to ram (v4)
        ...
      f944d061
    • Pavel Machek's avatar
      remove Dan Murphy from TI from MAINTAINERS · 57a90062
      Pavel Machek authored
      Dan's address bounces, and has been bouncing for some time as he moved
      to other projects.
      
      I believe TI should be more careful with this, and should assign
      alternate contacts for their drivers.
      
      Anyway what we can do now is to remove the obsolete address.
      Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      57a90062
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-video' and 'acpi-scan' · e1db18b5
      Rafael J. Wysocki authored
      * acpi-video:
        ACPI: video: Add missing callback back for Sony VPCEH3U1E
      
      * acpi-scan:
        ACPI: scan: Use unique number for instance_no
      e1db18b5
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-em' · 6f3a283c
      Rafael J. Wysocki authored
      * pm-em:
        PM: EM: postpone creating the debugfs dir till fs_initcall
      6f3a283c
    • Dave Airlie's avatar
      Merge tag 'drm-msm-fixes-2021-02-25' of https://gitlab.freedesktop.org/drm/msm into drm-fixes · 09d78dde
      Dave Airlie authored
      - pll fixes
      - shutdown hook fix
      - runtime resume fix
      - clear_oob fix
      - kms locking fix
      - display aux retry fix
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Rob Clark <robdclark@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/CAF6AEGvmiMKRms_NVavD=NA_jbuexZUcqqL35ke7umqpp-TxMw@mail.gmail.com
      09d78dde
  4. 25 Mar, 2021 13 commits