Skip to content
Snippets Groups Projects
  1. Oct 25, 2024
  2. Oct 24, 2024
  3. Oct 22, 2024
  4. Oct 21, 2024
  5. Oct 20, 2024
    • Linus Torvalds's avatar
      Linux 6.12-rc4 · 42f7652d
      Linus Torvalds authored
      42f7652d
    • Linus Torvalds's avatar
      Merge tag 'for-net-2024-10-16' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth · d7f513ae
      Linus Torvalds authored
      Pull bluetooth fixes from Luiz Augusto Von Dentz:
      
       - ISO: Fix multiple init when debugfs is disabled
      
       - Call iso_exit() on module unload
      
       - Remove debugfs directory on module init failure
      
       - btusb: Fix not being able to reconnect after suspend
      
       - btusb: Fix regression with fake CSR controllers 0a12:0001
      
       - bnep: fix wild-memory-access in proto_unregister
      
      Note: normally the bluetooth fixes go through the networking tree, but
      this missed the weekly merge, and two of the commits fix regressions
      that have caused a fair amount of noise and have now hit stable too:
      
        https://lore.kernel.org/all/4e1977ca-6166-4891-965e-34a6f319035f@leemhuis.info/
      
      So I'm pulling it directly just to expedite things and not miss yet
      another -rc release. This is not meant to become a new pattern.
      
      * tag 'for-net-2024-10-16' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth:
        Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001
        Bluetooth: bnep: fix wild-memory-access in proto_unregister
        Bluetooth: btusb: Fix not being able to reconnect after suspend
        Bluetooth: Remove debugfs directory on module init failure
        Bluetooth: Call iso_exit() on module unload
        Bluetooth: ISO: Fix multiple init when debugfs is disabled
      d7f513ae
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v6.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · dd4f5037
      Linus Torvalds authored
      Pull pin control fixes from Linus Walleij:
       "Mostly error path fixes, but one pretty serious interrupt problem in
        the Ocelot driver as well:
      
         - Fix two error paths and a missing semicolon in the Intel driver
      
         - Add a missing ACPI ID for the Intel Panther Lake
      
         - Check return value of devm_kasprintf() in the Apple and STM32
           drivers
      
         - Add a missing mutex_destroy() in the aw9523 driver
      
         - Fix a double free in cv1800_pctrl_dt_node_to_map() in the Sophgo
           driver
      
         - Fix a double free in ma35_pinctrl_dt_node_to_map_func() in the
           Nuvoton driver
      
         - Fix a bug in the Ocelot interrupt handler making the system hang"
      
      * tag 'pinctrl-v6.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: ocelot: fix system hang on level based interrupts
        pinctrl: nuvoton: fix a double free in ma35_pinctrl_dt_node_to_map_func()
        pinctrl: sophgo: fix double free in cv1800_pctrl_dt_node_to_map()
        pinctrl: intel: platform: Add Panther Lake to the list of supported
        pinctrl: aw9523: add missing mutex_destroy
        pinctrl: stm32: check devm_kasprintf() returned value
        pinctrl: apple: check devm_kasprintf() returned value
        pinctrl: intel: platform: use semicolon instead of comma in ncommunities assignment
        pinctrl: intel: platform: fix error path in device_for_each_child_node()
      dd4f5037
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · c5522822
      Linus Torvalds authored
      Pull misc driver fixes from Greg KH:
       "Here are a number of small char/misc/iio driver fixes for 6.12-rc4:
      
         - loads of small iio driver fixes for reported problems
      
         - parport driver out-of-bounds fix
      
         - Kconfig description and MAINTAINERS file updates
      
        All of these, except for the Kconfig and MAINTAINERS file updates have
        been in linux-next all week. Those other two are just documentation
        changes and will have no runtime issues and were merged on Friday"
      
      * tag 'char-misc-6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (39 commits)
        misc: rtsx: list supported models in Kconfig help
        MAINTAINERS: Remove some entries due to various compliance requirements.
        misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for OTP device
        misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for EEPROM device
        parport: Proper fix for array out-of-bounds access
        iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig
        iio: frequency: {admv4420,adrf6780}: format Kconfig entries
        iio: adc: ad4695: Add missing Kconfig select
        iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
        iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()
        iioc: dac: ltc2664: Fix span variable usage in ltc2664_channel_config()
        iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig
        iio: dac: ltc1660: add missing select REGMAP_SPI in Kconfig
        iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig
        iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig
        iio: frequency: adf4377: add missing select REMAP_SPI in Kconfig
        iio: resolver: ad2s1210: add missing select (TRIGGERED_)BUFFER in Kconfig
        iio: resolver: ad2s1210 add missing select REGMAP in Kconfig
        iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
        iio: pressure: bm1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
        ...
      c5522822
    • Linus Torvalds's avatar
      Merge tag 'tty-6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · c01ac4b9
      Linus Torvalds authored
      Pull tty/serial driver fixes from Greg KH:
       "Here are some small tty and serial driver fixes for 6.12-rc4:
      
         - qcom-geni serial driver fixes, wow what a mess of a UART chip that
           thing is...
      
         - vt infoleak fix for odd font sizes
      
         - imx serial driver bugfix
      
         - yet-another n_gsm ldisc bugfix, slowly chipping down the issues in
           that piece of code
      
        All of these have been in linux-next for over a week with no reported
        issues"
      
      * tag 'tty-6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        serial: qcom-geni: rename suspend functions
        serial: qcom-geni: drop unused receive parameter
        serial: qcom-geni: drop flip buffer WARN()
        serial: qcom-geni: fix rx cancel dma status bit
        serial: qcom-geni: fix receiver enable
        serial: qcom-geni: fix dma rx cancellation
        serial: qcom-geni: fix shutdown race
        serial: qcom-geni: revert broken hibernation support
        serial: qcom-geni: fix polled console initialisation
        serial: imx: Update mctrl old_status on RTSD interrupt
        tty: n_gsm: Fix use-after-free in gsm_cleanup_mux
        vt: prevent kernel-infoleak in con_font_get()
      c01ac4b9
    • Linus Torvalds's avatar
      Merge tag 'usb-6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · b68c1895
      Linus Torvalds authored
      Pull USB driver fixes from Greg KH:
       "Here are some small USB driver fixes and new device ids for 6.12-rc4:
      
         - xhci driver fixes for a number of reported issues
      
         - new usb-serial driver ids
      
         - dwc3 driver fixes for reported problems.
      
         - usb gadget driver fixes for reported problems
      
         - typec driver fixes
      
         - MAINTAINER file updates
      
        All of these have been in linux-next this week with no reported issues"
      
      * tag 'usb-6.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: serial: option: add Telit FN920C04 MBIM compositions
        USB: serial: option: add support for Quectel EG916Q-GL
        xhci: dbc: honor usb transfer size boundaries.
        usb: xhci: Fix handling errors mid TD followed by other errors
        xhci: Mitigate failed set dequeue pointer commands
        xhci: Fix incorrect stream context type macro
        USB: gadget: dummy-hcd: Fix "task hung" problem
        usb: gadget: f_uac2: fix return value for UAC2_ATTRIBUTE_STRING store
        usb: dwc3: core: Fix system suspend on TI AM62 platforms
        xhci: tegra: fix checked USB2 port number
        usb: dwc3: Wait for EndXfer completion before restoring GUSB2PHYCFG
        usb: typec: qcom-pmic-typec: fix sink status being overwritten with RP_DEF
        usb: typec: altmode should keep reference to parent
        MAINTAINERS: usb: raw-gadget: add bug tracker link
        MAINTAINERS: Add an entry for the LJCA drivers
      b68c1895
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v6.12_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · db87114d
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - Explicitly disable the TSC deadline timer when going idle to address
         some CPU errata in that area
      
       - Do not apply the Zenbleed fix on anything else except AMD Zen2 on the
         late microcode loading path
      
       - Clear CPU buffers later in the NMI exit path on 32-bit to avoid
         register clearing while they still contain sensitive data, for the
         RDFS mitigation
      
       - Do not clobber EFLAGS.ZF with VERW on the opportunistic SYSRET exit
         path on 32-bit
      
       - Fix parsing issues of memory bandwidth specification in sysfs for
         resctrl's memory bandwidth allocation feature
      
       - Other small cleanups and improvements
      
      * tag 'x86_urgent_for_v6.12_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/apic: Always explicitly disarm TSC-deadline timer
        x86/CPU/AMD: Only apply Zenbleed fix for Zen2 during late microcode load
        x86/bugs: Use code segment selector for VERW operand
        x86/entry_32: Clear CPU buffers after register restore in NMI return
        x86/entry_32: Do not clobber user EFLAGS.ZF
        x86/resctrl: Annotate get_mem_config() functions as __init
        x86/resctrl: Avoid overflow in MB settings in bw_validate()
        x86/amd_nb: Add new PCI ID for AMD family 1Ah model 20h
      db87114d
    • Linus Torvalds's avatar
      Merge tag 'irq_urgent_for_v6.12_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 949c9ef5
      Linus Torvalds authored
      Pull irq fixes from Borislav Petkov:
      
       - Fix a case for sifive-plic where an interrupt gets disabled *and*
         masked and remains masked when it gets reenabled later
      
       - Plug a small race in GIC-v4 where userspace can force an affinity
         change of a virtual CPU (vPE) in its unmapping path
      
       - Do not mix the two sets of ocelot irqchip's registers in the mask
         calculation of the main interrupt sticky register
      
      - Other smaller fixlets and cleanups
      
      * tag 'irq_urgent_for_v6.12_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        irqchip/renesas-rzg2l: Fix missing put_device
        irqchip/riscv-intc: Fix SMP=n boot with ACPI
        irqchip/sifive-plic: Unmask interrupt in plic_irq_enable()
        irqchip/gic-v4: Don't allow a VMOVP on a dying VPE
        irqchip/sifive-plic: Return error code on failure
        irqchip/riscv-imsic: Fix output text of base address
        irqchip/ocelot: Comment sticky register clearing code
        irqchip/ocelot: Fix trigger register address
        irqchip: Remove obsolete config ARM_GIC_V3_ITS_PCI
      949c9ef5
    • Linus Torvalds's avatar
      Merge tag 'sched_urgent_for_v6.12_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2b4d2501
      Linus Torvalds authored
      Pull scheduling fixes from Borislav Petkov:
      
       - Add PREEMPT_RT maintainers
      
       - Fix another aspect of delayed dequeued tasks wrt determining their
         state, i.e., whether they're runnable or blocked
      
       - Handle delayed dequeued tasks and their migration wrt PSI properly
      
       - Fix the situation where a delayed dequeue task gets enqueued into a
         new class, which should not happen
      
       - Fix a case where memory allocation would happen while the runqueue
         lock is held, which is a no-no
      
       - Do not over-schedule when tasks with shorter slices preempt the
         currently running task
      
       - Make sure delayed to deque entities are properly handled before
         unthrottling
      
       - Other smaller cleanups and improvements
      
      * tag 'sched_urgent_for_v6.12_rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        MAINTAINERS: Add an entry for PREEMPT_RT.
        sched/fair: Fix external p->on_rq users
        sched/psi: Fix mistaken CPU pressure indication after corrupted task state bug
        sched/core: Dequeue PSI signals for blocked tasks that are delayed
        sched: Fix delayed_dequeue vs switched_from_fair()
        sched/core: Disable page allocation in task_tick_mm_cid()
        sched/deadline: Use hrtick_enabled_dl() before start_hrtick_dl()
        sched/eevdf: Fix wakeup-preempt by checking cfs_rq->nr_running
        sched: Fix sched_delayed vs cfs_bandwidth
      2b4d2501
    • Linus Torvalds's avatar
      Merge tag 'for-linus-6.12a-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · a5ee44c8
      Linus Torvalds authored
      Pull xen fix from Juergen Gross:
       "A single fix for a build failure introduced this merge window"
      
      * tag 'for-linus-6.12a-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen: Remove dependency between pciback and privcmd
      a5ee44c8
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-6.12-2024-10-20' of git://git.infradead.org/users/hch/dma-mapping · 10e93e19
      Linus Torvalds authored
      Pull dma-mapping fix from Christoph Hellwig:
       "Just another small tracing fix from Sean"
      
      * tag 'dma-mapping-6.12-2024-10-20' of git://git.infradead.org/users/hch/dma-mapping:
        dma-mapping: fix tracing dma_alloc/free with vmalloc'd memory
      10e93e19
    • Linus Torvalds's avatar
      Merge tag 'io_uring-6.12-20241019' of git://git.kernel.dk/linux · 715ca9dd
      Linus Torvalds authored
      Pull one more io_uring fix from Jens Axboe:
       "Fix for a regression introduced in 6.12-rc2, where a condition check
        was negated and hence -EAGAIN would bubble back up up to userspace
        rather than trigger a retry condition"
      
      * tag 'io_uring-6.12-20241019' of git://git.kernel.dk/linux:
        io_uring/rw: fix wrong NOWAIT check in io_rw_init_file()
      715ca9dd
  6. Oct 19, 2024
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 531643fc
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Fixes all in drivers. The largest is the mpi3mr which corrects a phy
        count limit that should only apply to the controller but was being
        incorrectly applied to expander phys"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: target: core: Fix null-ptr-deref in target_alloc_device()
        scsi: mpi3mr: Validate SAS port assignments
        scsi: ufs: core: Set SDEV_OFFLINE when UFS is shut down
        scsi: ufs: core: Requeue aborted request
        scsi: ufs: core: Fix the issue of ICU failure
      531643fc
    • Linus Torvalds's avatar
      Merge tag 'ftrace-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 06526daa
      Linus Torvalds authored
      Pull ftrace fixes from Steven Rostedt:
       "A couple of fixes to function graph infrastructure:
      
         - Fix allocation of idle shadow stack allocation during hotplug
      
           If function graph tracing is started when a CPU is offline, if it
           were come online during the trace then the idle task that
           represents the CPU will not get a shadow stack allocated for it.
           This means all function graph hooks that happen while that idle
           task is running (including in interrupt mode) will have all its
           events dropped.
      
           Switch over to the CPU hotplug mechanism that will have any newly
           brought on line CPU get a callback that can allocate the shadow
           stack for its idle task.
      
         - Fix allocation size of the ret_stack_list array
      
           When function graph tracing converted over to allowing more than
           one user at a time, it had to convert its shadow stack from an
           array of ret_stack structures to an array of unsigned longs. The
           shadow stacks are allocated in batches of 32 at a time and assigned
           to every running task. The batch is held by the ret_stack_list
           array.
      
           But when the conversion happened, instead of allocating an array of
           32 pointers, it was allocated as a ret_stack itself (PAGE_SIZE).
           This ret_stack_list gets passed to a function that iterates over
           what it believes is its size defined by the
           FTRACE_RETSTACK_ALLOC_SIZE macro (which is 32).
      
           Luckily (PAGE_SIZE) is greater than 32 * sizeof(long), otherwise
           this would have been an array overflow. This still should be fixed
           and the ret_stack_list should be allocated to the size it is
           expected to be as someday it may end up being bigger than
           SHADOW_STACK_SIZE"
      
      * tag 'ftrace-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        fgraph: Allocate ret_stack_list with proper size
        fgraph: Use CPU hotplug mechanism to initialize idle shadow stacks
      06526daa
    • Linus Torvalds's avatar
      Merge tag 'ipe-pr-20241018' of git://git.kernel.org/pub/scm/linux/kernel/git/wufan/ipe · 8203ca38
      Linus Torvalds authored
      Pull ipe fixes from Fan Wu:
       "This addresses several issues identified by Luca when attempting to
        enable IPE on Debian and systemd:
      
         - address issues with IPE policy update errors and policy update
           version check, improving the clarity of error messages for better
           understanding by userspace programs.
      
         - enable IPE policies to be signed by secondary and platform
           keyrings, facilitating broader use across general Linux
           distributions like Debian.
      
         - updates the IPE entry in the MAINTAINERS file to reflect the new
           tree URL and my updated email from kernel.org"
      
      * tag 'ipe-pr-20241018' of git://git.kernel.org/pub/scm/linux/kernel/git/wufan/ipe:
        MAINTAINERS: update IPE tree url and Fan Wu's email
        ipe: fallback to platform keyring also if key in trusted keyring is rejected
        ipe: allow secondary and platform keyrings to install/update policies
        ipe: also reject policy updates with the same version
        ipe: return -ESTALE instead of -EINVAL on update when new policy has a lower version
      8203ca38
    • Linus Torvalds's avatar
      Merge tag 'input-for-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · f9e48255
      Linus Torvalds authored
      Pull input fixes from Dmitry Torokhov:
      
       - a fix for Zinitix driver to not fail probing if the property enabling
         touch keys functionality is not defined. Support for touch keys was
         added in 6.12 merge window so this issue does not affect users of
         released kernels
      
       - a couple new vendor/device IDs in xpad driver to enable support for
         more hardware
      
      * tag 'input-for-v6.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: zinitix - don't fail if linux,keycodes prop is absent
        Input: xpad - add support for MSI Claw A1M
        Input: xpad - add support for 8BitDo Ultimate 2C Wireless Controller
      f9e48255
    • Linus Torvalds's avatar
      Merge tag '9p-for-6.12-rc4' of https://github.com/martinetd/linux · 9197b73f
      Linus Torvalds authored
      Pull 9p fixes from Dominique Martinet:
       "Mashed-up update that I sat on too long:
      
         - fix for multiple slabs created with the same name
      
         - enable multipage folios
      
         - theorical fix to also look for opened fids by inode if none was
           found by dentry"
      
      [ Enabling multi-page folios should have been done during the merge
        window, but it's a one-liner, and the actual meat of the enablement
        is in netfs and already in use for other filesystems...  - Linus ]
      
      * tag '9p-for-6.12-rc4' of https://github.com/martinetd/linux:
        9p: Avoid creating multiple slab caches with the same name
        9p: Enable multipage folios
        9p: v9fs_fid_find: also lookup by inode if not found dentry
      9197b73f
    • Linus Torvalds's avatar
      Merge tag 'rust-fixes-6.12-2' of https://github.com/Rust-for-Linux/linux · 4e6bd4a3
      Linus Torvalds authored
      Pull rust fixes from Miguel Ojeda:
       "Toolchain and infrastructure:
      
         - Fix several issues with the 'rustc-option' macro. It includes a
           refactor from Masahiro of three '{cc,rust}-*' macros, which is not
           a fix but avoids repeating the same commands (which would be
           several lines in the case of 'rustc-option').
      
         - Fix conditions for 'CONFIG_HAVE_CFI_ICALL_NORMALIZE_INTEGERS'. It
           includes the addition of 'CONFIG_RUSTC_LLVM_VERSION', which is not
           a fix but is needed for the actual fix.
      
        And a trivial grammar fix"
      
      * tag 'rust-fixes-6.12-2' of https://github.com/Rust-for-Linux/linux:
        cfi: fix conditions for HAVE_CFI_ICALL_NORMALIZE_INTEGERS
        kbuild: rust: add `CONFIG_RUSTC_LLVM_VERSION`
        kbuild: fix issues with rustc-option
        kbuild: refactor cc-option-yn, cc-disable-warning, rust-option-yn macros
        lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW
      4e6bd4a3
    • Jens Axboe's avatar
      io_uring/rw: fix wrong NOWAIT check in io_rw_init_file() · ae6a888a
      Jens Axboe authored
      
      A previous commit improved how !FMODE_NOWAIT is dealt with, but
      inadvertently negated a check whilst doing so. This caused -EAGAIN to be
      returned from reading files with O_NONBLOCK set. Fix up the check for
      REQ_F_SUPPORT_NOWAIT.
      
      Reported-by: default avatarJulian Orth <ju.orth@gmail.com>
      Link: https://github.com/axboe/liburing/issues/1270
      
      
      Fixes: f7c91343 ("io_uring/rw: allow pollable non-blocking attempts for !FMODE_NOWAIT")
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      ae6a888a
Loading