1. 22 Jul, 2022 11 commits
    • Linus Torvalds's avatar
      Merge tag 'block-5.19-2022-07-21' of git://git.kernel.dk/linux-block · d945404f
      Linus Torvalds authored
      Pull block fix from Jens Axboe:
       "Just a single fix for missing error propagation for an allocation
        failure in raid5"
      
      * tag 'block-5.19-2022-07-21' of git://git.kernel.dk/linux-block:
        md/raid5: missing error code in setup_conf()
      d945404f
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-5.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 4a1dcf77
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Two driver bugfixes and a typo fix"
      
      * tag 'i2c-for-5.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: cadence: Change large transfer count reset logic to be unconditional
        i2c: imx: fix typo in comment
        i2c: mlxcpld: Fix register setting for 400KHz frequency
      4a1dcf77
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v5.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 6f8e4e10
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix several regmap usage issues in gpio-pca953x
      
       - fix out-of-tree build for GPIO selftests
      
       - fix integer overflow in gpio-xilinx
      
      * tag 'gpio-fixes-for-v5.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: gpio-xilinx: Fix integer overflow
        selftests: gpio: fix include path to kernel headers for out of tree builds
        gpio: pca953x: use the correct register address when regcache sync during init
        gpio: pca953x: use the correct range when do regmap sync
        gpio: pca953x: only use single read/write for No AI mode
      6f8e4e10
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v5.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 61471911
      Linus Torvalds authored
      Pull pin control fixes from Linus Walleij:
       "Only driver fixes:
      
         - NULL check for the ralink and sunplus drivers
      
         - Add Jacky Bai as maintainer for the Freescale pin controllers
      
         - Fix pin config ops for the Ocelot LAN966x and SparX5
      
         - Disallow AMD pin control to be a module: the GPIO lines need to be
           active in early boot, so no can do
      
         - Fix the Armada 37xx to use raw spinlocks in the interrupt handler
           path to avoid wait context"
      
      * tag 'pinctrl-v5.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: armada-37xx: use raw spinlocks for regmap to avoid invalid wait context
        pinctrl: armada-37xx: make irq_lock a raw spinlock to avoid invalid wait context
        pinctrl: Don't allow PINCTRL_AMD to be a module
        pinctrl: ocelot: Fix pincfg
        pinctrl: ocelot: Fix pincfg for lan966x
        MAINTAINERS: Update freescale pin controllers maintainer
        pinctrl: sunplus: Add check for kcalloc
        pinctrl: ralink: Check for null return of devm_kcalloc
      61471911
    • Linus Torvalds's avatar
      Merge tag 'sound-5.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 8f636c6a
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Only undoes the Rockchip BCLK changes to address a regression"
      
      * tag 'sound-5.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ASoC: rockchip-i2s: Undo BCLK pinctrl changes
        ASoC: rockchip: i2s: Fix NULL pointer dereference when pinctrl is not found
      8f636c6a
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 85029503
      Linus Torvalds authored
      Pull MMC fix from Ulf Hansson:
      
       - sdhci-omap: Fix a lockdep warning while probing
      
      * tag 'mmc-v5.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci-omap: Fix a lockdep warning for PM runtime init
      85029503
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-07-22' of git://anongit.freedesktop.org/drm/drm · 8e65afba
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Fixes for this week.
      
        The main one is the i915 firmware fix for the phoronix reported issue.
        I've written some firmware guidelines as a result, should land in
        -next soon. Otherwise a few amdgpu fixes, a scheduler fix, ttm fix and
        two other minor ones.
      
        scheduler:
         - scheduling while atomic fix
      
        ttm:
         - locking fix
      
        edp:
         - variable typo fix
      
        i915:
         - add back support for v69 firmware on ADL-P
      
        amdgpu:
         - Drop redundant buffer cleanup that can lead to a segfault
         - Add a bo_list mutex to avoid possible list corruption in CS
         - dmub notification fix
      
        imx:
         - fix error path"
      
      * tag 'drm-fixes-2022-07-22' of git://anongit.freedesktop.org/drm/drm:
        drm/amdgpu: Protect the amdgpu_bo_list list with a mutex v2
        drm/imx/dcss: Add missing of_node_put() in fail path
        drm/i915/guc: support v69 in parallel to v70
        drm/i915/guc: Support programming the EU priority in the GuC descriptor
        drm/panel-edp: Fix variable typo when saving hpd absent delay from DT
        drm/amdgpu: Remove one duplicated ef removal
        drm/ttm: fix locking in vmap/vunmap TTM GEM helpers
        drm/scheduler: Don't kill jobs in interrupt context
        drm/amd/display: Fix new dmub notification enabling in DM
      8e65afba
    • Linus Torvalds's avatar
      Merge tag 'rcu-urgent.2022.07.21a' of... · 4ba1329c
      Linus Torvalds authored
      Merge tag 'rcu-urgent.2022.07.21a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
      
      Pull RCU fix from Paul McKenney:
       "This contains a pair of commits that fix 282d8998 ("srcu: Prevent
        expedited GPs and blocking readers from consuming CPU"), which was
        itself a fix to an SRCU expedited grace-period problem that could
        prevent kernel live patching (KLP) from completing.
      
        That SRCU fix for KLP introduced large (as in minutes) boot-time
        delays to embedded Linux kernels running on qemu/KVM. These delays
        were due to the emulation of certain MMIO operations controlling
        memory layout, which were emulated with one expedited grace period per
        access. Common configurations required thousands of boot-time MMIO
        accesses, and thus thousands of boot-time expedited SRCU grace
        periods.
      
        In these configurations, the occasional sleeps that allowed KLP to
        proceed caused excessive boot delays. These commits preserve enough
        sleeps to permit KLP to proceed, but few enough that the virtual
        embedded kernels still boot reasonably quickly.
      
        This represents a regression introduced in the v5.19 merge window, and
        the bug is causing significant inconvenience"
      
      * tag 'rcu-urgent.2022.07.21a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
        srcu: Make expedited RCU grace periods block even less frequently
        srcu: Block less aggressively for expedited grace periods
      4ba1329c
    • Linus Torvalds's avatar
      mmu_gather: fix the CONFIG_MMU_GATHER_NO_RANGE case · 7fb5e508
      Linus Torvalds authored
      Sudip reports that alpha doesn't build properly, with errors like
      
        include/asm-generic/tlb.h:401:1: error: redefinition of 'tlb_update_vma_flags'
          401 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma)
              | ^~~~~~~~~~~~~~~~~~~~
        include/asm-generic/tlb.h:372:1: note: previous definition of 'tlb_update_vma_flags' with type 'void(struct mmu_gather *, struct vm_area_struct *)'
          372 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) { }
      
      the cause being that We have this odd situation where some architectures
      were never converted to the newer TLB flushing interfaces that have a
      range for the flush.  Instead people left them alone, and we have them
      select the MMU_GATHER_NO_RANGE config option to make the tlb header
      files account for this.
      
      Peter Zijlstra cleaned some of these nasty header file games up in
      commits
      
        1e9fdf21 ("mmu_gather: Remove per arch tlb_{start,end}_vma()")
        18ba064e ("mmu_gather: Let there be one tlb_{start,end}_vma() implementation")
      
      but tlb_update_vma_flags() was left alone, and then commit b67fbebd
      ("mmu_gather: Force tlb-flush VM_PFNMAP vmas") ended up removing only
      _one_ of the two stale duplicate dummy inline functions.
      
      This removes the other stale one.
      
      Somebody braver than me should try to remove MMU_GATHER_NO_RANGE
      entirely, but it requires fixing up the oddball architectures that use
      it: alpha, m68k, microblaze, nios2 and openrisc.
      
      The fixups should be fairly straightforward ("fix the build errors it
      exposes by adding the appropriate range arguments"), but the reason this
      wasn't done in the first place is that so few people end up working on
      those architectures.  But it could be done one architecture at a time,
      hint, hint.
      Reported-by: default avatarSudip Mukherjee (Codethink) <sudipm.mukherjee@gmail.com>
      Fixes: b67fbebd ("mmu_gather: Force tlb-flush VM_PFNMAP vmas")
      Link: https://lore.kernel.org/all/YtpXh0QHWwaEWVAY@debian/
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Will Deacon <will@kernel.org>
      Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Nick Piggin <npiggin@gmail.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7fb5e508
    • Srinivas Neeli's avatar
      gpio: gpio-xilinx: Fix integer overflow · 32c094a0
      Srinivas Neeli authored
      Current implementation is not able to configure more than 32 pins
      due to incorrect data type. So type casting with unsigned long
      to avoid it.
      
      Fixes: 02b3f84d ("xilinx: Switch to use bitmap APIs")
      Signed-off-by: default avatarSrinivas Neeli <srinivas.neeli@xilinx.com>
      Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
      32c094a0
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2022-07-21' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · 7f5ec14a
      Dave Airlie authored
      A scheduling-while-atomic fix for drm/scheduler, a locking fix for TTM,
      a typo fix for panel-edp and a resource removal fix for imx/dcss
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <maxime@cerno.tech>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220721085550.hrwbukj34y56rzva@houat
      7f5ec14a
  2. 21 Jul, 2022 10 commits
  3. 20 Jul, 2022 19 commits