Skip to content
  1. Dec 30, 2023
  2. Dec 29, 2023
  3. Dec 28, 2023
    • Namjae Jeon's avatar
      ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() · d10c7787
      Namjae Jeon authored
      
      
      If ->NameOffset/Length is bigger than ->CreateContextsOffset/Length,
      ksmbd_check_message doesn't validate request buffer it correctly.
      So slab-out-of-bounds warning from calling smb_strndup_from_utf16()
      in smb2_open() could happen. If ->NameLength is non-zero, Set the larger
      of the two sums (Name and CreateContext size) as the offset and length of
      the data area.
      
      Reported-by: default avatarYang Chaoming <lometsj@live.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      d10c7787
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2023-12-27-15-00' of... · f5837722
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2023-12-27-15-00' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull misc fixes from Andrew Morton:
       "11 hotfixes. 7 are cc:stable and the other 4 address post-6.6 issues
        or are not considered backporting material"
      
      * tag 'mm-hotfixes-stable-2023-12-27-15-00' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
        mailmap: add an old address for Naoya Horiguchi
        mm/memory-failure: cast index to loff_t before shifting it
        mm/memory-failure: check the mapcount of the precise page
        mm/memory-failure: pass the folio and the page to collect_procs()
        selftests: secretmem: floor the memory size to the multiple of page_size
        mm: migrate high-order folios in swap cache correctly
        maple_tree: do not preallocate nodes for slot stores
        mm/filemap: avoid buffered read/write race to read inconsistent data
        kunit: kasan_test: disable fortify string checker on kmalloc_oob_memset
        kexec: select CRYPTO from KEXEC_FILE instead of depending on it
        kexec: fix KEXEC_FILE dependencies
      f5837722
  4. Dec 27, 2023
    • Kent Overstreet's avatar
      bcachefs: Fix promotes · 7b474c77
      Kent Overstreet authored
      
      
      The recent work to fix data moves w.r.t. durability broke promotes,
      because the caused us to bail out when the extent minus pointers being
      dropped still has enough pointers to satisfy the current number of
      replicas.
      
      Disable this check when we're adding cached replicas.
      
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      7b474c77
    • Edward Adam Davis's avatar
      keys, dns: Fix missing size check of V1 server-list header · 1997b3cb
      Edward Adam Davis authored
      
      
      The dns_resolver_preparse() function has a check on the size of the
      payload for the basic header of the binary-style payload, but is missing
      a check for the size of the V1 server-list payload header after
      determining that's what we've been given.
      
      Fix this by getting rid of the the pointer to the basic header and just
      assuming that we have a V1 server-list payload and moving the V1 server
      list pointer inside the if-statement.  Dealing with other types and
      versions can be left for when such have been defined.
      
      This can be tested by doing the following with KASAN enabled:
      
          echo -n -e '\x0\x0\x1\x2' | keyctl padd dns_resolver foo @p
      
      and produces an oops like the following:
      
          BUG: KASAN: slab-out-of-bounds in dns_resolver_preparse+0xc9f/0xd60 net/dns_resolver/dns_key.c:127
          Read of size 1 at addr ffff888028894084 by task syz-executor265/5069
          ...
          Call Trace:
            dns_resolver_preparse+0xc9f/0xd60 net/dns_resolver/dns_key.c:127
            __key_create_or_update+0x453/0xdf0 security/keys/key.c:842
            key_create_or_update+0x42/0x50 security/keys/key.c:1007
            __do_sys_add_key+0x29c/0x450 security/keys/keyctl.c:134
            do_syscall_x64 arch/x86/entry/common.c:52 [inline]
            do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
            entry_SYSCALL_64_after_hwframe+0x62/0x6a
      
      This patch was originally by Edward Adam Davis, but was modified by
      Linus.
      
      Fixes: b946001d3bb1 ("keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry")
      Reported-and-tested-by: default avatar <syzbot+94bbb75204a05da3d89f@syzkaller.appspotmail.com>
      Link: https://lore.kernel.org/r/0000000000009b39bc060c73e209@google.com/
      
      
      Suggested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarEdward Adam Davis <eadavis@qq.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Tested-by: default avatarDavid Howells <dhowells@redhat.com>
      Cc: Edward Adam Davis <eadavis@qq.com>
      Cc: Jarkko Sakkinen <jarkko@kernel.org>
      Cc: Jeffrey E Altman <jaltman@auristor.com>
      Cc: Wang Lei <wang840925@gmail.com>
      Cc: Jeff Layton <jlayton@redhat.com>
      Cc: Steve French <sfrench@us.ibm.com>
      Cc: Marc Dionne <marc.dionne@auristor.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Eric Dumazet <edumazet@google.com>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: Paolo Abeni <pabeni@redhat.com>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1997b3cb
    • Christoph Hellwig's avatar
      block: renumber QUEUE_FLAG_HW_WC · 02d374f3
      Christoph Hellwig authored
      
      
      For the QUEUE_FLAG_HW_WC to actually work, it needs to have a separate
      number from QUEUE_FLAG_FUA, doh.
      
      Fixes: 43c9835b ("block: don't allow enabling a cache on devices that don't support it")
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Link: https://lore.kernel.org/r/20231226081524.180289-1-hch@lst.de
      
      
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      02d374f3
  5. Dec 26, 2023
  6. Dec 24, 2023
    • Coly Li's avatar
      badblocks: avoid checking invalid range in badblocks_check() · 146e843f
      Coly Li authored
      
      
      If prev_badblocks() returns '-1', it means no valid badblocks record
      before the checking range. It doesn't make sense to check whether
      the input checking range is overlapped with the non-existed invalid
      front range.
      
      This patch checkes whether 'prev >= 0' is true before calling
      overlap_front(), to void such invalid operations.
      
      Fixes: 3ea3354c ("badblocks: improve badblocks_check() for multiple ranges handling")
      Reported-and-tested-by: default avatarIra Weiny <ira.weiny@intel.com>
      Signed-off-by: default avatarColy Li <colyli@suse.de>
      Link: https://lore.kernel.org/nvdimm/3035e75a-9be0-4bc3-8d4a-6e52c207f277@leemhuis.info/
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Geliang Tang <geliang.tang@suse.com>
      Cc: Hannes Reinecke <hare@suse.de>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: NeilBrown <neilb@suse.de>
      Cc: Vishal L Verma <vishal.l.verma@intel.com>
      Cc: Xiao Ni <xni@redhat.com>
      Link: https://lore.kernel.org/r/20231224002820.20234-1-colyli@suse.de
      
      
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      146e843f
    • Linus Torvalds's avatar
      Linux 6.7-rc7 · 861deac3
      Linus Torvalds authored
      861deac3
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2023-12-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3f82f1c3
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar:
      
       - Fix a secondary CPUs enumeration regression caused by creative MADT
         APIC table entries on certain systems.
      
       - Fix a race in the NOP-patcher that can spuriously trigger crashes on
         bootup.
      
       - Fix a bootup failure regression caused by the parallel bringup code,
         caused by firmware inconsistency between the APIC initialization
         states of the boot and secondary CPUs, on certain systems.
      
      * tag 'x86-urgent-2023-12-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/acpi: Handle bogus MADT APIC tables gracefully
        x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
        x86/alternatives: Sync core before enabling interrupts
        x86/smpboot/64: Handle X2APIC BIOS inconsistency gracefully
      3f82f1c3
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · f969c914
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Four small fixes, three in drivers with the core one adding a batch
        indicator (for drivers which use it) to the error handler"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: ufs: core: Let the sq_lock protect sq_tail_slot access
        scsi: ufs: qcom: Return ufs_qcom_clk_scale_*() errors in ufs_qcom_clk_scale_notify()
        scsi: core: Always send batch on reset or error handling command
        scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
      f969c914
    • Linus Torvalds's avatar
      Merge tag 'usb-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 4b2ee6d2
      Linus Torvalds authored
      Pull USB / Thunderbolt fixes from Greg KH:
       "Here are some small bugfixes and new device ids for USB and
        Thunderbolt drivers for 6.7-rc7. Included in here are:
      
         - new usb-serial device ids
      
         - thunderbolt driver fixes
      
         - typec driver fix
      
         - usb-storage driver quirk added
      
         - fotg210 driver fix
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: serial: option: add Quectel EG912Y module support
        USB: serial: ftdi_sio: update Actisense PIDs constant names
        usb: fotg210-hcd: delete an incorrect bounds test
        usb-storage: Add quirk for incorrect WP on Kingston DT Ultimate 3.0 G3
        usb: typec: ucsi: fix gpio-based orientation detection
        net: usb: ax88179_178a: avoid failed operations when device is disconnected
        USB: serial: option: add Quectel RM500Q R13 firmware support
        USB: serial: option: add Foxconn T99W265 with new baseline
        thunderbolt: Fix minimum allocated USB 3.x and PCIe bandwidth
        thunderbolt: Fix memory leak in margining_port_remove()
      4b2ee6d2
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · a0652eb2
      Linus Torvalds authored
      Pull char / misc driver fixes from Greg KH:
       "Here are a small number of various driver fixes for 6.7-rc7 that
        normally come through the char-misc tree, and one debugfs fix as well.
      
        Included in here are:
      
         - iio and hid sensor driver fixes for a number of small things
      
         - interconnect driver fixes
      
         - brcm_nvmem driver fixes
      
         - debugfs fix for previous fix
      
         - guard() definition in device.h so that many subsystems can start
           using it for 6.8-rc1 (requested by Dan Williams to make future
           merges easier)
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'char-misc-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (21 commits)
        debugfs: initialize cancellations earlier
        Revert "iio: hid-sensor-als: Add light color temperature support"
        Revert "iio: hid-sensor-als: Add light chromaticity support"
        nvmem: brcm_nvram: store a copy of NVRAM content
        dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
        driver core: Add a guard() definition for the device_lock()
        interconnect: qcom: icc-rpm: Fix peak rate calculation
        iio: adc: MCP3564: fix hardware identification logic
        iio: adc: MCP3564: fix calib_bias and calib_scale range checks
        iio: adc: meson: add separate config for axg SoC family
        iio: adc: imx93: add four channels for imx93 adc
        iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
        interconnect: qcom: sm8250: Enable sync_state
        iio: triggered-buffer: prevent possible freeing of wrong buffer
        iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
        iio: imu: adis16475: use bit numbers in assign_bit()
        iio: imu: adis16475: add spi_device_id table
        iio: tmag5273: fix temperature offset
        interconnect: Treat xlate() returning NULL node as an error
        iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
        ...
      a0652eb2
    • Linus Torvalds's avatar
      Merge tag 'input-for-v6.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · fa655abe
      Linus Torvalds authored
      Pull input updates from Dmitry Torokhov:
      
       - a quirk to AT keyboard driver to skip issuing "GET ID" command when
         8042 is in translated mode and the device is a laptop/portable,
         because the "GET ID" command makes a bunch of recent laptops unhappy
      
       - a quirk to i8042 to disable multiplexed mode on Acer P459-G2-M which
         causes issues on resume
      
       - psmouse will activate native RMI4 protocol support for touchpad on
         ThinkPad L14 G1
      
       - addition of Razer Wolverine V2 ID to xpad gamepad driver
      
       - mapping for airplane mode button in soc_button_array driver for
         TUXEDO laptops
      
       - improved error handling in ipaq-micro-keys driver
      
       - amimouse being prepared for platform remove callback returning void
      
      * tag 'input-for-v6.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: soc_button_array - add mapping for airplane mode button
        Input: xpad - add Razer Wolverine V2 support
        Input: ipaq-micro-keys - add error handling for devm_kmemdup
        Input: amimouse - convert to platform remove callback returning void
        Input: i8042 - add nomux quirk for Acer P459-G2-M
        Input: atkbd - skip ATKBD_CMD_GETID in translated mode
        Input: psmouse - enable Synaptics InterTouch for ThinkPad L14 G1
      fa655abe
  7. Dec 23, 2023
    • Masahiro Yamada's avatar
      kbuild: fix build ID symlinks to installed debug VDSO files · c1a86271
      Masahiro Yamada authored
      
      
      Commit 56769ba4 ("kbuild: unify vdso_install rules") accidentally
      dropped the '.debug' suffix from the build ID symlinks.
      
      Fixes: 56769ba4 ("kbuild: unify vdso_install rules")
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      c1a86271
    • Jialu Xu's avatar
      gen_compile_commands.py: fix path resolve with symlinks in it · 88094615
      Jialu Xu authored
      
      
      When a path contains relative symbolic links, os.path.abspath() might
      not follow the symlinks and instead return the absolute path with just
      the relative paths resolved, resulting in an incorrect path.
      
      1. Say "drivers/hdf/" has some symlinks:
      
          # ls -l drivers/hdf/
          total 364
          drwxrwxr-x 2 ...   4096 ... evdev
          lrwxrwxrwx 1 ...     44 ... framework -> ../../../../../../drivers/hdf_core/framework
          -rw-rw-r-- 1 ... 359010 ... hdf_macro_test.h
          lrwxrwxrwx 1 ...     55 ... inner_api -> ../../../../../../drivers/hdf_core/interfaces/inner_api
          lrwxrwxrwx 1 ...     53 ... khdf -> ../../../../../../drivers/hdf_core/adapter/khdf/linux
          -rw-r--r-- 1 ...     74 ... Makefile
          drwxrwxr-x 3 ...   4096 ... wifi
      
      2. One .cmd file records that:
      
          # head -1 ./framework/core/manager/src/.devmgr_service.o.cmd
          cmd_drivers/hdf/khdf/manager/../../../../framework/core/manager/src/devmgr_service.o := ... \
          /path/to/src/drivers/hdf/khdf/manager/../../../../framework/core/manager/src/devmgr_service.c
      
      3. os.path.abspath returns "/path/to/src/framework/core/manager/src/devmgr_service.c", not correct:
      
          # ./scripts/clang-tools/gen_compile_commands.py
          INFO: Could not add line from ./framework/core/manager/src/.devmgr_service.o.cmd: File \
              /path/to/src/framework/core/manager/src/devmgr_service.c not found
      
      Use os.path.realpath(), which resolves the symlinks and normalizes the paths correctly.
      
          # cat compile_commands.json
          ...
          {
            "command": ...
            "directory": ...
            "file": "/path/to/bla/drivers/hdf_core/framework/core/manager/src/devmgr_service.c"
          },
          ...
      
      Also fix it in parse_arguments().
      
      Signed-off-by: default avatarJialu Xu <xujialu@vimux.org>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      88094615
    • Nathan Chancellor's avatar
      MAINTAINERS: Add scripts/clang-tools to Kbuild section · c134abc9
      Nathan Chancellor authored
      
      
      Masahiro has always applied scripts/clang-tools patches but it is not
      included in the Kbuild section, so neither he nor linux-kbuild get cc'd
      on patches that touch those files.
      
      Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
      Acked-by: default avatarNicolas Schier <nicolas@fjasle.eu>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      c134abc9
    • Helge Deller's avatar
      linux/export: Fix alignment for 64-bit ksymtab entries · f6847807
      Helge Deller authored
      
      
      An alignment of 4 bytes is wrong for 64-bit platforms which don't define
      CONFIG_HAVE_ARCH_PREL32_RELOCATIONS (which then store 64-bit pointers).
      Fix their alignment to 8 bytes.
      
      Fixes: ddb5cdba ("kbuild: generate KSYMTAB entries by modpost")
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      f6847807
    • Christoffer Sandberg's avatar
      Input: soc_button_array - add mapping for airplane mode button · ea371594
      Christoffer Sandberg authored
      
      
      This add a mapping for the airplane mode button on the TUXEDO Pulse Gen3.
      
      While it is physically a key it behaves more like a switch, sending a key
      down on first press and a key up on 2nd press. Therefor the switch event
      is used here. Besides this behaviour it uses the HID usage-id 0xc6
      (Wireless Radio Button) and not 0xc8 (Wireless Radio Slider Switch), but
      since neither 0xc6 nor 0xc8 are currently implemented at all in
      soc_button_array this not to standard behaviour is not put behind a quirk
      for the moment.
      
      Signed-off-by: default avatarChristoffer Sandberg <cs@tuxedo.de>
      Signed-off-by: default avatarWerner Sembach <wse@tuxedocomputers.com>
      Link: https://lore.kernel.org/r/20231215171718.80229-1-wse@tuxedocomputers.com
      
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      ea371594
    • Linus Torvalds's avatar
      Merge tag 'block-6.7-2023-12-22' of git://git.kernel.dk/linux · 5254c0cb
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Just an NVMe pull request this time, with a fix for bad sleeping
        context, and a revert of a patch that caused some trouble"
      
      * tag 'block-6.7-2023-12-22' of git://git.kernel.dk/linux:
        nvme-pci: fix sleeping function called from interrupt context
        Revert "nvme-fc: fix race between error recovery and creating association"
      5254c0cb
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 867583b3
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
      "RISC-V:
      
         - Fix a race condition in updating external interrupt for
           trap-n-emulated IMSIC swfile
      
         - Fix print_reg defaults in get-reg-list selftest
      
        ARM:
      
         - Ensure a vCPU's redistributor is unregistered from the MMIO bus if
           vCPU creation fails
      
         - Fix building KVM selftests for arm64 from the top-level Makefile
      
        x86:
      
         - Fix breakage for SEV-ES guests that use XSAVES
      
        Selftests:
      
         - Fix bad use of strcat(), by not using strcat() at all"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: SEV: Do not intercept accesses to MSR_IA32_XSS for SEV-ES guests
        KVM: selftests: Fix dynamic generation of configuration names
        RISCV: KVM: update external interrupt atomically for IMSIC swfile
        KVM: riscv: selftests: Fix get-reg-list print_reg defaults
        KVM: selftests: Ensure sysreg-defs.h is generated at the expected path
        KVM: Convert comment into an assertion in kvm_io_bus_register_dev()
        KVM: arm64: vgic: Ensure that slots_lock is held in vgic_register_all_redist_iodevs()
        KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
        KVM: arm64: vgic: Add a non-locking primitive for kvm_vgic_vcpu_destroy()
        KVM: arm64: vgic: Simplify kvm_vgic_destroy()
      867583b3
    • Paolo Bonzini's avatar
      Merge tag 'kvm-riscv-fixes-6.7-1' of https://github.com/kvm-riscv/linux into kvm-master · ef5b2837
      Paolo Bonzini authored
      KVM/riscv fixes for 6.7, take #1
      
      - Fix a race condition in updating external interrupt for
        trap-n-emulated IMSIC swfile
      - Fix print_reg defaults in get-reg-list selftest
      ef5b2837
    • Paolo Bonzini's avatar
      Merge tag 'kvmarm-fixes-6.7-2' of... · 5c2b2176
      Paolo Bonzini authored
      Merge tag 'kvmarm-fixes-6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-master
      
      KVM/arm64 fixes for 6.7, part #2
      
       - Ensure a vCPU's redistributor is unregistered from the MMIO bus
         if vCPU creation fails
      
       - Fix building KVM selftests for arm64 from the top-level Makefile
      5c2b2176
    • Linus Torvalds's avatar
      Merge tag 'printk-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux · c0f65a7c
      Linus Torvalds authored
      Pull printk fix from Petr Mladek:
      
       - Prevent refcount warning from code releasing a fwnode
      
      * tag 'printk-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
        lib/vsprintf: Fix %pfwf when current node refcount == 0
      c0f65a7c
    • Linus Torvalds's avatar
      Merge tag 'sound-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 5414aea7
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Apparently there were so many kids wishing bug fixes that made Santa
        busy; here we have lots of fixes although it's a bit late. But all
        changes are device-specific, hence it should be relatively safe to
        apply.
      
        Most of changes are for Cirrus codecs (for both ASoC and HD-audio),
        while the remaining are fixes for TI codecs, HD-audio and USB-audio
        quirks"
      
      * tag 'sound-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (24 commits)
        ALSA: hda: cs35l41: Only add SPI CS GPIO if SPI is enabled in kernel
        ALSA: hda: cs35l41: Do not allow uninitialised variables to be freed
        ASoC: fsl_sai: Fix channel swap issue on i.MX8MP
        ASoC: hdmi-codec: fix missing report for jack initial status
        ALSA: hda/realtek: Add quirks for ASUS Zenbook 2023 Models
        ALSA: hda: cs35l41: Support additional ASUS Zenbook 2023 Models
        ALSA: hda/realtek: Add quirks for ASUS Zenbook 2022 Models
        ALSA: hda: cs35l41: Support additional ASUS Zenbook 2022 Models
        ALSA: hda/realtek: Add quirks for ASUS ROG 2023 models
        ALSA: hda: cs35l41: Support additional ASUS ROG 2023 models
        ALSA: hda: cs35l41: Add config table to support many laptops without _DSD
        ASoC: Intel: bytcr_rt5640: Add new swapped-speakers quirk
        ASoC: Intel: bytcr_rt5640: Add quirk for the Medion Lifetab S10346
        kselftest: alsa: fixed a print formatting warning
        ALSA: usb-audio: Increase delay in MOTU M quirk
        ASoC: tas2781: check the validity of prm_no/cfg_no
        ALSA: hda/tas2781: select program 0, conf 0 by default
        ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA
        ASoC: cs42l43: Don't enable bias sense during type detect
        ASoC: Intel: soc-acpi-intel-mtl-match: Change CS35L56 prefixes to AMPn
        ...
      5414aea7
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.7-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 2618280d
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
      
       - error path fixes (qcom-geni)
      
       - polling mode fix (rk3x)
      
       - target mode state machine fix (aspeed)
      
      * tag 'i2c-for-6.7-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
        i2c: rk3x: fix potential spinlock recursion on poll
        i2c: qcom-geni: fix missing clk_disable_unprepare() and geni_se_resources_off()
      2618280d
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · a9ca0330
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
       "Here's another round of fixes from the GPIO subsystem for this release
        cycle.
      
        There's one commit adding synchronization to an ioctl() we overlooked
        previously and another synchronization changeset for one of the
        drivers:
      
         - add protection against GPIO device removal to an overlooked ioctl()
      
         - synchronize the interrupt mask register manually in gpio-dwapb"
      
      * tag 'gpio-fixes-for-v6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: dwapb: mask/unmask IRQ when disable/enale it
        gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl()
      a9ca0330
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.7a-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · b7bc7bce
      Linus Torvalds authored
      Pull xen fix from Juergen Gross:
       "A single patch fixing a build issue for x86 32-bit configurations with
        CONFIG_XEN, which was introduced in the 6.7 development cycle"
      
      * tag 'for-linus-6.7a-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        x86/xen: add CPU dependencies for 32-bit build
      b7bc7bce
  8. Dec 22, 2023
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2023-12-22' of git://anongit.freedesktop.org/drm/drm · 8afe6f0e
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Pretty quiet for this week, just i915 and amdgpu fixes,
      
        I think the misc tree got lost this week, but didn't seem to have too
        much in it, so it can wait. I've also got a bunch of nouveau GSP fixes
        sailing around that'll probably land next time as well.
      
        amdgpu:
         - DCN 3.5 fixes
         - DCN 3.2 SubVP fix
         - GPUVM fix
      
        amdkfd:
         - SVM fix for APUs
      
        i915:
         - Fix state readout and check for DSC and bigjoiner combo
         - Fix a potential integer overflow
         - Reject async flips with bigjoiner
         - Fix MTL HDMI/DP PLL clock selection
         - Fix various issues by disabling pipe DMC events"
      
      * tag 'drm-fixes-2023-12-22' of git://anongit.freedesktop.org/drm/drm:
        drm/amdgpu: re-create idle bo's PTE during VM state machine reset
        drm/amd/display: dereference variable before checking for zero
        drm/amd/display: get dprefclk ss info from integration info table
        drm/amd/display: Add case for dcn35 to support usb4 dmub hpd event
        drm/amd/display: disable FPO and SubVP for older DMUB versions on DCN32x
        drm/amdkfd: svm range always mapped flag not working on APU
        drm/amd/display: Revert " drm/amd/display: Use channel_width = 2 for vram table 3.0"
        drm/i915/dmc: Don't enable any pipe DMC events
        drm/i915/mtl: Fix HDMI/DP PLL clock selection
        drm/i915: Reject async flips with bigjoiner
        drm/i915/hwmon: Fix static analysis tool reported issues
        drm/i915/display: Get bigjoiner config before dsc config during readout
      8afe6f0e
    • Linus Torvalds's avatar
      Merge tag '9p-for-6.7-rc7' of https://github.com/martinetd/linux · 93a165cb
      Linus Torvalds authored
      Pull 9p fixes from Dominique Martinet:
       "Two small fixes scheduled for stable trees:
      
        A tracepoint fix that's been reading past the end of messages forever,
        but semi-recently also went over the end of the buffer. And a
        potential incorrectly freeing garbage in pdu parsing error path"
      
      * tag '9p-for-6.7-rc7' of https://github.com/martinetd/linux:
        net: 9p: avoid freeing uninit memory in p9pdu_vreadf
        9p: prevent read overrun in protocol dump tracepoint
      93a165cb
    • Greg Kroah-Hartman's avatar
      Merge tag 'usb-serial-6.7-rc6' of... · ab241a0a
      Greg Kroah-Hartman authored
      Merge tag 'usb-serial-6.7-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus
      
      Johan writes:
      
      USB-serial device ids for 6.7-rc6
      
      Here are some new modem device ids and a rename of a few ftdi product id
      defines.
      
      All have been in linux-next with no reported issues.
      
      * tag 'usb-serial-6.7-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial:
        USB: serial: option: add Quectel EG912Y module support
        USB: serial: ftdi_sio: update Actisense PIDs constant names
        USB: serial: option: add Quectel RM500Q R13 firmware support
        USB: serial: option: add Foxconn T99W265 with new baseline
      ab241a0a