1. 30 Sep, 2022 7 commits
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 70575e77
      Linus Torvalds authored
      Pull virtio fixes from Michael Tsirkin:
       "Some last minute fixes.
      
        The virtio-blk one is the most important one since it was actually
        seen in the field, but the rest of them are small and clearly safe,
        everything here has been in next for a while"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        vdpa/mlx5: Fix MQ to support non power of two num queues
        vduse: prevent uninitialized memory accesses
        virtio-blk: Fix WARN_ON_ONCE in virtio_queue_rq()
        virtio_test: fixup for vq reset
        virtio-crypto: fix memory-leak
        vdpa/ifcvf: fix the calculation of queuepair
      70575e77
    • Linus Torvalds's avatar
      Merge tag 'block-6.0-2022-09-29' of git://git.kernel.dk/linux · 7bc6e90d
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "A single NVMe pull request via Christoph with a few fixes that should
        go into the 6.0 release:
      
         - Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
           (Michael Kelley)
      
         - Disable Write Zeroes on Phison E3C/E4C (Tina Hsu)"
      
      * tag 'block-6.0-2022-09-29' of git://git.kernel.dk/linux:
        nvme-pci: disable Write Zeroes on Phison E3C/E4C
        nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
      7bc6e90d
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.0-2022-09-29' of git://git.kernel.dk/linux · a0debc4c
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "Two fixes that should go into 6.0:
      
         - Tweak the single issuer logic to register the task at creation,
           rather than at first submit. SINGLE_ISSUER was added for 6.0, and
           after some discussion on this, we decided to make it a bit stricter
           while it's still possible to do so (Dylan).
      
         - Stefan from Samba had some doubts on the level triggered poll that
           was added for this release. Rather than attempt to mess around with
           it now, just do the quick one-liner to disable it for release and
           we have time to discuss and change it for 6.1 instead (me)"
      
      * tag 'io_uring-6.0-2022-09-29' of git://git.kernel.dk/linux:
        io_uring/poll: disable level triggered poll
        io_uring: register single issuer task at creation
      a0debc4c
    • Linus Torvalds's avatar
      Merge tag 'pstore-v6.0-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · d649d2c4
      Linus Torvalds authored
      Pull pstore revert from Kees Cook:
       "A misbehavior with some compression backends in pstore was just
        discovered due to the recent crypto acomp migration.
      
        Since we're so close to release, it seems better to just simply revert
        it, and we can figure out what's going on without leaving it broken
        for a release.
      
         - Revert crypto acomp migration (Guilherme G. Piccoli)"
      
      * tag 'pstore-v6.0-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        Revert "pstore: migrate to crypto acomp interface"
      d649d2c4
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 89e10b86
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
       "One more fix for the upcoming release:
      
         - fix the check for pwm support on non-A8K platforms in gpio-mvebu"
      
      * tag 'gpio-fixes-for-v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: mvebu: Fix check for pwm support on non-A8K platforms
      89e10b86
    • Guilherme G. Piccoli's avatar
      Revert "pstore: migrate to crypto acomp interface" · 40158dbf
      Guilherme G. Piccoli authored
      This reverts commit e4f0a7ec.
      
      When using this new interface, both efi_pstore and ramoops
      backends are unable to properly decompress dmesg if using
      zstd, lz4 and lzo algorithms (and maybe more). It does succeed
      with deflate though.
      
      The message observed in the kernel log is:
      
      [2.328828] pstore: crypto_acomp_decompress failed, ret = -22!
      
      The pstore infrastructure is able to collect the dmesg with
      both backends tested, but since decompression fails it's
      unreadable. With this revert everything is back to normal.
      
      Fixes: e4f0a7ec ("pstore: migrate to crypto acomp interface")
      Cc: Ard Biesheuvel <ardb@kernel.org>
      Signed-off-by: default avatarGuilherme G. Piccoli <gpiccoli@igalia.com>
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      Link: https://lore.kernel.org/r/20220929215515.276486-1-gpiccoli@igalia.com
      40158dbf
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-09-30-1' of git://anongit.freedesktop.org/drm/drm · 5a773869
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Last set of fixes for 6.0 hopefully - minor bridge fixes, i915 fixes,
        and a bunch of amdgpu fixes for new IP blocks, along with a couple of
        regression fixes. Should be all set for merge window next week.
      
        amdgpu:
         - GC 11.x fixes
         - SMU 13.x fixes
         - DCN 3.1.4 fixes
         - DCN 3.2.x fixes
         - GC 9.x fix
         - Fence fix
         - SR-IOV supend/resume fix
         - PSR regression fix
      
        i915:
         - Restrict forced preemption to the active context
         - Restrict perf_limit_reasons to the supported platforms - gen11+
      
        bridge:
         - analogix: Revert earlier suspend fix
         - lt8912b: Fix corrupt display output"
      
      * tag 'drm-fixes-2022-09-30-1' of git://anongit.freedesktop.org/drm/drm: (26 commits)
        drm/amd/display: Prevent OTG shutdown during PSR SU
        drm/i915/gt: Perf_limit_reasons are only available for Gen11+
        drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV
        drm/amdgpu: Remove fence_process in count_emitted
        drm/amdgpu: Correct the position in patch_cond_exec
        drm/amd/display: fill in clock values when DPM is not enabled
        drm/amd/display: Avoid unnecessary pixel rate divider programming
        drm/amd/display: Remove assert for odm transition case
        drm/amd/display: Fix typo in get_pixel_rate_div
        drm/amd/display: Fix audio on display after unplugging another
        drm/amd/display: Add explicit FIFO disable for DP blank
        drm/amd/display: Wrap OTG disable workaround with FIFO control
        drm/amd/display: Do DIO FIFO enable after DP video stream enable
        drm/amd/display: Update DCN32 to use new SR latencies
        drm/amd/display: Avoid avoid unnecessary pixel rate divider programming
        drm/amdkfd: fix dropped interrupt in kfd_int_process_v11
        drm/amdgpu: pass queue size and is_aql_queue to MES
        drm/amdkfd: fix MQD init for GFX11 in init_mqd
        drm/amd/pm: use adverse selection for dpm features unsupported by driver
        drm/amd/pm: enable gfxoff feature for SMU 13.0.0
        ...
      5a773869
  2. 29 Sep, 2022 20 commits
  3. 28 Sep, 2022 9 commits
  4. 27 Sep, 2022 4 commits
    • Jakub Kicinski's avatar
      Merge tag 'wireless-2022-09-27' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless · 44d70bb5
      Jakub Kicinski authored
      Johannes Berg says:
      
      ====================
      A few late-comer fixes:
       * locking in mac80211 MLME
       * non-QoS driver crash/regression
       * minstrel memory corruption
       * TX deadlock
       * TX queues not always enabled
       * HE/EHT bitrate calculation
      
      * tag 'wireless-2022-09-27' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless:
        wifi: mac80211: mlme: Fix double unlock on assoc success handling
        wifi: mac80211: mlme: Fix missing unlock on beacon RX
        wifi: mac80211: fix memory corruption in minstrel_ht_update_rates()
        wifi: mac80211: fix regression with non-QoS drivers
        wifi: mac80211: ensure vif queues are operational after start
        wifi: mac80211: don't start TX with fq->lock to fix deadlock
        wifi: cfg80211: fix MCS divisor value
      ====================
      
      Link: https://lore.kernel.org/r/20220927135923.45312-1-johannes@sipsolutions.netSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      44d70bb5
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 49c13ed0
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "This should be the last set of bugfixes in the SoC tree:
      
         - Two fixes for Arm integrator, dealing with a regression caused by
           invalid DT properties combined with a change in dma address
           translation, and missing device_type annotations on the PCI bus
      
         - Fixes for drivers/reset/, addressing bugs in i.MX8MP, Sparx5 and
           NPCM8XX platforms
      
         - Bjorn Andersson's email address changes in the MAINTAINERS file
      
         - Multiple minor fixes to Qualcomm dts files, and a change to the
           remoteproc firmware filename that did not match the actual path in
           the linux-firmware package
      
         - Minor code fixes for the Allwinner/sunxi SRAM driver, and the
           broadcom STB Bus Interface Unit driver
      
         - A build fix for the sunplus sp7021 platform
      
         - Two dts fixes for TI OMAP family SoCs, addressing an extraneous
           usb4 device node and an incorrect DMA handle"
      
      * tag 'soc-fixes-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: dts: integrator: Fix DMA ranges
        ARM: dts: integrator: Tag PCI host with device_type
        ARM: sunplus: fix serial console kconfig and build problems
        reset: npcm: fix iprst2 and iprst4 setting
        arm64: dts: qcom: sm8350: fix UFS PHY serdes size
        soc: bcm: brcmstb: biuctrl: Avoid double of_node_put()
        arm64: dts: qcom: sc8280xp-x13s: Update firmware location
        soc: sunxi: sram: Fix debugfs info for A64 SRAM C
        soc: sunxi: sram: Fix probe function ordering issues
        soc: sunxi: sram: Prevent the driver from being unbound
        soc: sunxi: sram: Actually claim SRAM regions
        ARM: dts: am5748: keep usb4_tm disabled
        reset: microchip-sparx5: issue a reset on startup
        reset: imx7: Fix the iMX8MP PCIe PHY PERST support
        MAINTAINERS: Update Bjorn's email address
        arm64: dts: qcom: sc7280: move USB wakeup-source property
        arm64: dts: qcom: thinkpad-x13s: Fix firmware location
        arm64: dts: qcom: sm8150: Fix fastrpc iommu values
        ARM: dts: am33xx: Fix MMCHS0 dma properties
      49c13ed0
    • Eli Cohen's avatar
      vdpa/mlx5: Fix MQ to support non power of two num queues · a43ae805
      Eli Cohen authored
      RQT objects require that a power of two value be configured for both
      rqt_max_size and rqt_actual size.
      
      For create_rqt, make sure to round up to the power of two the value of
      given by the user who created the vdpa device and given by
      ndev->rqt_size. The actual size is also rounded up to the power of two
      using the current number of VQs given by ndev->cur_num_vqs.
      
      Same goes with modify_rqt where we need to make sure act size is power
      of two based on the new number of QPs.
      
      Without this patch, attempt to create a device with non power of two QPs
      would result in error from firmware.
      
      Fixes: 52893733 ("vdpa/mlx5: Add multiqueue support")
      Signed-off-by: default avatarEli Cohen <elic@nvidia.com>
      Message-Id: <20220912125019.833708-1-elic@nvidia.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      a43ae805
    • Maxime Coquelin's avatar
      vduse: prevent uninitialized memory accesses · 46f8a292
      Maxime Coquelin authored
      If the VDUSE application provides a smaller config space
      than the driver expects, the driver may use uninitialized
      memory from the stack.
      
      This patch prevents it by initializing the buffer passed by
      the driver to store the config value.
      
      This fix addresses CVE-2022-2308.
      
      Cc: stable@vger.kernel.org # v5.15+
      Fixes: c8a6153b ("vduse: Introduce VDUSE - vDPA Device in Userspace")
      Reviewed-by: default avatarXie Yongji <xieyongji@bytedance.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Signed-off-by: default avatarMaxime Coquelin <maxime.coquelin@redhat.com>
      Message-Id: <20220831154923.97809-1-maxime.coquelin@redhat.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
      46f8a292