1. 04 Apr, 2023 3 commits
  2. 03 Apr, 2023 19 commits
  3. 02 Apr, 2023 5 commits
  4. 01 Apr, 2023 5 commits
    • Linus Torvalds's avatar
      Merge tag '6.3-rc4-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 · f7772da6
      Linus Torvalds authored
      Pull cifs client fixes from Steve French:
       "Four cifs/smb3 client (reconnect and DFS related) fixes, including two
        for stable:
      
         - DFS oops fix
      
         - DFS reconnect recursion fix
      
         - An SMB1 parallel reconnect fix
      
         - Trivial dead code removal in smb2_reconnect"
      
      * tag '6.3-rc4-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: get rid of dead check in smb2_reconnect()
        cifs: prevent infinite recursion in CIFSGetDFSRefer()
        cifs: avoid races in parallel reconnects in smb1
        cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
      f7772da6
    • Linus Torvalds's avatar
      Merge tag 'input-for-v6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 00c7b5f4
      Linus Torvalds authored
      Pull input fixes from Dmitry Torokhov:
      
       - fixes to ALPS and Focaltech PS/2 drivers dealing with the breakage of
         switching to -funsigned-char
      
       - quirks to i8042 to better handle Lifebook A574/H and TUXEDO devices
      
       - a quirk to Goodix touchscreen driver to handle Yoga Book X90F
      
       - a fix for incorrectly merged patch to xpad game controller driver
      
      * tag 'input-for-v6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: i8042 - add TUXEDO devices to i8042 quirk tables for partial fix
        Input: alps - fix compatibility with -funsigned-char
        Input: focaltech - use explicitly signed char type
        Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON
        Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
        Input: i8042 - add quirk for Fujitsu Lifebook A574/H
      00c7b5f4
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v6.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 93e2b017
      Linus Torvalds authored
      Pull pin control fixes from Linus Walleij:
       "Some pin control fixes for the v6.3 series.
      
        The most notable and urgent one is probably the AMD fix which affects
        AMD laptops, found by the Chromium people.
      
        Summary:
      
         - Fix up the Kconfig options for MediaTek MT7981
      
         - Fix the irq domain name in the AT91-PIO4 driver
      
         - Fix some alternative muxing modes in the Ocelot driver
      
         - Allocate the GPIO numbers dynamically in the STM32 driver
      
         - Disable and mask interrupts on resume in the AMD driver
      
         - Fix a typo in the Qualcomm SM8550 pin control device tree bindings"
      
      * tag 'pinctrl-v6.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        dt-bindings: pinctrl: qcom,sm8550-lpass-lpi: allow input-enabled and bias-bus-hold
        pinctrl: amd: Disable and mask interrupts on resume
        pinctrl: stm32: use dynamic allocation of GPIO base
        pinctrl: ocelot: Fix alt mode for ocelot
        pinctrl: at91-pio4: fix domain name assignment
        pinctrl: mediatek: fix naming inconsistency
        pinctrl: mediatek: add missing options to PINCTRL_MT7981
      93e2b017
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v6.3-2' of... · ce0c2375
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v6.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Fix linux-headers debian package
      
       - Fix a merge_config.sh error due to a misspelled variable
      
       - Fix modversion for 32-bit build machines
      
      * tag 'kbuild-fixes-v6.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        modpost: Fix processing of CRCs on 32-bit build machines
        scripts: merge_config: Fix typo in variable name.
        kbuild: deb-pkg: set version for linux-headers paths
      ce0c2375
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 92367fdf
      Linus Torvalds authored
      Pull iommu fixes from Joerg Roedel:
      
       - Maintainer update for S390 IOMMU driver
      
       - A fix for the set_platform_dma_ops() call-back in the Exynos
         IOMMU driver
      
       - Intel VT-d fixes from Lu Baolu:
          - Fix a lockdep splat
          - Fix a supplement of the specification
          - Fix a warning in perfmon code
      
      * tag 'iommu-fixes-6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/vt-d: Fix an IOMMU perfmon warning when CPU hotplug
        iommu/vt-d: Allow zero SAGAW if second-stage not supported
        iommu/vt-d: Remove unnecessary locking in intel_irq_remapping_alloc()
        iommu/exynos: Fix set_platform_dma_ops() callback
        MAINTAINERS: Update s390-iommu driver maintainer information
      92367fdf
  5. 31 Mar, 2023 8 commits
    • Arnd Bergmann's avatar
      media: i2c: imx290: fix conditional function defintions · 7b50567b
      Arnd Bergmann authored
      The runtime suspend/resume functions are only referenced from the
      dev_pm_ops, but they use the old SET_RUNTIME_PM_OPS() helper that
      requires a __maybe_unused annotation to avoid a warning:
      
        drivers/media/i2c/imx290.c:1082:12: error: unused function 'imx290_runtime_resume' [-Werror,-Wunused-function]
        static int imx290_runtime_resume(struct device *dev)
                   ^
        drivers/media/i2c/imx290.c:1090:12: error: unused function 'imx290_runtime_suspend' [-Werror,-Wunused-function]
        static int imx290_runtime_suspend(struct device *dev)
                   ^
      
      Convert this to the new RUNTIME_PM_OPS() helper that so this is not
      required.  To improve this further, also use the pm_ptr() helper that
      lets the dev_pm_ops get dropped entirely when CONFIG_PM is disabled.
      
      A related mistake happened in the of_match_ptr() macro here, which like
      SET_RUNTIME_PM_OPS() requires the match table to be marked as
      __maybe_unused, though I could not reproduce building this without
      CONFIG_OF.  Remove the of_match_ptr() here as there is no point in
      dropping the match table in configurations without CONFIG_OF.
      
      Fixes: 02852c01 ("media: i2c: imx290: Initialize runtime PM before subdev")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Reported-by: default avatarSudip Mukherjee <sudipm.mukherjee@gmail.com>
      Reviewed-by: default avatarManivannan Sadhasivam <mani@kernel.org>
      Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7b50567b
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-6.3-3' of git://git.linux-nfs.org/projects/anna/linux-nfs · a0264d19
      Linus Torvalds authored
      Pull NFS client fixes from Anna Schumaker:
      
       - Fix shutdown of NFS TCP client sockets
      
       - Fix hangs when recovering open state after a server reboot
      
      * tag 'nfs-for-6.3-3' of git://git.linux-nfs.org/projects/anna/linux-nfs:
        SUNRPC: fix shutdown of NFS TCP client socket
        NFSv4: Fix hangs when recovering open state after a server reboot
      a0264d19
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v6.3-4' of... · 5a57b48f
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v6.3-4' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver fixes from Hans de Goede:
      
       - Fix a regression in ideapad-laptop which caused the touchpad to stop
         working after a suspend/resume on some models
      
       - One other small fix and three hw-id additions
      
      * tag 'platform-drivers-x86-v6.3-4' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
        platform/x86: ideapad-laptop: Stop sending KEY_TOUCHPAD_TOGGLE
        platform/x86: asus-nb-wmi: Add quirk_asus_tablet_mode to other ROG Flow X13 models
        platform/x86: gigabyte-wmi: add support for X570S AORUS ELITE
        platform/x86: gigabyte-wmi: add support for B650 AORUS ELITE AX
        platform/x86/intel/pmc: Alder Lake PCH slp_s0_residency fix
      5a57b48f
    • Linus Torvalds's avatar
      Merge tag 'pci-v6.3-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci · 916fc609
      Linus Torvalds authored
      Pull PCI fix from Bjorn Helgaas:
      
       - Fix DesignWare PORT_LINK_CONTROL setup, which was corrupted when the
         DT "snps,enable-cdm-check" property was present (Yoshihiro Shimoda)
      
      * tag 'pci-v6.3-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
        PCI: dwc: Fix PORT_LINK_CONTROL update when CDM check enabled
      916fc609
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v6.3-rc4' of... · 3df82e42
      Linus Torvalds authored
      Merge tag 'regulator-fix-v6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fix from Mark Brown:
       "Deferred probe fix for v6.3.
      
        This fixes a rarely triggered issue where we would treat probe
        deferral for clocks as a fatal error in the fixed regulator, causing
        it to fail to retry when it should"
      
      * tag 'regulator-fix-v6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: Handle deferred clk
      3df82e42
    • Linus Torvalds's avatar
      Merge tag 'block-6.3-2023-03-30' of git://git.kernel.dk/linux · 81409e5e
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request via Christoph:
           - Mark Lexar NM760 as IGNORE_DEV_SUBNQN (Juraj Pecigos)
           - Fix a possible UAF when failing to allocate an TCP io queue (Sagi
             Grimberg)
      
       - MD pull request via Song:
           - Fix a null pointer deference in 6.3-rc (Yu Kuai)
      
       - uevent partition fix (Alyssa)
      
      * tag 'block-6.3-2023-03-30' of git://git.kernel.dk/linux:
        nvme-tcp: fix a possible UAF when failing to allocate an io queue
        md: fix regression for null-ptr-deference in __md_stop()
        nvme-pci: mark Lexar NM760 as IGNORE_DEV_SUBNQN
        loop: LOOP_CONFIGURE: send uevents for partitions
      81409e5e
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.3-2023-03-30' of git://git.kernel.dk/linux · f3fa7f02
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Fix a regression with the poll retry, introduced in this merge window
         (me)
      
       - Fix a regression with the alloc cache not decrementing the member
         count on removal. Also a regression from this merge window (Pavel)
      
       - Fix race around rsrc node grabbing (Pavel)
      
      * tag 'io_uring-6.3-2023-03-30' of git://git.kernel.dk/linux:
        io_uring: fix poll/netmsg alloc caches
        io_uring/rsrc: fix rogue rsrc node grabbing
        io_uring/poll: clear single/double poll flags on poll arming
      f3fa7f02
    • Hans de Goede's avatar
      platform/x86: ideapad-laptop: Stop sending KEY_TOUCHPAD_TOGGLE · e3271a59
      Hans de Goede authored
      Commit 5829f8a8 ("platform/x86: ideapad-laptop: Send
      KEY_TOUCHPAD_TOGGLE on some models") made ideapad-laptop send
      KEY_TOUCHPAD_TOGGLE when we receive an ACPI notify with VPC event bit 5 set
      and the touchpad-state has not been changed by the EC itself already.
      
      This was done under the assumption that this would be good to do to make
      the touchpad-toggle hotkey work on newer models where the EC does not
      toggle the touchpad on/off itself (because it is not routed through
      the PS/2 controller, but uses I2C).
      
      But it turns out that at least some models, e.g. the Yoga 7-15ITL5 the EC
      triggers an ACPI notify with VPC event bit 5 set on resume, which would
      now cause a spurious KEY_TOUCHPAD_TOGGLE on resume to which the desktop
      environment responds by disabling the touchpad in software, breaking
      the touchpad (until manually re-enabled) on resume.
      
      It was never confirmed that sending KEY_TOUCHPAD_TOGGLE actually improves
      things on new models and at least some new models like the Yoga 7-15ITL5
      don't have a touchpad on/off toggle hotkey at all, while still sending
      ACPI notify events with VPC event bit 5 set.
      
      So it seems best to revert the change to send KEY_TOUCHPAD_TOGGLE when
      receiving an ACPI notify events with VPC event bit 5 and the touchpad
      state as reported by the EC has not changed.
      
      Note this is not a full revert the code to cache the last EC touchpad
      state is kept to avoid sending spurious KEY_TOUCHPAD_ON / _OFF events
      on resume.
      
      Fixes: 5829f8a8 ("platform/x86: ideapad-laptop: Send KEY_TOUCHPAD_TOGGLE on some models")
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=217234
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://lore.kernel.org/r/20230330194644.64628-1-hdegoede@redhat.com
      e3271a59