Skip to content
Snippets Groups Projects
  1. Nov 13, 2024
  2. Nov 12, 2024
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 14b63209
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
       "x86 and selftests fixes.
      
        x86:
      
         - When emulating a guest TLB flush for a nested guest, flush vpid01,
           not vpid02, if L2 is active but VPID is disabled in vmcs12, i.e. if
           L2 and L1 are sharing VPID '0' (from L1's perspective).
      
         - Fix a bug in the SNP initialization flow where KVM would return '0'
           to userspace instead of -errno on failure.
      
         - Move the Intel PT virtualization (i.e. outputting host trace to
           host buffer and guest trace to guest buffer) behind CONFIG_BROKEN.
      
         - Fix memory leak on failure of KVM_SEV_SNP_LAUNCH_START
      
         - Fix a bug where KVM fails to inject an interrupt from the IRR after
           KVM_SET_LAPIC.
      
        Selftests:
      
         - Increase the timeout for the memslot performance selftest to avoid
           false failures on arm64 and nested x86 platforms.
      
         - Fix a goof in the guest_memfd selftest where a for-loop initialized
           a bit mask to zero instead of BIT(0).
      
         - Disable strict aliasing when building KVM selftests to prevent the
           compiler from treating things like "u64 *" to "uint64_t *" cases as
           undefined behavior, which can lead to nasty, hard to debug
           failures.
      
         - Force -march=x86-64-v2 for KVM x86 selftests if and only if the
           uarch is supported by the compiler.
      
         - Fix broken compilation of kvm selftests after a header sync in
           tools/"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN
        KVM: x86: Unconditionally set irr_pending when updating APICv state
        kvm: svm: Fix gctx page leak on invalid inputs
        KVM: selftests: use X86_MEMTYPE_WB instead of VMX_BASIC_MEM_TYPE_WB
        KVM: SVM: Propagate error from snp_guest_req_init() to userspace
        KVM: nVMX: Treat vpid01 as current if L2 is active, but with VPID disabled
        KVM: selftests: Don't force -march=x86-64-v2 if it's unsupported
        KVM: selftests: Disable strict aliasing
        KVM: selftests: fix unintentional noop test in guest_memfd_test.c
        KVM: selftests: memslot_perf_test: increase guest sync timeout
      14b63209
    • Linus Torvalds's avatar
      Merge tag 'for-6.12/dm-fixes-3' of... · 5456ec9d
      Linus Torvalds authored
      Merge tag 'for-6.12/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper fixes from Mikulas Patocka:
      
       - fix warnings about duplicate slab cache names
      
      * tag 'for-6.12/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm-cache: fix warnings about duplicate slab caches
        dm-bufio: fix warnings about duplicate slab caches
      5456ec9d
    • Linus Torvalds's avatar
      Merge tag 'integrity-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity · 93db202c
      Linus Torvalds authored
      Pull integrity fixes from Mimi Zohar:
       "One bug fix, one performance improvement, and the use of
        static_assert:
      
         - The bug fix addresses "only a cosmetic change" commit, which didn't
           take into account the original 'ima' template definition.
      
        - The performance improvement limits the atomic_read()"
      
      * tag 'integrity-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
        integrity: Use static_assert() to check struct sizes
        evm: stop avoidably reading i_writecount in evm_file_release
        ima: fix buffer overrun in ima_eventdigest_init_common
      93db202c
    • Linus Torvalds's avatar
      Merge tag 'landlock-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux · 92dda329
      Linus Torvalds authored
      Pull landlock fixes from Mickaël Salaün:
       "This fixes issues in the Landlock's sandboxer sample and
        documentation, slightly refactors helpers (required for ongoing patch
        series), and improve/fix a feature merged in v6.12 (signal and
        abstract UNIX socket scoping)"
      
      * tag 'landlock-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux:
        landlock: Optimize scope enforcement
        landlock: Refactor network access mask management
        landlock: Refactor filesystem access mask management
        samples/landlock: Clarify option parsing behaviour
        samples/landlock: Refactor help message
        samples/landlock: Fix port parsing in sandboxer
        landlock: Fix grammar issues in documentation
        landlock: Improve documentation of previous limitations
      92dda329
  3. Nov 11, 2024
    • Linus Torvalds's avatar
      Merge tag 'sched_ext-for-6.12-rc7-fixes' of... · 3022e9d0
      Linus Torvalds authored
      Merge tag 'sched_ext-for-6.12-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext
      
      Pull sched_ext fixes from Tejun Heo:
      
       - The fair sched class currently has a bug where its balance() returns
         true telling the sched core that it has tasks to run but then NULL
         from pick_task(). This makes sched core call sched_ext's pick_task()
         without preceding balance() which can lead to stalls in partial mode.
      
         For now, work around by detecting the condition and forcing the CPU
         to go through another scheduling cycle.
      
       - Add a missing newline to an error message and fix drgn introspection
         tool which went out of sync.
      
      * tag 'sched_ext-for-6.12-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext:
        sched_ext: Handle cases where pick_task_scx() is called without preceding balance_scx()
        sched_ext: Update scx_show_state.py to match scx_ops_bypass_depth's new type
        sched_ext: Add a missing newline at the end of an error message
      3022e9d0
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 0ccd733a
      Linus Torvalds authored
      Pull virtio fixes from Michael Tsirkin:
       "Several small bugfixes all over the place"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        vdpa/mlx5: Fix error path during device add
        vp_vdpa: fix id_table array not null terminated error
        virtio_pci: Fix admin vq cleanup by using correct info pointer
        vDPA/ifcvf: Fix pci_read_config_byte() return code handling
        Fix typo in vringh_test.c
        vdpa: solidrun: Fix UB bug with devres
        vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans
      0ccd733a
    • Mikulas Patocka's avatar
      dm-cache: fix warnings about duplicate slab caches · 346dbf1b
      Mikulas Patocka authored
      
      The commit 4c395296 adds a warning about duplicate cache names if
      CONFIG_DEBUG_VM is selected. These warnings are triggered by the dm-cache
      code.
      
      The dm-cache code allocates a slab cache for each device. This commit
      changes it to allocate just one slab cache in the module init function.
      
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Fixes: 4c395296 ("slab: Warn on duplicate cache names when DEBUG_VM=y")
      346dbf1b
    • Mikulas Patocka's avatar
      dm-bufio: fix warnings about duplicate slab caches · 42964e4b
      Mikulas Patocka authored
      
      The commit 4c395296 adds a warning about duplicate cache names if
      CONFIG_DEBUG_VM is selected. These warnings are triggered by the dm-bufio
      code. The dm-bufio code allocates a slab cache with each client. It is
      not possible to preallocate the caches in the module init function
      because the size of auxiliary per-buffer data is not known at this point.
      
      So, this commit changes dm-bufio so that it appends a unique atomic value
      to the cache name, to avoid the warnings.
      
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Fixes: 4c395296 ("slab: Warn on duplicate cache names when DEBUG_VM=y")
      42964e4b
  4. Nov 10, 2024
    • Linus Torvalds's avatar
      Linux 6.12-rc7 · 2d5404ca
      Linus Torvalds authored
      2d5404ca
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 541f3d87
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "A handful of Qualcomm clk driver fixes:
      
         - Correct flags for X Elite USB MP GDSC and pcie pipediv2 clocks
      
         - Fix alpha PLL post_div mask for the cases where width is not
           specified
      
         - Avoid hangs in the SM8350 video driver (venus) by setting HW_CTRL
           trigger feature on the video clocks"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: qcom: gcc-x1e80100: Fix USB MP SS1 PHY GDSC pwrsts flags
        clk: qcom: gcc-x1e80100: Fix halt_check for pipediv2 clocks
        clk: qcom: clk-alpha-pll: Fix pll post div mask when width is not set
        clk: qcom: videocc-sm8350: use HW_CTRL_TRIGGER for vcodec GDSCs
      541f3d87
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · d7e67a9e
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "i2c-host fixes for v6.12-rc7 (from Andi):
      
         - Fix designware incorrect behavior when concluding a transmission
      
         - Fix Mule multiplexer error value evaluation"
      
      * tag 'i2c-for-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: designware: do not hold SCL low when I2C_DYNAMIC_TAR_UPDATE is not set
        i2c: muxes: Fix return value check in mule_i2c_mux_probe()
      d7e67a9e
    • Trond Myklebust's avatar
      filemap: Fix bounds checking in filemap_read() · ace149e0
      Trond Myklebust authored
      
      If the caller supplies an iocb->ki_pos value that is close to the
      filesystem upper limit, and an iterator with a count that causes us to
      overflow that limit, then filemap_read() enters an infinite loop.
      
      This behaviour was discovered when testing xfstests generic/525 with the
      "localio" optimisation for loopback NFS mounts.
      
      Reported-by: default avatarMike Snitzer <snitzer@kernel.org>
      Fixes: c2a9737f ("vfs,mm: fix a dead loop in truncate_inode_pages_range()")
      Tested-by: default avatarMike Snitzer <snitzer@kernel.org>
      Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ace149e0
    • Linus Torvalds's avatar
      Merge tag 'irq_urgent_for_v6.12_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a9cda7c0
      Linus Torvalds authored
      Pull irq fix from Borislav Petkov:
      
       - Make sure GICv3 controller interrupt activation doesn't race with a
         concurrent deactivation due to propagation delays of the register
         write
      
      * tag 'irq_urgent_for_v6.12_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        irqchip/gic-v3: Force propagation of the active state with a read-back
      a9cda7c0
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2024-11-09-22-40' of... · 28e43197
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2024-11-09-22-40' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull misc fixes from Andrew Morton:
       "20 hotfixes, 14 of which are cc:stable.
      
        Three affect DAMON. Lorenzo's five-patch series to address the
        mmap_region error handling is here also.
      
        Apart from that, various singletons"
      
      * tag 'mm-hotfixes-stable-2024-11-09-22-40' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
        mailmap: add entry for Thorsten Blum
        ocfs2: remove entry once instead of null-ptr-dereference in ocfs2_xa_remove()
        signal: restore the override_rlimit logic
        fs/proc: fix compile warning about variable 'vmcore_mmap_ops'
        ucounts: fix counter leak in inc_rlimit_get_ucounts()
        selftests: hugetlb_dio: check for initial conditions to skip in the start
        mm: fix docs for the kernel parameter ``thp_anon=``
        mm/damon/core: avoid overflow in damon_feed_loop_next_input()
        mm/damon/core: handle zero schemes apply interval
        mm/damon/core: handle zero {aggregation,ops_update} intervals
        mm/mlock: set the correct prev on failure
        objpool: fix to make percpu slot allocation more robust
        mm/page_alloc: keep track of free highatomic
        mm: resolve faulty mmap_region() error path behaviour
        mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling
        mm: refactor map_deny_write_exec()
        mm: unconditionally close VMAs on error
        mm: avoid unsafe VMA hook invocation when error arises on mmap hook
        mm/thp: fix deferred split unqueue naming and locking
        mm/thp: fix deferred split queue not partially_mapped
      28e43197
    • Linus Torvalds's avatar
      Merge tag 'usb-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · a558cc34
      Linus Torvalds authored
      Pull USB/Thunderbolt fixes from Greg KH:
       "Here are some small remaining USB and Thunderbolt fixes and device ids
        for 6.12-rc7. Included in here are:
      
         - new USB serial driver device ids
      
         - thunderbolt driver fixes for reported problems
      
         - typec bugfixes
      
         - dwc3 driver fix
      
         - musb driver fix
      
        All of these have been in linux-next this past week with no reported
        issues"
      
      * tag 'usb-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: serial: qcserial: add support for Sierra Wireless EM86xx
        thunderbolt: Fix connection issue with Pluggable UD-4VPD dock
        usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()
        usb: dwc3: fix fault at system suspend if device was already runtime suspended
        usb: typec: qcom-pmic: init value of hdr_len/txbuf_len earlier
        usb: musb: sunxi: Fix accessing an released usb phy
        USB: serial: io_edgeport: fix use after free in debug printk
        USB: serial: option: add Quectel RG650V
        USB: serial: option: add Fibocom FG132 0x0112 composition
        thunderbolt: Add only on-board retimers when !CONFIG_USB4_DEBUGFS_MARGINING
      a558cc34
    • Linus Torvalds's avatar
      Merge tag 'staging-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 023d4fc0
      Linus Torvalds authored
      Pull staging driver fixes from Greg KH:
       "Here are two small memory leak fixes for the vchiq_arm staging driver
        that have been sitting in my tree for weeks and should get merged for
        6.12-rc7 so that people don't keep tripping over them.
      
        They both have been in linux-next for a while with no reported
        problems"
      
      * tag 'staging-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: vchiq_arm: Use devm_kzalloc() for drv_mgmt allocation
        staging: vchiq_arm: Use devm_kzalloc() for vchiq_arm_state allocation
      023d4fc0
  5. Nov 09, 2024
  6. Nov 08, 2024
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · da4373fb
      Linus Torvalds authored
      Pull thermal control fixes from Rafael Wysocki:
       "These fix one issue in the qcom lmh thermal driver, a DT handling
        issue in the thermal core and two issues in the userspace thermal
        library:
      
         - Allow tripless thermal zones defined in a DT to be registered in
           accordance with the thermal DT bindings (Icenowy Zheng)
      
         - Annotate LMH IRQs with lockdep classes to prevent lockdep from
           reporting a possible recursive locking issue that cannot really
           occur (Dmitry Baryshkov)
      
         - Improve the thermal library "make clean" to remove a leftover
           symbolic link created during compilation and fix the sampling
           handler invocation in that library to pass the correct pointer to
           it (Emil Dahl Juhl, zhang jiao)"
      
      * tag 'thermal-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        thermal/of: support thermal zones w/o trips subnode
        tools/lib/thermal: Remove the thermal.h soft link when doing make clean
        tools/lib/thermal: Fix sampling handler context ptr
        thermal/drivers/qcom/lmh: Remove false lockdep backtrace
      da4373fb
    • Linus Torvalds's avatar
      Merge tag 'pm-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 4f63642c
      Linus Torvalds authored
      Pull power management fix from Rafael Wysocki:
       "Fix the asymmetric CPU capacity support code in the intel_pstate
        driver, added during this develompent cycle, to address a corner case
        in which the capacity of a CPU going online is not updated (Rafael
        Wysocki)"
      
      * tag 'pm-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: intel_pstate: Update asym capacity for CPUs that were offline initially
        cpufreq: intel_pstate: Clear hybrid_max_perf_cpu before driver registration
      4f63642c
    • Linus Torvalds's avatar
      Merge tag 'acpi-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · c7a8f2a5
      Linus Torvalds authored
      Pull ACPI fix from Rafael Wysocki:
       "Fix the ACPI processor driver initialization ordering after recent
        changes to avoid calling init_freq_invariance_cppc() too early on AMD
        platforms (Mario Limonciello)"
      
      * tag 'acpi-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: processor: Move arch_init_invariance_cppc() call later
      c7a8f2a5
    • Linus Torvalds's avatar
      Merge tag 'v6.12-rc6-ksmbd-fixes' of git://git.samba.org/ksmbd · 1eb714c6
      Linus Torvalds authored
      Pull smb server fixes from Steve French:
       "Four fixes, all also marked for stable:
      
         - fix two potential use after free issues
      
         - fix OOM issue with many simultaneous requests
      
         - fix missing error check in RPC pipe handling"
      
      * tag 'v6.12-rc6-ksmbd-fixes' of git://git.samba.org/ksmbd:
        ksmbd: check outstanding simultaneous SMB operations
        ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp
        ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create
        ksmbd: Fix the missing xa_store error check
      1eb714c6
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · c291c9cf
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Two small fixes, the drivers one in ufs simply delays running a work
        queue and the generic one in zoned storage switches to a more correct
        API that tries the standard buddy allocator first (for small
        allocations); this fixes an allocation problem with small allocations
        seen under memory pressure"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: ufs: core: Start the RTC update work later
        scsi: sd_zbc: Use kvzalloc() to allocate REPORT ZONES buffer
      c291c9cf
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-11-09' of https://gitlab.freedesktop.org/drm/kernel · 952a33dc
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Weekly fixes, usual leaders in amdgpu and xe, then a panel quirk, and
        some fixes to imagination and panthor drivers. Seems around the usual
        level for this time and don't know of any big problems.
      
        amdgpu:
         - Brightness fix
         - DC vbios parsing fix
         - ACPI fix
         - SMU 14.x fix
         - Power workload profile fix
         - GC partitioning fix
         - Debugfs fixes
      
        imagination:
         - Track PVR context per file
         - Break ref-counting cycle
      
        panel-orientation-quirks:
         - Fix matching Lenovo Yoga Tab 3 X90F
      
        panthor:
         - Lock VM array
         - Be strict about I/O mapping flags
      
        xe:
         - Fix ccs_mode setting for Xe2 and later
         - Synchronize ccs_mode setting with client creation
         - Apply scheduling WA for LNL in additional places as needed
         - Fix leak and lock handling in error paths of xe_exec ioctl
         - Fix GGTT allocation leak leading to eventual crash in SR-IOV
         - Move run_ticks update out of job handling to avoid synchronization
           with reader"
      
      * tag 'drm-fixes-2024-11-09' of https://gitlab.freedesktop.org/drm/kernel: (23 commits)
        drm/panthor: Be stricter about IO mapping flags
        drm/panthor: Lock XArray when getting entries for the VM
        drm: panel-orientation-quirks: Make Lenovo Yoga Tab 3 X90F DMI match less strict
        drm/xe: Stop accumulating LRC timestamp on job_free
        drm/xe/pf: Fix potential GGTT allocation leak
        drm/xe: Drop VM dma-resv lock on xe_sync_in_fence_get failure in exec IOCTL
        drm/xe: Fix possible exec queue leak in exec IOCTL
        drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()
        drm/amdgpu: Adjust debugfs eviction and IB access permissions
        drm/amdgpu: Adjust debugfs register access permissions
        drm/amdgpu: Fix DPX valid mode check on GC 9.4.3
        drm/amd/pm: correct the workload setting
        drm/amd/pm: always pick the pptable from IFWI
        drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported
        drm/amd/display: parse umc_info or vram_info based on ASIC
        drm/amd/display: Fix brightness level not retained over reboot
        drm/xe/guc/tlb: Flush g2h worker in case of tlb timeout
        drm/xe/ufence: Flush xe ordered_wq in case of ufence timeout
        drm/xe: Move LNL scheduling WA to xe_device.h
        drm/xe: Use the filelist from drm for ccs_mode change
        ...
      952a33dc
    • Dave Airlie's avatar
      Merge tag 'drm-xe-fixes-2024-11-08' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes · 1a6bbc4d
      Dave Airlie authored
      
      Driver Changes:
      - Fix ccs_mode setting for Xe2 and later (Balasubramani)
      - Synchronize ccs_mode setting with client creation (Balasubramani)
      - Apply scheduling WA for LNL in additional places as needed
        (Nirmoy)
      - Fix leak and lock handling in error paths of xe_exec ioctl
        (Matthew Brost)
      - Fix GGTT allocation leak leading to eventual crash in SR-IOV
        (Michal Wajdeczko)
      - Move run_ticks update out of job handling to avoid synchronization
        with reader (Lucas)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Lucas De Marchi <lucas.demarchi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/4ffcebtluaaaohquxfyf5babpihmtscxwad3jjmt5nggwh2xpm@ztw67ucywttg
      1a6bbc4d
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2024-11-08' of... · 9b984a71
      Dave Airlie authored
      Merge tag 'drm-misc-fixes-2024-11-08' of https://gitlab.freedesktop.org/drm/misc/kernel
      
       into drm-fixes
      
      Short summary of fixes pull:
      
      imagination:
      - Track PVR context per file
      - Break ref-counting cycle
      
      panel-orientation-quirks:
      - Fix matching Lenovo Yoga Tab 3 X90F
      
      panthor:
      - Lock VM array
      - Be strict about I/O mapping flags
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20241108085058.GA37468@linux.fritz.box
      9b984a71
    • Liu Peibao's avatar
      i2c: designware: do not hold SCL low when I2C_DYNAMIC_TAR_UPDATE is not set · 8de3e97f
      Liu Peibao authored
      
      When the Tx FIFO is empty and the last command has no STOP bit
      set, the master holds SCL low. If I2C_DYNAMIC_TAR_UPDATE is not
      set, BIT(13) MST_ON_HOLD of IC_RAW_INTR_STAT is not enabled,
      causing the __i2c_dw_disable() timeout. This is quite similar to
      commit 2409205a ("i2c: designware: fix __i2c_dw_disable() in
      case master is holding SCL low"). Also check BIT(7)
      MST_HOLD_TX_FIFO_EMPTY in IC_STATUS, which is available when
      IC_STAT_FOR_CLK_STRETCH is set.
      
      Fixes: 2409205a ("i2c: designware: fix __i2c_dw_disable() in case master is holding SCL low")
      Co-developed-by: default avatarXiaowu Ding <xiaowu.ding@jaguarmicro.com>
      Signed-off-by: default avatarXiaowu Ding <xiaowu.ding@jaguarmicro.com>
      Co-developed-by: default avatarAngus Chen <angus.chen@jaguarmicro.com>
      Signed-off-by: default avatarAngus Chen <angus.chen@jaguarmicro.com>
      Signed-off-by: default avatarLiu Peibao <loven.liu@jaguarmicro.com>
      Acked-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
      Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
      8de3e97f
    • Linus Torvalds's avatar
      Merge tag 'sound-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 50643bbc
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Still more changes floating than wished at this late stage, but all
        are small device-specific fixes, and look less troublesome.
      
        Including a few ASoC quirk / ID additoins, a series of ASoC STM fixes,
        HD-audio conexant codec regression fix, and other various quirks and
        device-specific fixes"
      
      * tag 'sound-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ASoC: SOF: sof-client-probes-ipc4: Set param_size extension bits
        ASoC: stm: Prevent potential division by zero in stm32_sai_get_clk_div()
        ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round_rate()
        ASoC: amd: yc: Support dmic on another model of Lenovo Thinkpad E14 Gen 6
        ASoC: SOF: amd: Fix for incorrect DMA ch status register offset
        ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022
        ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove
        MAINTAINERS: Generic Sound Card section
        ALSA: usb-audio: Add quirk for HP 320 FHD Webcam
        ASoC: tas2781: Add new driver version for tas2563 & tas2781 qfn chip
        ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init()
        ALSA: ump: Don't enumeration invalid groups for legacy rawmidi
        Revert "ALSA: hda/conexant: Mute speakers at suspend / shutdown"
      50643bbc
    • Linus Torvalds's avatar
      Merge tag 'media/v6.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · ceb06133
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
      
       - dvb-core fixes for vb2 check and device registration
      
       - v4l2-core: fix an issue with error handling for VIDIOC_G_CTRL
      
       - vb2 core: fix an issue with vb plane copy logic
      
       - videobuf2-core: copy vb planes unconditionally
      
       - vivid: fix buffer overwrite when using > 32 buffers
      
       - vivid: fix a potential division by zero due to an issue at v4l2-tpg
      
       - some spectre vulnerability fixes
      
       - several OOM access fixes
      
       - some buffer overflow fixes
      
      * tag 'media/v6.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        media: videobuf2-core: copy vb planes unconditionally
        media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set
        media: vivid: fix buffer overwrite when using > 32 buffers
        media: pulse8-cec: fix data timestamp at pulse8_setup()
        media: cec: extron-da-hd-4k-plus: don't use -1 as an error code
        media: stb0899_algo: initialize cfr before using it
        media: adv7604: prevent underflow condition when reporting colorspace
        media: cx24116: prevent overflows on SNR calculus
        media: ar0521: don't overflow when checking PLL values
        media: s5p-jpeg: prevent buffer overflows
        media: av7110: fix a spectre vulnerability
        media: mgb4: protect driver against spectre
        media: dvb_frontend: don't play tricks with underflow values
        media: dvbdev: prevent the risk of out of memory access
        media: v4l2-tpg: prevent the risk of a division by zero
        media: v4l2-ctrls-api: fix error handling for v4l2_g_ctrl()
        media: dvb-core: add missing buffer index check
      ceb06133
    • Linus Torvalds's avatar
      Merge tag 'slab-for-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab · f1dce1f0
      Linus Torvalds authored
      Pull slab fix from Vlastimil Babka:
      
       - Fix for duplicate caches in some arm64 configurations with
         CONFIG_SLAB_BUCKETS (Koichiro Den)
      
      * tag 'slab-for-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
        mm/slab: fix warning caused by duplicate kmem_cache creation in kmem_buckets_create
      f1dce1f0
    • Linus Torvalds's avatar
      Merge tag 'for-6.12-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 9183e033
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
       "A few more one-liners that fix some user visible problems:
      
         - use correct range when clearing qgroup reservations after COW
      
         - properly reset freed delayed ref list head
      
         - fix ro/rw subvolume mounts to be backward compatible with old and
           new mount API"
      
      * tag 'for-6.12-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: fix the length of reserved qgroup to free
        btrfs: reinitialize delayed ref list after deleting it from the list
        btrfs: fix per-subvolume RO/RW flags with new mount API
      9183e033
    • Linus Torvalds's avatar
      Merge tag 'bcachefs-2024-11-07' of git://evilpiepirate.org/bcachefs · b5f1b488
      Linus Torvalds authored
      Pull bcachefs fixes from Kent Overstreet:
       "Some trivial syzbot fixes, two more serious btree fixes found by
        looping single_devices.ktest small_nodes:
      
         - Topology error on split after merge, where we accidentaly picked
           the node being deleted for the pivot, resulting in an assertion pop
      
         - New nodes being preallocated were left on the freedlist, unlocked,
           resulting in them sometimes being accidentally freed: this dated
           from pre-cycle detector, when we could leave them locked. This
           should have resulted in more explosions and fireworks, but turned
           out to be surprisingly hard to hit because the preallocated nodes
           were being used right away.
      
           The fix for this is bigger than we'd like - reworking btree list
           handling was a bit invasive - but we've now got more assertions and
           it's well tested.
      
         - Also another mishandled transaction restart fix (in
           btree_node_prefetch) - we're almost done with those"
      
      * tag 'bcachefs-2024-11-07' of git://evilpiepirate.org/bcachefs:
        bcachefs: Fix UAF in __promote_alloc() error path
        bcachefs: Change OPT_STR max to be 1 less than the size of choices array
        bcachefs: btree_cache.freeable list fixes
        bcachefs: check the invalid parameter for perf test
        bcachefs: add check NULL return of bio_kmalloc in journal_read_bucket
        bcachefs: Ensure BCH_FS_may_go_rw is set before exiting recovery
        bcachefs: Fix topology errors on split after merge
        bcachefs: Ancient versions with bad bkey_formats are no longer supported
        bcachefs: Fix error handling in bch2_btree_node_prefetch()
        bcachefs: Fix null ptr deref in bucket_gen_get()
      b5f1b488
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 9ea7edac
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "Here is a (hopefully) final round of arm64 fixes for 6.12 that address
        some user-visible floating point register corruption. Both of the
        Marks have been working on this for a couple of weeks and we've ended
        up in a position where SVE is solid but SME still has enough pending
        issues that the most pragmatic solution for the release and stable
        backports is to disable the feature. Yes, it's a shame, but the
        hardware is rare as hen's teeth at the moment and we're better off
        getting back to a known good state before fixing it all properly.
        We're also improving the selftests for 6.13 to help avoid merging
        broken code in the future.
      
        Anyway, the good news is that we're removing a lot more code than
        we're adding.
      
        Summary:
      
         - Fix handling of SVE traps from userspace on preemptible kernels
           when converting the saved floating point state into SVE state.
      
         - Remove broken support for the SMCCCv1.3 "SVE discard hint"
           optimisation.
      
         - Disable SME support, as the current support code suffers from
           numerous issues around signal delivery, ptrace access and
           context-switch which can lead to user-visible corruption of the
           register state"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: Kconfig: Make SME depend on BROKEN for now
        arm64: smccc: Remove broken support for SMCCCv1.3 SVE discard hint
        arm64/sve: Discard stale CPU state when handling SVE traps
      9ea7edac
Loading