Date: Wed, 2 Oct 2024 02:01:31 -0700 From: Dmitry Torokhov To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [git pull] Input updates for v6.12-rc1 Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git tags/input-for-v6.12-rc1 to receive updates for the input subsystem. You will get: - a couple fixups for adp5589-keys driver - recently added driver for PixArt PS/2 touchpads is dropped temporarily because its detection routine is too greedy and mis-identifies devices from other vendors as PixArt devices. Changelog: --------- Dmitry Torokhov (1): Revert "Input: Add driver for PixArt PS/2 touchpad" Nuno Sa (2): Input: adp5589-keys - fix NULL pointer dereference Input: adp5589-keys - fix adp5589_gpio_get_value() Diffstat: -------- drivers/input/keyboard/adp5589-keys.c | 22 ++- drivers/input/mouse/Kconfig | 12 -- drivers/input/mouse/Makefile | 1 - drivers/input/mouse/pixart_ps2.c | 300 ---------------------------------- drivers/input/mouse/pixart_ps2.h | 36 ---- drivers/input/mouse/psmouse-base.c | 17 -- drivers/input/mouse/psmouse.h | 3 +- 7 files changed, 14 insertions(+), 377 deletions(-) delete mode 100644 drivers/input/mouse/pixart_ps2.c delete mode 100644 drivers/input/mouse/pixart_ps2.h Thanks. -- Dmitry . Date: Wed, 2 Oct 2024 17:40:33 +0200 From: Benjamin Tissoires To: Linus Torvalds Cc: Jiri Kosina , linux-kernel@vger.kernel.org Subject: [GIT PULL] HID fix for 6.12-rc1 Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git tags/hid-for-linus-2024090201 to receive ===== - a small missing fix from the new HID-BPF code introduced in v6.11. This was missed because the BPF tree was then more permissive, but is less now, in v6.12-rc1. This lead to the HID-BPF CI failing completely, which is a good thing I guess, because it exposed the problem. ===== Thanks. ---------------------------------------------------------------- Benjamin Tissoires (1): HID: bpf: fix cfi stubs for hid_bpf_ops drivers/hid/bpf/hid_bpf_struct_ops.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) . Date: Thu, 3 Oct 2024 07:21:24 +0200 From: Christophe Leroy To: soc@kernel.org, Arnd Bergmann Cc: Herve Codina , "linux-kernel@vger.kernel.org" , Geert Uytterhoeven Subject: [GIT PULL] SOC FSL fixes for 6.12 Hi Arnd, Please pull the following Freescale Soc Drivers fixes for 6.12 Thanks Christophe The following changes since commit 7a99b1c0bce5cf8c554ceecd29ad1e8085557fd3: Merge branch 'support-for-quicc-engine-tsa-and-qmc' (2024-09-03 07:51:34 +0200) are available in the Git repository at: https://github.com/chleroy/linux.git tags/soc_fsl-6.12-3 for you to fetch changes up to 1117b916f541fc8e4ce812843555432022e5aa0e: soc: fsl: cpm1: qmc: Fix unused data compilation warning (2024-10-02 23:29:38 +0200) ---------------------------------------------------------------- FSL SOC fixes for v6.12: - Fix a "cast to pointer from integer of different size" build error due to IS_ERROR_VALUE() used with something which is not a pointer. - Fix an unused data build warning. ---------------------------------------------------------------- Geert Uytterhoeven (1): soc: fsl: cpm1: qmc: Do not use IS_ERR_VALUE() on error pointers Herve Codina (1): soc: fsl: cpm1: qmc: Fix unused data compilation warning drivers/soc/fsl/qe/qmc.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) . Date: Thu, 3 Oct 2024 11:00:20 +0200 From: Christian Brauner To: Linus Torvalds Cc: Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] vfs fixes Hey Linus, /* Summary */ This contains fixes for this merge window: vfs: - Ensure that iter_folioq_get_pages() advances to the next slot otherwise it will end up using the same folio with an out-of-bound offset. iomap: - Dont unshare delalloc extents which can't be reflinked, and thus can't be shared. - Constrain the file range passed to iomap_file_unshare() directly in iomap instead of requiring the callers to do it. netfs: - Use folioq_count instead of folioq_nr_slot to prevent an unitialized value warning in netfs_clear_buffer(). - Fix missing wakeup after issuing writes by scheduling the write collector only if all the subrequest queues are empty and thus no writes are pending. - Fix two minor documentation bugs. /* Testing */ gcc version 14.2.0 (Debian 14.2.0-3) Debian clang version 16.0.6 (27+b1) /* Conflicts */ No known conflicts. The following changes since commit e32cde8d2bd7d251a8f9b434143977ddf13dcec6: Merge tag 'sched_ext-for-6.12-rc1-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext (2024-09-30 12:58:17 -0700) are available in the Git repository at: git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.12-rc2.fixes.2 for you to fetch changes up to a311a08a4237241fb5b9d219d3e33346de6e83e0: iomap: constrain the file range passed to iomap_file_unshare (2024-10-03 10:22:28 +0200) Please consider pulling these changes from the signed vfs-6.12-rc2.fixes.2 tag. Thanks! Christian ---------------------------------------------------------------- vfs-6.12-rc2.fixes.2 ---------------------------------------------------------------- Chang Yu (1): netfs: Fix a KMSAN uninit-value error in netfs_clear_buffer Christian Brauner (2): folio_queue: fix documentation Documentation: add missing folio_queue entry Darrick J. Wong (2): iomap: don't bother unsharing delalloc extents iomap: constrain the file range passed to iomap_file_unshare David Howells (1): netfs: Fix missing wakeup after issuing writes Omar Sandoval (1): iov_iter: fix advancing slot in iter_folioq_get_pages() Documentation/core-api/index.rst | 1 + fs/dax.c | 6 +++++- fs/iomap/buffered-io.c | 9 +++++++-- fs/netfs/misc.c | 2 +- fs/netfs/write_issue.c | 42 ++++++++++++++++++++++++++-------------- include/linux/folio_queue.h | 2 +- lib/iov_iter.c | 2 +- 7 files changed, 43 insertions(+), 21 deletions(-) . Date: Thu, 3 Oct 2024 11:29:01 -0500 From: Steve French To: Linus Torvalds Cc: Namjae Jeon , CIFS , LKML Subject: [GIT PULL] ksmbd server fixes Please pull the following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.samba.org/ksmbd.git tags/v6.12-rc1-ksmbd-fixes for you to fetch changes up to 9c383396362a4d1db99ed5240f4708d443361ef3: ksmbd: Use struct_size() to improve smb_direct_rdma_xmit() (2024-10-01 14:50:51 -0500) ---------------------------------------------------------------- Three small ksmbd server fixes - small cleanup patches leveraging struct size to improve access bounds checking ---------------------------------------------------------------- Thorsten Blum (3): ksmbd: Use struct_size() to improve get_file_alternate_info() ksmbd: Annotate struct copychunk_ioctl_req with __counted_by_le() ksmbd: Use struct_size() to improve smb_direct_rdma_xmit() fs/smb/server/smb2pdu.c | 7 +++---- fs/smb/server/smb2pdu.h | 14 +++++++------- fs/smb/server/transport_rdma.c | 4 ++-- 3 files changed, 12 insertions(+), 13 deletions(-) -- Thanks, Steve . Date: Thu, 3 Oct 2024 20:36:17 -0500 From: Steve French To: Linus Torvalds Cc: LKML , CIFS Subject: [GIT PULL] smb3 client fixes Please pull the following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/v6.12-rc1-smb3-client-fixes for you to fetch changes up to d3a49f60917323228f8fdeee313260ef14f94df7: cifs: Do not convert delimiter when parsing NFS-style symlinks (2024-10-03 12:06:36 -0500) ---------------------------------------------------------------- Ten smb3 client fixes - statfs fix (e.g. when limited access to root directory of share) - Six special file handling fixes: two to fix packet validation to avoid buffer overflow for reparse points, two fixes for symlink path parsing (one for reparse points, and one for SFU use case), and fix for cleanup after failed SET_REPARSE operation. - Fix for SMB2.1 signing bug introduced by recent patch NFS symlink path, 2 NFS reparse point validation - Two comment cleanup patches ---------------------------------------------------------------- Pali Roh=C3=A1r (6): cifs: Check for UTF-16 null codepoint in SFU symlink target location smb: Update comments about some reparse point tags cifs: Remove intermediate object of failed create reparse call cifs: Fix buffer overflow when parsing NFS reparse points cifs: Validate content of NFS reparse point buffer cifs: Do not convert delimiter when parsing NFS-style symlinks Shen Lichuan (1): smb: client: Correct typos in multiple comments across various files Steve French (1): Revert "smb: client: make SHA-512 TFM ephemeral" wangrong (1): smb: client: use actual path when queryfs fs/smb/client/cifsacl.h | 2 +- fs/smb/client/cifsencrypt.c | 3 ++- fs/smb/client/cifsfs.c | 17 ++++++++++++++--- fs/smb/client/cifsglob.h | 5 +++-- fs/smb/client/cifspdu.h | 4 ++-- fs/smb/client/cifssmb.c | 6 +++--- fs/smb/client/file.c | 2 +- fs/smb/client/fs_context.h | 2 +- fs/smb/client/inode.c | 8 +++++++- fs/smb/client/misc.c | 2 +- fs/smb/client/netmisc.c | 2 +- fs/smb/client/readdir.c | 4 ++-- fs/smb/client/reparse.c | 39 +++++++++++++++++++++++++++++++++++++-- fs/smb/client/sess.c | 2 +- fs/smb/client/smb1ops.c | 2 +- fs/smb/client/smb2inode.c | 24 ++++++++++++++++++++++-- fs/smb/client/smb2misc.c | 28 ++++++++++++++-------------- fs/smb/client/smb2ops.c | 23 ++++++++++++++--------- fs/smb/client/smb2pdu.c | 4 ++-- fs/smb/client/smb2proto.h | 2 +- fs/smb/client/smb2transport.c | 32 ++++++++++++++++++++++++++++++-- fs/smb/client/smbdirect.c | 4 ++-- fs/smb/client/smbdirect.h | 2 +- fs/smb/common/smbfsctl.h | 7 ++++--- 24 files changed, 167 insertions(+), 59 deletions(-) --=20 Thanks, Steve . Date: Fri, 4 Oct 2024 02:03:49 +0200 From: Miguel Ojeda To: Linus Torvalds Cc: Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Rust fixes for 6.12 Hi Linus, Please pull these fixes for Rust. They have all been in linux-next for at least a couple rounds, and most for a week. You will probably notice a non-tag base -- I used the Rust merge because there was a trivial issue in the merge resolution so I added the fix on top of that one without waiting for v6.12-rc1. Please let me know if you prefer something else (e.g. I considered sending you that patch directly to you). No conflicts expected. You also already merged a fix for a Rust driver (qt2025) via netdev. Thanks! Cheers, Miguel The following changes since commit 570172569238c66a482ec3eb5d766cc9cf255f69: Merge tag 'rust-6.12' of https://github.com/Rust-for-Linux/linux (2024-09-25 10:25:40 -0700) are available in the Git repository at: https://github.com/Rust-for-Linux/linux.git tags/rust-fixes-6.12 for you to fetch changes up to 05cef2c4a421ca09ab9761a95e61423e59e5bfb1: rust: kunit: use C-string literals to clean warning (2024-10-01 23:46:42 +0200) ---------------------------------------------------------------- Rust fixes for v6.12 Toolchain and infrastructure: - Fix/improve a couple 'depends on' on the newly added CFI/KASAN suppport to avoid build errors/warnings. - Fix ARCH_SLAB_MINALIGN multiple definition error for RISC-V under !CONFIG_MMU. - Clean upcoming (Rust 1.83.0) Clippy warnings. 'kernel' crate: - 'sync' module: fix soundness issue by requiring 'T: Sync' for 'LockedBy::access'; and fix helpers build error under PREEMPT_RT. - Fix trivial sorting issue ('rustfmtcheck') on the v6.12 Rust merge. ---------------------------------------------------------------- Alice Ryhl (3): rust: sync: require `T: Sync` for `LockedBy::access` rust: KASAN+RETHUNK requires rustc 1.83.0 cfi: encode cfi normalized integers + kasan/gcov bug in Kconfig Dirk Behme (1): rust: mutex: fix __mutex_init() usage in case of PREEMPT_RT Gary Guo (1): rust: fix `ARCH_SLAB_MINALIGN` multiple definition error Miguel Ojeda (3): rust: kernel: sort Rust modules rust: cfi: fix `patchable-function-entry` starting version rust: kunit: use C-string literals to clean warning arch/Kconfig | 18 +++++++++++++++++- init/Kconfig | 5 +++-- rust/bindgen_parameters | 5 +++++ rust/helpers/mutex.c | 6 ++++++ rust/kernel/kunit.rs | 4 ++-- rust/kernel/lib.rs | 2 +- rust/kernel/sync/locked_by.rs | 18 ++++++++++++++---- 7 files changed, 48 insertions(+), 10 deletions(-) . Date: Fri, 4 Oct 2024 14:06:23 +1000 From: Dave Airlie To: Linus Torvalds , Sima Vetter Cc: dri-devel , LKML Subject: [git pull] drm fixes for 6.12-rc2 Hi Linus, Weekly fixes, xe and amdgpu lead the way, with panthor, and few core components getting various fixes. Nothing seems too out of the ordinary. Regards, Dave. drm-fixes-2024-10-04: drm fixes for 6.12-rc2 atomic: - Use correct type when reading damage rectangles display: - Fix kernel docs dp-mst: - Fix DSC decompression detection hdmi: - Fix infoframe size sched: - Update maintainers - Fix race condition whne queueing up jobs - Fix locking in drm_sched_entity_modify_sched() - Fix pointer deref if entity queue changes sysfb: - Disable sysfb if framebuffer parent device is unknown amdgpu: - DML2 fix - DSC fix - Dispclk fix - eDP HDR fix - IPS fix - TBT fix i915: - One fix for bitwise and logical "and" mixup in PM code xe: - Restore pci state on resume - Fix locking on submission, queue and vm - Fix UAF on queue destruction - Fix resource release on freq init error path - Use rw_semaphore to reduce contention on ASID->VM lookup - Fix steering for media on Xe2_HPM - Tuning updates to Xe2 - Resume TDR after GT reset to prevent jobs running forever - Move id allocation to avoid userspace using a guessed number to trigger UAF - Fix OA stream close preventing pbatch buffers to complete - Fix NPD when migrating memory on LNL - Fix memory leak when aborting binds panthor: - Fix locking - Set FOP_UNSIGNED_OFFSET in fops instance - Acquire lock in panthor_vm_prepare_map_op_ctx() - Avoid uninitialized variable in tick_ctx_cleanup() - Do not block scheduler queue if work is pending - Do not add write fences to the shared BOs vbox: - Fix VLA handling The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc= : Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-10-04 for you to fetch changes up to 5b272bf7dcf969eb4f19ef994b6e60458ee6300f: Merge tag 'drm-xe-fixes-2024-10-03' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes (2024-10-04 11:00:39 +1000) ---------------------------------------------------------------- drm fixes for 6.12-rc2 atomic: - Use correct type when reading damage rectangles display: - Fix kernel docs dp-mst: - Fix DSC decompression detection hdmi: - Fix infoframe size sched: - Update maintainers - Fix race condition whne queueing up jobs - Fix locking in drm_sched_entity_modify_sched() - Fix pointer deref if entity queue changes sysfb: - Disable sysfb if framebuffer parent device is unknown amdgpu: - DML2 fix - DSC fix - Dispclk fix - eDP HDR fix - IPS fix - TBT fix i915: - One fix for bitwise and logical "and" mixup in PM code xe: - Restore pci state on resume - Fix locking on submission, queue and vm - Fix UAF on queue destruction - Fix resource release on freq init error path - Use rw_semaphore to reduce contention on ASID->VM lookup - Fix steering for media on Xe2_HPM - Tuning updates to Xe2 - Resume TDR after GT reset to prevent jobs running forever - Move id allocation to avoid userspace using a guessed number to trigger UAF - Fix OA stream close preventing pbatch buffers to complete - Fix NPD when migrating memory on LNL - Fix memory leak when aborting binds panthor: - Fix locking - Set FOP_UNSIGNED_OFFSET in fops instance - Acquire lock in panthor_vm_prepare_map_op_ctx() - Avoid uninitialized variable in tick_ctx_cleanup() - Do not block scheduler queue if work is pending - Do not add write fences to the shared BOs vbox: - Fix VLA handling ---------------------------------------------------------------- Alex Hung (1): drm/amd/display: Add HDR workaround for specific eDP Boris Brezillon (4): drm/panthor: Lock the VM resv before calling drm_gpuvm_bo_obtain_prealloc() drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup= () drm/panthor: Don't declare a queue blocked if deferred operations are pending drm/panthor: Don't add write fences to the shared BOs Charlene Liu (1): drm/amd/display: avoid set dispclk to 0 Christian K=C3=B6nig (1): drm/sched: revert "Always increment correct scheduler score" Dave Airlie (5): Merge tag 'drm-misc-fixes-2024-09-26' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes Merge tag 'amd-drm-fixes-6.12-2024-10-02' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-misc-fixes-2024-10-02' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes Merge tag 'drm-intel-fixes-2024-10-02' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes Merge tag 'drm-xe-fixes-2024-10-03' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes Derek Foreman (1): drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes Dmitry Baryshkov (1): drm/display: fix kerneldocs references Fangzhi Zuo (1): drm/amd/display: Restore Optimized pbn Value if Failed to Disable DSC Gustavo Sousa (3): drm/xe/mcr: Use Xe2_LPM steering tables for Xe2_HPM drm/xe/xe2: Extend performance tuning to media GT drm/xe/xe2: Add performance tuning for L3 cache flushing Hans de Goede (1): drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA He Lugang (1): drm/xe: use devm_add_action_or_reset() helper Imre Deak (1): drm/dp_mst: Fix DSC decompression detection in Synaptics branch devic= es Jani Nikula (1): drm/i915/gem: fix bitwise and logical AND mixup Jos=C3=A9 Roberto de Souza (1): drm/xe/oa: Don't reset OAC_CONTEXT_ENABLE on OA stream close Leo Li (1): drm/amd/display: Enable idle workqueue for more IPS modes Liviu Dudau (1): drm/panthor: Add FOP_UNSIGNED_OFFSET to fop_flags Maarten Lankhorst (1): Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes Matthew Auld (4): drm/xe/guc_submit: add missing locking in wedged_fini drm/xe: fix UAF around queue destruction drm/xe/vm: move xa_alloc to prevent UAF drm/xe/queue: move xa_alloc to prevent UAF Matthew Brost (5): drm/xe: Convert to USM lock to rwsem drm/xe: Use helper for ASID -> VM in GPU faults and access counters drm/xe: Resume TDR after GT reset drm/xe: Clean up VM / exec queue file lock usage. drm/xe: Fix memory leak when aborting binds Philipp Stanner (1): MAINTAINERS: drm/sched: Add new maintainers Rob Clark (1): drm/sched: Fix dynamic job-flow control race Rodrigo Vivi (1): drm/xe: Restore pci state upon resume Steven Price (1): drm/panthor: Fix race when converting group handle to group object Thomas Zimmermann (2): drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS firmware/sysfb: Disable sysfb for firmware buffers with unknown paren= t Tom Chung (1): drm/amd/display: Fix system hang while resume with TBT monitor Tvrtko Ursulin (3): drm/sched: Add locking to drm_sched_entity_modify_sched drm/sched: Always wake up correct scheduler in drm_sched_entity_push_= job drm/sched: Always increment correct scheduler score Yihan Zhu (1): drm/amd/display: update DML2 policy EnhancedPrefetchScheduleAccelerationFinal DCN35 Zhanjun Dong (1): drm/xe: Prevent null pointer access in xe_migrate_copy Documentation/gpu/drm-kms-helpers.rst | 4 +-- MAINTAINERS | 2 ++ drivers/firmware/sysfb.c | 4 ++- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 20 +++++++++-- .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 4 +++ .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 17 +++++++--- drivers/gpu/drm/amd/display/dc/dc_types.h | 1 + drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c | 1 - .../display/dc/resource/dcn351/dcn351_resource.c | 1 + drivers/gpu/drm/display/drm_dp_mst_topology.c | 10 ++++-- drivers/gpu/drm/display/drm_hdmi_state_helper.c | 4 +-- drivers/gpu/drm/drm_atomic_uapi.c | 2 +- drivers/gpu/drm/drm_debugfs.c | 4 +-- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 2 +- drivers/gpu/drm/panthor/panthor_drv.c | 1 + drivers/gpu/drm/panthor/panthor_mmu.c | 8 +++++ drivers/gpu/drm/panthor/panthor_sched.c | 36 ++++++++++++++----= -- drivers/gpu/drm/scheduler/sched_entity.c | 14 ++++++-- drivers/gpu/drm/scheduler/sched_main.c | 7 ++-- drivers/gpu/drm/vboxvideo/hgsmi_base.c | 10 +++++- drivers/gpu/drm/vboxvideo/vboxvideo.h | 4 +-- drivers/gpu/drm/xe/regs/xe_gt_regs.h | 11 ++++++ drivers/gpu/drm/xe/xe_bo.c | 4 +-- drivers/gpu/drm/xe/xe_device.c | 12 +++---- drivers/gpu/drm/xe/xe_device_types.h | 19 ++++++++--- drivers/gpu/drm/xe/xe_drm_client.c | 9 ++++- drivers/gpu/drm/xe/xe_exec_queue.c | 6 ++-- drivers/gpu/drm/xe/xe_gpu_scheduler.c | 5 +++ drivers/gpu/drm/xe/xe_gpu_scheduler.h | 2 ++ drivers/gpu/drm/xe/xe_gt_freq.c | 4 +-- drivers/gpu/drm/xe/xe_gt_mcr.c | 2 +- drivers/gpu/drm/xe/xe_gt_pagefault.c | 39 ++++++++++++------= ---- drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +- drivers/gpu/drm/xe/xe_guc_submit.c | 37 ++++++++++++++++++= -- drivers/gpu/drm/xe/xe_guc_types.h | 2 ++ drivers/gpu/drm/xe/xe_oa.c | 9 ++--- drivers/gpu/drm/xe/xe_pci.c | 2 ++ drivers/gpu/drm/xe/xe_pt.c | 2 +- drivers/gpu/drm/xe/xe_tuning.c | 28 ++++++++++++++++ drivers/gpu/drm/xe/xe_vm.c | 28 +++++++--------- include/drm/gpu_scheduler.h | 2 +- include/linux/hdmi.h | 9 +++++ 42 files changed, 282 insertions(+), 108 deletions(-) . Date: Fri, 4 Oct 2024 11:08:51 +0300 From: Tudor Ambarus To: Mark Brown , "linux-spi@vger.kernel.org" Cc: AlvinZhou , Pratyush Yadav , mwalle@kernel.org, Miquel Raynal , richard@nod.at, "open list:SPI NOR SUBSYSTEM" , open list , chengminglin@mxic.com.tw, leoyu@mxic.com.tw Subject: [GIT PULL] spi-mem/swap16 changes for v6.13 Hi, Mark, I've made an immutable tag for the spi-mem swap16 changes. I let the 0day bot run on them, I got no complains. Pull if you need them. Thanks, ta The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/spi-mem-swap16-for-6.13 for you to fetch changes up to 50cb86f21ec2ede08d0ec0479fbd8697a8a25616: spi: mxic: Add support for swapping byte (2024-10-02 09:44:57 +0300) ---------------------------------------------------------------- This allows specifying the byte order in Octal DTR mode. There are NOR flashes (Macronix) that swap the bytes on a 16-bit boundary when configured in Octal DTR mode. The byte order of 16-bit words is swapped when read or written in Octal Double Transfer Rate (DTR) mode compared to Single Transfer Rate (STR) modes. If one writes D0 D1 D2 D3 bytes using 1-1-1 mode, and uses 8D-8D-8D SPI mode for reading, it will read back D1 D0 D3 D2. Swapping the bytes may introduce some endianness problems. It can affect the boot sequence if the entire boot sequence is not handled in either 8D-8D-8D mode or 1-1-1 mode. Therefore, it is necessary to swap the bytes back to ensure the same byte order as in STR modes. Fortunately there are controllers that could swap the bytes back at runtime, addressing the flash's endianness requirements. Provide a way for the upper layers to specify the byte order in Octal DTR mode. ---------------------------------------------------------------- AlvinZhou (1): spi: mxic: Add support for swapping byte Tudor Ambarus (1): spi: spi-mem: Allow specifying the byte order in Octal DTR mode drivers/spi/spi-mem.c | 3 +++ drivers/spi/spi-mxic.c | 17 +++++++++++++---- include/linux/spi/spi-mem.h | 8 +++++++- 3 files changed, 23 insertions(+), 5 deletions(-) . Date: Fri, 04 Oct 2024 11:22:27 +0200 From: Takashi Iwai To: Linus Torvalds Cc: Mark Brown , Liam Girdwood , Linux Sound Mailing List , Linux Kernel Mailing List Subject: [GIT PULL] sound fixes for 6.12-rc2 Linus, please pull sound fixes for v6.12-rc2 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-6.12-rc2 The topmost commit is b3ebb007060f89d5a45c9b99f06a55e36a1945b5 ---------------------------------------------------------------- sound fixes for 6.12-rc2 Slightly high amount of changes in this round, partly because of my vacation in the last weeks. But all changes are small and nothing looks worrisome. The biggest LOCs is MAINTAINERS updates, and there is a core change for card-ID string creation for non-ASCII inputs. Others are rather device-specific, such as new quirks and device IDs for ASoC, usual HD-audio and USB-audio quirks and fixes, as well as regression fixes in HD-audio HDMI audio and Conexant codec. ---------------------------------------------------------------- Abdul Rahim (1): selftest: alsa: check if user has alsa installed Abhishek Tamboli (1): ALSA: hda/realtek: Add a quirk for HP Pavilion 15z-ec200 Ai Chao (1): ALSA: hda/realtek: Add quirk for Huawei MateBook 13 KLV-WX9 Alexey Klimov (3): ASoC: codecs: lpass-rx-macro: add missing CDC_RX_BCL_VBAT_RF_PROC2 to default regs values ASoC: dt-bindings: qcom,sm8250: add qrb4210-rb2-sndcard ASoC: qcom: sm8250: add qrb4210-rb2-sndcard compatible string Andrei Simion (1): ASoC: atmel: mchp-pdmc: Skip ALSA restoration if substream runtime is uninitialized Baojun Xu (1): ALSA: hda/tas2781: Add new quirk for Lenovo Y990 Laptop Bard Liao (1): ASoC: Intel: soc-acpi-intel-rpl-match: add missing empty item Charles Han (1): ASoC: intel: sof_sdw: Add check devm_kasprintf() returned value Charles Keepax (1): ASoC: Intel: soc-acpi: arl: Fix some missing empty terminators Christophe JAILLET (2): ALSA: mixer_oss: Remove some incorrect kfree_const() usages ALSA: gus: Fix some error handling paths related to get_bpos() usage Dan Carpenter (1): ALSA: silence integer wrapping warning David Lawrence Glanzman (1): ASoC: amd: yc: Add quirk for HP Dragonfly pro one Hans P. Moller (1): ALSA: line6: add hw monitor volume control to POD HD500X Hui Wang (1): ASoC: imx-card: Set card.owner to avoid a warning calltrace if SND=m Jan Lalinsky (1): ALSA: usb-audio: Add native DSD support for Luxman D-08u Jaroslav Kysela (3): ALSA: hda: fix trigger_tstamp_latched MAINTAINERS: ALSA: use linux-sound@vger.kernel.org list ALSA: core: add isascii() check to card ID generator Julia Lawall (1): ALSA: Reorganize kerneldoc parameter names Lianqin Hu (1): ALSA: usb-audio: Add delay quirk for VIVO USB-C HEADSET Miquel Raynal (1): ASoC: dt-bindings: davinci-mcasp: Fix interrupts property Nikolai Afanasenkov (1): ALSA: hda/realtek: fix mute/micmute LED for HP mt645 G8 Oder Chiou (1): ALSA: hda/realtek: Fix the push button function for the ALC257 Oldherl Oh (1): ALSA: hda/conexant: fix some typos Ricardo Rivera-Matos (1): ASoC: cs35l45: Corrects cs35l45_get_clk_freq_id function data type Shengjiu Wang (1): ASoC: fsl_sai: Enable 'FIFO continue on error' FCONT bit Takashi Iwai (5): ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs ALSA: hda/generic: Drop obsoleted obey_preferred_dacs flag Revert "ALSA: hda: Conditionally use snooping for AMD HDMI" ALSA: hda: Add missing parameter description for snd_hdac_stream_timecounter_init() ALSA: hda/conexant: Fix conflicting quirk for System76 Pangolin Tang Bin (1): ASoC: topology: Fix incorrect addressing assignments Uwe Kleine-König (1): ALSA: Drop explicit initialization of struct i2c_device_id::driver_data to 0 Vijendar Mukunda (1): ASoC: amd: acp: don't set card long_name Wolfram Sang (1): ASoC: dt-bindings: renesas,rsnd: correct reg-names for R-Car Gen1 Yu Jiaoliang (1): ALSA: Fix typos in comments across various files --- .../bindings/sound/davinci-mcasp-audio.yaml | 2 +- .../devicetree/bindings/sound/qcom,sm8250.yaml | 1 + .../devicetree/bindings/sound/renesas,rsnd.yaml | 2 +- MAINTAINERS | 86 +++++++++++----------- include/sound/hdaudio.h | 2 +- sound/aoa/codecs/onyx.c | 2 +- sound/aoa/codecs/tas.c | 2 +- sound/core/compress_offload.c | 2 +- sound/core/control.c | 2 + sound/core/init.c | 14 +++- sound/core/oss/mixer_oss.c | 4 +- sound/core/oss/rate.c | 2 +- sound/core/pcm_native.c | 2 +- sound/core/sound.c | 2 +- sound/hda/hdac_stream.c | 7 +- sound/isa/gus/gus_pcm.c | 4 +- sound/pci/hda/cs35l41_hda_i2c.c | 2 +- sound/pci/hda/hda_codec.c | 2 +- sound/pci/hda/hda_controller.c | 3 +- sound/pci/hda/hda_controller.h | 2 +- sound/pci/hda/hda_generic.c | 4 +- sound/pci/hda/hda_generic.h | 1 - sound/pci/hda/hda_intel.c | 10 +-- sound/pci/hda/patch_conexant.c | 40 ++++++---- sound/pci/hda/patch_realtek.c | 9 ++- sound/pci/hda/tas2781_hda_i2c.c | 2 +- sound/soc/amd/acp/acp-sdw-sof-mach.c | 5 -- sound/soc/amd/yc/acp6x-mach.c | 7 ++ sound/soc/atmel/mchp-pdmc.c | 3 + sound/soc/codecs/cs35l45-tables.c | 2 +- sound/soc/codecs/cs35l45.h | 2 +- sound/soc/codecs/lpass-rx-macro.c | 2 +- sound/soc/fsl/fsl_sai.c | 5 +- sound/soc/fsl/fsl_sai.h | 1 + sound/soc/fsl/imx-card.c | 1 + sound/soc/intel/boards/sof_sdw.c | 12 +++ sound/soc/intel/common/soc-acpi-intel-arl-match.c | 2 + sound/soc/intel/common/soc-acpi-intel-rpl-match.c | 1 + sound/soc/qcom/sm8250.c | 1 + sound/soc/soc-topology.c | 4 +- sound/usb/line6/podhd.c | 2 +- sound/usb/quirks.c | 4 + tools/testing/selftests/alsa/Makefile | 4 + 43 files changed, 162 insertions(+), 107 deletions(-) . Date: Fri, 4 Oct 2024 13:03:06 +0200 From: Andi Shyti To: Wolfram Sang Cc: linux-i2c , lkml , Andi Shyti , Marek Vasut Subject: [GIT PULL] i2c-host-fixes for v6.12-rc2 Hi Wolfram, only one fix for this week from Marek. I wish you a great weekend, Andi The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git tags/i2c-host-fixes-6.12-rc2 for you to fetch changes up to 048bbbdbf85e5e00258dfb12f5e368f908801d7b: i2c: stm32f7: Do not prepare/unprepare clock during runtime suspend/resume (2024-10-01 16:39:00 +0200) ---------------------------------------------------------------- i2c-host fixes for v6.12-rc2 In the stm32f7 a potential deadlock is fixed during runtime suspend and resume. ---------------------------------------------------------------- Marek Vasut (1): i2c: stm32f7: Do not prepare/unprepare clock during runtime suspend/resume drivers/i2c/busses/i2c-stm32f7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) . Date: Fri, 4 Oct 2024 15:55:07 +0200 From: Vlastimil Babka To: Linus Torvalds Cc: David Rientjes , Christoph Lameter , Andrew Morton , "linux-mm@kvack.org" , LKML , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, "Uladzislau Rezki (Sony)" , Guenter Roeck Subject: [GIT PULL] slab fixes for 6.12-rc1 Hi Linus, please pull the latest slab fixes from: git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.12-rc1 Thanks, Vlastimil ====================================== Fixes for issues introduced in 6.12-rc1: kobject memory leak, unsupressed warning and possible lockup in new slub_kunit tests, misleading code in kvfree_rcu_queue_batch(). ---------------------------------------------------------------- Nilay Shroff (1): mm, slab: fix use of SLAB_SUPPORTS_SYSFS in kmem_cache_release() Uladzislau Rezki (Sony) (1): rcu/kvfree: Refactor kvfree_rcu_queue_batch() Vlastimil Babka (2): mm, slab: suppress warnings in test_leak_destroy kunit test slub/kunit: skip test_kfree_rcu when the slub kunit test is built-in kernel/rcu/tree.c | 9 +++++---- lib/slub_kunit.c | 18 ++++++++++++------ mm/slab.h | 8 +++++++- mm/slab_common.c | 5 +++-- mm/slub.c | 5 +++-- 5 files changed, 30 insertions(+), 15 deletions(-) . Date: Fri, 04 Oct 2024 07:15:11 -0700 (PDT) From: Palmer Dabbelt To: Linus Torvalds Subject: [GIT PULL] RISC-V Fixes for 6.12-rc2 The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.12-rc2 for you to fetch changes up to cfb10de18538e383dbc4f3ce7f477ce49287ff3d: riscv: Fix kernel stack size when KASAN is enabled (2024-10-01 13:08:11 -0700) ---------------------------------------------------------------- RISC-V Fixes for 6.12-rc2 * PERF_TYPE_BREAKPOINT now returns -EOPNOTSUPP instead of -ENOENT, which aligns to other ports and is a saner value. * The KASAN-related stack size increasing logic has been moved to a C header, to avoid dependency issues. ---------------------------------------------------------------- Alexandre Ghiti (1): riscv: Fix kernel stack size when KASAN is enabled Pu Lehui (1): drivers/perf: riscv: Align errno for unsupported perf event arch/riscv/Kconfig | 3 +-- arch/riscv/include/asm/thread_info.h | 7 ++++++- drivers/perf/riscv_pmu_legacy.c | 4 ++-- drivers/perf/riscv_pmu_sbi.c | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv . Date: Fri, 4 Oct 2024 16:37:13 +0200 From: David Sterba To: torvalds@linux-foundation.org Cc: David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 6.12-rc2 Hi, please pull the following fixes, thanks. - in incremental send, fix invalid clone operation for file that got its size decreased - fix __counted_by() annotation of send path cache entries, we don not store the terminating NUL - fix a longstanding bug in relocation (and quite hard to hit by chance), drop back reference cache that can get out of sync after transaction commit - wait for fixup worker kthread before finishing umount - add missing raid-stripe-tree extent for NOCOW files, zoned mode cannot have NOCOW files but RST is meant to be a standalone feature - handle transaction start error during relocation, avoid potential NULL pointer dereference of relocation control structure (reported by syzbot) - disable module-wide rate limiting of debug level messages - minor fix to tracepoint definition (reported by checkpatch.pl) ---------------------------------------------------------------- The following changes since commit 7f1b63f981b8284c6d8238cb49b5cb156d9a833e: btrfs: fix use-after-free on rbtree that tracks inodes for auto defrag (2024-09-17 17:35:53 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.12-rc1-tag for you to fetch changes up to d6e7ac65d4c106149d08a0ffba39fc516ae3d21b: btrfs: disable rate limiting when debug enabled (2024-10-01 19:29:41 +0200) ---------------------------------------------------------------- Filipe Manana (4): btrfs: send: fix buffer overflow detection when copying path to cache entry btrfs: tracepoints: end assignment with semicolon at btrfs_qgroup_extent event class btrfs: send: fix invalid clone operation for file that got its size decreased btrfs: wait for fixup workers before stopping cleaner kthread during umount Johannes Thumshirn (1): btrfs: also add stripe entries for NOCOW writes Josef Bacik (1): btrfs: drop the backref cache during relocation if we commit Leo Martins (1): btrfs: disable rate limiting when debug enabled Qu Wenruo (1): btrfs: fix a NULL pointer dereference when failed to start a new trasacntion fs/btrfs/backref.c | 12 ++++--- fs/btrfs/disk-io.c | 11 +++++++ fs/btrfs/inode.c | 5 +++ fs/btrfs/messages.c | 3 +- fs/btrfs/relocation.c | 77 +++----------------------------------------- fs/btrfs/send.c | 31 +++++++++++++++--- include/trace/events/btrfs.h | 2 +- 7 files changed, 58 insertions(+), 83 deletions(-) . Date: Fri, 4 Oct 2024 16:21:00 +0200 From: Bartosz Golaszewski To: Linus Torvalds Cc: Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [GIT PULL] gpio fixes for v6.12-rc2 From: Bartosz Golaszewski Linus, Please pull the following set of fixes for the next RC. Details are in the signed tag. Bartosz The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.12-rc2 for you to fetch changes up to 7b99b5ab885993bff010ebcd93be5e511c56e28a: gpiolib: Fix potential NULL pointer dereference in gpiod_get_label() (2024-10-03 20:51:47 +0200) ---------------------------------------------------------------- gpio fixes for v6.12-rc2 - fix a potential NULL-pointer dereference in gpiolib core - fix a probe() regression from the v6.12 merge window and an older bug leading to missed interrupts in gpio-davinci ---------------------------------------------------------------- Emanuele Ghidoli (1): gpio: davinci: fix lazy disable Lad Prabhakar (1): gpiolib: Fix potential NULL pointer dereference in gpiod_get_label() Vignesh Raghavendra (1): gpio: davinci: Fix condition for irqchip registration drivers/gpio/gpio-davinci.c | 10 +++++----- drivers/gpio/gpiolib.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) . Date: Fri, 4 Oct 2024 12:18:15 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Masami Hiramatsu , Mathieu Desnoyers , Ben Hutchings , Eder Zulian , Sami Tolvanen , Wei Li Subject: [GIT PULL] tracing: Various fixes for 6.12 Linus, Various fixes for tracing: - Fix tp_printk command line option crashing the kernel With the code that can handle a buffer from a previous boot, the trace_check_vprintf() needed access to the delta of the address space used by the old buffer and the current buffer. To do so, the trace_array (tr) parameter was used. But when tp_printk is enabled on the kernel command line, no trace buffer is used and the trace event is sent directly to printk(). That meant the tr field of the iterator descriptor was NULL, and since tp_printk still uses trace_check_vprintf() it caused a NULL dereference. - Add ptrace.h include to x86 ftrace file for completeness - Fix rtla installation when done with out-of-tree build - Fix the help messages in rtla that were incorrect - Several fixes to fix races with the timerlat and hwlat code Several locking issues were discovered with the coordination between timerlat kthread creation and hotplug. As timerlat has callbacks from hotplug code to start kthreads when CPUs come online. There are also locking issues with grabbing the cpu_read_lock() and the locks within timerlat. Please pull the latest trace-v6.12-rc1 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-v6.12-rc1 Tag SHA1: 43a1f62bee4cb8e76308992c160c44cea0e2d9d7 Head SHA1: 2a13ca2e8abb12ee43ada8a107dadca83f140937 Ben Hutchings (1): tools/rtla: Fix installation from out-of-tree build Eder Zulian (1): rtla: Fix the help text in osnoise and timerlat top tools Sami Tolvanen (1): x86/ftrace: Include Steven Rostedt (1): tracing: Fix trace_check_vprintf() when tp_printk is used Wei Li (4): tracing/timerlat: Fix duplicated kthread creation due to CPU online/offline tracing/timerlat: Drop interface_lock in stop_kthread() tracing/timerlat: Fix a race during cpuhp processing tracing/hwlat: Fix a race during cpuhp processing ---- arch/x86/include/asm/ftrace.h | 2 ++ kernel/trace/trace.c | 15 +++++++++++++-- kernel/trace/trace_hwlat.c | 2 ++ kernel/trace/trace_osnoise.c | 22 +++++++++++++--------- tools/tracing/rtla/Makefile.rtla | 2 +- tools/tracing/rtla/src/osnoise_top.c | 2 +- tools/tracing/rtla/src/timerlat_top.c | 4 ++-- 7 files changed, 34 insertions(+), 15 deletions(-) --------------------------- diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h index 0152a81d9b4a..b4d719de2c84 100644 --- a/arch/x86/include/asm/ftrace.h +++ b/arch/x86/include/asm/ftrace.h @@ -2,6 +2,8 @@ #ifndef _ASM_X86_FTRACE_H #define _ASM_X86_FTRACE_H +#include + #ifdef CONFIG_FUNCTION_TRACER #ifndef CC_USING_FENTRY # error Compiler does not support fentry? diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index c01375adc471..1c69ca1f1088 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -3697,8 +3697,8 @@ static void test_can_verify(void) void trace_check_vprintf(struct trace_iterator *iter, const char *fmt, va_list ap) { - long text_delta = iter->tr->text_delta; - long data_delta = iter->tr->data_delta; + long text_delta = 0; + long data_delta = 0; const char *p = fmt; const char *str; bool good; @@ -3710,6 +3710,17 @@ void trace_check_vprintf(struct trace_iterator *iter, const char *fmt, if (static_branch_unlikely(&trace_no_verify)) goto print; + /* + * When the kernel is booted with the tp_printk command line + * parameter, trace events go directly through to printk(). + * It also is checked by this function, but it does not + * have an associated trace_array (tr) for it. + */ + if (iter->tr) { + text_delta = iter->tr->text_delta; + data_delta = iter->tr->data_delta; + } + /* Don't bother checking when doing a ftrace_dump() */ if (iter->fmt == static_fmt_buf) goto print; diff --git a/kernel/trace/trace_hwlat.c b/kernel/trace/trace_hwlat.c index b791524a6536..3bd6071441ad 100644 --- a/kernel/trace/trace_hwlat.c +++ b/kernel/trace/trace_hwlat.c @@ -520,6 +520,8 @@ static void hwlat_hotplug_workfn(struct work_struct *dummy) if (!hwlat_busy || hwlat_data.thread_mode != MODE_PER_CPU) goto out_unlock; + if (!cpu_online(cpu)) + goto out_unlock; if (!cpumask_test_cpu(cpu, tr->tracing_cpumask)) goto out_unlock; diff --git a/kernel/trace/trace_osnoise.c b/kernel/trace/trace_osnoise.c index 1439064f65d6..a50ed23bee77 100644 --- a/kernel/trace/trace_osnoise.c +++ b/kernel/trace/trace_osnoise.c @@ -1953,12 +1953,8 @@ static void stop_kthread(unsigned int cpu) { struct task_struct *kthread; - mutex_lock(&interface_lock); - kthread = per_cpu(per_cpu_osnoise_var, cpu).kthread; + kthread = xchg_relaxed(&(per_cpu(per_cpu_osnoise_var, cpu).kthread), NULL); if (kthread) { - per_cpu(per_cpu_osnoise_var, cpu).kthread = NULL; - mutex_unlock(&interface_lock); - if (cpumask_test_and_clear_cpu(cpu, &kthread_cpumask) && !WARN_ON(!test_bit(OSN_WORKLOAD, &osnoise_options))) { kthread_stop(kthread); @@ -1972,7 +1968,6 @@ static void stop_kthread(unsigned int cpu) put_task_struct(kthread); } } else { - mutex_unlock(&interface_lock); /* if no workload, just return */ if (!test_bit(OSN_WORKLOAD, &osnoise_options)) { /* @@ -1994,8 +1989,12 @@ static void stop_per_cpu_kthreads(void) { int cpu; - for_each_possible_cpu(cpu) + cpus_read_lock(); + + for_each_online_cpu(cpu) stop_kthread(cpu); + + cpus_read_unlock(); } /* @@ -2007,6 +2006,10 @@ static int start_kthread(unsigned int cpu) void *main = osnoise_main; char comm[24]; + /* Do not start a new thread if it is already running */ + if (per_cpu(per_cpu_osnoise_var, cpu).kthread) + return 0; + if (timerlat_enabled()) { snprintf(comm, 24, "timerlat/%d", cpu); main = timerlat_main; @@ -2061,11 +2064,10 @@ static int start_per_cpu_kthreads(void) if (cpumask_test_and_clear_cpu(cpu, &kthread_cpumask)) { struct task_struct *kthread; - kthread = per_cpu(per_cpu_osnoise_var, cpu).kthread; + kthread = xchg_relaxed(&(per_cpu(per_cpu_osnoise_var, cpu).kthread), NULL); if (!WARN_ON(!kthread)) kthread_stop(kthread); } - per_cpu(per_cpu_osnoise_var, cpu).kthread = NULL; } for_each_cpu(cpu, current_mask) { @@ -2095,6 +2097,8 @@ static void osnoise_hotplug_workfn(struct work_struct *dummy) mutex_lock(&interface_lock); cpus_read_lock(); + if (!cpu_online(cpu)) + goto out_unlock; if (!cpumask_test_cpu(cpu, &osnoise_cpumask)) goto out_unlock; diff --git a/tools/tracing/rtla/Makefile.rtla b/tools/tracing/rtla/Makefile.rtla index 3ff0b8970896..cc1d6b615475 100644 --- a/tools/tracing/rtla/Makefile.rtla +++ b/tools/tracing/rtla/Makefile.rtla @@ -38,7 +38,7 @@ BINDIR := /usr/bin .PHONY: install install: doc_install @$(MKDIR) -p $(DESTDIR)$(BINDIR) - $(call QUIET_INSTALL,rtla)$(INSTALL) rtla -m 755 $(DESTDIR)$(BINDIR) + $(call QUIET_INSTALL,rtla)$(INSTALL) $(RTLA) -m 755 $(DESTDIR)$(BINDIR) @$(STRIP) $(DESTDIR)$(BINDIR)/rtla @test ! -f $(DESTDIR)$(BINDIR)/osnoise || $(RM) $(DESTDIR)$(BINDIR)/osnoise @$(LN) rtla $(DESTDIR)$(BINDIR)/osnoise diff --git a/tools/tracing/rtla/src/osnoise_top.c b/tools/tracing/rtla/src/osnoise_top.c index 2f756628613d..30e3853076a0 100644 --- a/tools/tracing/rtla/src/osnoise_top.c +++ b/tools/tracing/rtla/src/osnoise_top.c @@ -442,7 +442,7 @@ struct osnoise_top_params *osnoise_top_parse_args(int argc, char **argv) case 'd': params->duration = parse_seconds_duration(optarg); if (!params->duration) - osnoise_top_usage(params, "Invalid -D duration\n"); + osnoise_top_usage(params, "Invalid -d duration\n"); break; case 'e': tevent = trace_event_alloc(optarg); diff --git a/tools/tracing/rtla/src/timerlat_top.c b/tools/tracing/rtla/src/timerlat_top.c index 8c16419fe22a..210b0f533534 100644 --- a/tools/tracing/rtla/src/timerlat_top.c +++ b/tools/tracing/rtla/src/timerlat_top.c @@ -459,7 +459,7 @@ static void timerlat_top_usage(char *usage) " -c/--cpus cpus: run the tracer only on the given cpus", " -H/--house-keeping cpus: run rtla control threads only on the given cpus", " -C/--cgroup[=cgroup_name]: set cgroup, if no cgroup_name is passed, the rtla's cgroup will be inherited", - " -d/--duration time[m|h|d]: duration of the session in seconds", + " -d/--duration time[s|m|h|d]: duration of the session", " -D/--debug: print debug info", " --dump-tasks: prints the task running on all CPUs if stop conditions are met (depends on !--no-aa)", " -t/--trace[file]: save the stopped trace to [file|timerlat_trace.txt]", @@ -613,7 +613,7 @@ static struct timerlat_top_params case 'd': params->duration = parse_seconds_duration(optarg); if (!params->duration) - timerlat_top_usage("Invalid -D duration\n"); + timerlat_top_usage("Invalid -d duration\n"); break; case 'e': tevent = trace_event_alloc(optarg); . Date: Fri, 4 Oct 2024 17:22:18 +0100 From: Catalin Marinas To: Linus Torvalds Cc: Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] arm64 fixes for 6.12-rc2 Hi Linus, As Will is gone fishing this week, I'm sending some fixes for the arm64 tree: a couple of build/config issues and expanding the speculative SSBS workaround to more CPUs. Thanks. The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes for you to fetch changes up to 3eddb108abe3de6723cc4b77e8558ce1b3047987: arm64: Subscribe Microsoft Azure Cobalt 100 to erratum 3194386 (2024-10-04 12:38:03 +0100) ---------------------------------------------------------------- arm64 fixes for 6.12-rc2: - Expand the speculative SSBS workaround to cover Cortex-A715, Neoverse-N3 and Microsoft Azure Cobalt 100 - Force position-independent veneers - in some kernel configurations, the LLD linker generates position-dependent veneers for otherwise position-independent code, resulting in early boot-time failures - Fix Kconfig selection of HAVE_DYNAMIC_FTRACE_WITH_ARGS so that it is not enabled when not supported by the combination of clang and GNU ld ---------------------------------------------------------------- Easwar Hariharan (1): arm64: Subscribe Microsoft Azure Cobalt 100 to erratum 3194386 Mark Rutland (4): arm64: Force position-independent veneers arm64: cputype: Add Neoverse-N3 definitions arm64: errata: Expand speculative SSBS workaround once more arm64: fix selection of HAVE_DYNAMIC_FTRACE_WITH_ARGS Documentation/arch/arm64/silicon-errata.rst | 6 ++++++ arch/arm64/Kconfig | 7 ++++--- arch/arm64/Makefile | 2 +- arch/arm64/include/asm/cputype.h | 2 ++ arch/arm64/kernel/cpu_errata.c | 3 +++ 5 files changed, 16 insertions(+), 4 deletions(-) -- Catalin . Date: Fri, 4 Oct 2024 10:44:57 -0600 From: Shuah Khan To: Linus Torvalds Cc: Shuah Khan , shuah , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [GIT PULL] Kselftest fixes update for Linux 6.12-rc2 This is a multi-part message in MIME format. --------------JAiHeT6I3XGhUdM916rbj7VZ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Linus, Please pull this kselftest fixes update for Linux 6.12-rc2. This kselftest fixes update for Linux 6.12-rc2 consists of fixes to build warnings, install scripts, run-time error path, and git status cleanups to tests: -- devices/probe: fix for Python3 regex string syntax warnings -- clone3: removing unused macro from clone3_cap_checkpoint_restore() -- vDSO: fix to align getrandom states to cache line -- core and exec: add missing executables to .gitignore files -- rtc: change to skip test if /dev/rtc0 can't be accessed -- timers/posix: fix warn_unused_result result in __fatal_error() -- breakpoints: fix to detect suspend successful condition correctly -- hid: fix to install required dependencies to run the test diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-fixes-6.12-rc2 for you to fetch changes up to c66be905cda24fb782b91053b196bd2e966f95b7: selftests: breakpoints: use remaining time to check if suspend succeed (2024-10-02 14:37:30 -0600) ---------------------------------------------------------------- linux_kselftest-fixes-6.12-rc2 This kselftest fixes update for Linux 6.12-rc2 consists of fixes to build warnings, install scripts, run-time error path, and git status cleanups to tests: -- devices/probe: fix for Python3 regex string syntax warnings -- clone3: removing unused macro from clone3_cap_checkpoint_restore() -- vDSO: fix to align getrandom states to cache line -- core and exec: add missing executables to .gitignore files -- rtc: change to skip test if /dev/rtc0 can't be accessed -- timers/posix: fix warn_unused_result result in __fatal_error() -- breakpoints: fix to detect suspend successful condition correctly -- hid: fix to install required dependencies to run the test ---------------------------------------------------------------- Alessandro Zanni (1): kselftest/devices/probe: Fix SyntaxWarning in regex strings for Python3 Ba Jing (1): clone3: clone3_cap_checkpoint_restore: remove unused MAX_PID_NS_LEVEL macro Jason A. Donenfeld (1): selftests: vDSO: align getrandom states to cache line Javier Carrasco (2): selftests: core: add unshare_test to gitignore selftests: exec: update gitignore for load_address Joseph Jang (1): selftest: rtc: Check if could access /dev/rtc0 before testing Shuah Khan (1): selftests:timers: posix_timers: Fix warn_unused_result in __fatal_error() Yifei Liu (1): selftests: breakpoints: use remaining time to check if suspend succeed Yun Lu (1): selftest: hid: add missing run-hid-tools-tests.sh .../testing/selftests/breakpoints/step_after_suspend_test.c | 5 ++++- .../testing/selftests/clone3/clone3_cap_checkpoint_restore.c | 2 -- tools/testing/selftests/core/.gitignore | 1 + .../selftests/devices/probe/test_discoverable_devices.py | 4 ++-- tools/testing/selftests/exec/.gitignore | 3 ++- tools/testing/selftests/hid/Makefile | 2 ++ tools/testing/selftests/rtc/rtctest.c | 11 ++++++++++- tools/testing/selftests/timers/posix_timers.c | 12 ++++++++---- tools/testing/selftests/vDSO/vdso_test_getrandom.c | 8 +++++--- 9 files changed, 34 insertions(+), 14 deletions(-) ---------------------------------------------------------------- --------------JAiHeT6I3XGhUdM916rbj7VZ Content-Type: text/x-patch; charset=UTF-8; name="linux_kselftest-fixes-6.12-rc2.diff" Content-Disposition: attachment; filename="linux_kselftest-fixes-6.12-rc2.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3Rvb2xzL3Rlc3Rpbmcvc2VsZnRlc3RzL2JyZWFrcG9pbnRzL3N0ZXBf YWZ0ZXJfc3VzcGVuZF90ZXN0LmMgYi90b29scy90ZXN0aW5nL3NlbGZ0ZXN0cy9icmVha3Bv aW50cy9zdGVwX2FmdGVyX3N1c3BlbmRfdGVzdC5jCmluZGV4IGRmZWMzMWZiOWIzMC4uOGQy NzVmMDNlOTc3IDEwMDY0NAotLS0gYS90b29scy90ZXN0aW5nL3NlbGZ0ZXN0cy9icmVha3Bv aW50cy9zdGVwX2FmdGVyX3N1c3BlbmRfdGVzdC5jCisrKyBiL3Rvb2xzL3Rlc3Rpbmcvc2Vs ZnRlc3RzL2JyZWFrcG9pbnRzL3N0ZXBfYWZ0ZXJfc3VzcGVuZF90ZXN0LmMKQEAgLTE1Miw3 ICsxNTIsMTAgQEAgdm9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lZCArIHBhZ2Vfc2l6ZSAtIDEpICYgKH4ocGFn ZV9zaXplIC0gMSkpOworCQludW0gPSAocGFnZV9zaXplIC8gc3RhdGVfc2l6ZV9hbGlnbmVk KSAqIChhbGxvY19zaXplIC8gcGFnZV9zaXplKTsKIAkJbmV3X2Jsb2NrID0gbW1hcCgwLCBh bGxvY19zaXplLCB2Z3JuZC5wYXJhbXMubW1hcF9wcm90LCB2Z3JuZC5wYXJhbXMubW1hcF9m bGFncywgLTEsIDApOwogCQlpZiAobmV3X2Jsb2NrID09IE1BUF9GQUlMRUQpCiAJCQlnb3Rv IG91dDsKQEAgLTc4LDcgKzgwLDcgQEAgc3RhdGljIHZvaWQgKnZnZXRyYW5kb21fZ2V0X3N0 YXRlKHZvaWQpCiAJCQlpZiAoKCh1aW50cHRyX3QpbmV3X2Jsb2NrICYgKHBhZ2Vfc2l6ZSAt IDEpKSArIHZncm5kLnBhcmFtcy5zaXplX29mX29wYXF1ZV9zdGF0ZSA+IHBhZ2Vfc2l6ZSkK IAkJCQluZXdfYmxvY2sgPSAodm9pZCAqKSgoKHVpbnRwdHJfdCluZXdfYmxvY2sgKyBwYWdl X3NpemUgLSAxKSAmICh+KHBhZ2Vfc2l6ZSAtIDEpKSk7CiAJCQl2Z3JuZC5zdGF0ZXNbaV0g PSBuZXdfYmxvY2s7Ci0JCQluZXdfYmxvY2sgKz0gdmdybmQucGFyYW1zLnNpemVfb2Zfb3Bh cXVlX3N0YXRlOworCQkJbmV3X2Jsb2NrICs9IHN0YXRlX3NpemVfYWxpZ25lZDsKIAkJfQog CQl2Z3JuZC5sZW4gPSBudW07CiAJCWdvdG8gc3VjY2VzczsK --------------JAiHeT6I3XGhUdM916rbj7VZ-- . Date: Fri, 4 Oct 2024 19:40:07 +0200 From: "Rafael J. Wysocki" To: Linus Torvalds Cc: ACPI Devel Maling List , Linux Kernel Mailing List , Linux PM Subject: [GIT PULL] ACPI updates for v6.12-rc2 Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-6.12-rc2 with top-most commit 3be5c171025baece9a0793170eb3b47ad08bf6c9 Merge branches 'acpi-video' and 'acpi-battery' on top of commit 9852d85ec9d492ebef56dc5f229416c925758edc Linux 6.12-rc1 to receive ACPI updates for 6.12-rc2. These fix up the ACPI IRQ override quirk list and add two new entries to it, add a new quirk to the ACPI backlight (video) driver, and fix the ACPI battery driver. Specifics: - Add a quirk for Dell OptiPlex 5480 AIO to the ACPI backlight (video) driver (Hans de Goede). - Prevent the ACPI battery driver from crashing when unregistering a battery hook and simplify battery hook locking in it (Armin Wolf). - Fix up the ACPI IRQ override quirk list and add quirks for Asus Vivobook X1704VAP and Asus ExpertBook B2502CVA to it (Hans de Goede). Thanks! --------------- Armin Wolf (2): ACPI: battery: Simplify battery hook locking ACPI: battery: Fix possible crash when unregistering a battery hook Hans de Goede (5): ACPI: resource: Remove duplicate Asus E1504GAB IRQ override ACPI: resource: Loosen the Asus E1404GAB DMI match to also cover the E1404GA ACPI: resource: Add Asus Vivobook X1704VAP to irq1_level_low_skip_override[] ACPI: resource: Add Asus ExpertBook B2502CVA to irq1_level_low_skip_override[] ACPI: video: Add backlight=native quirk for Dell OptiPlex 5480 AIO --------------- drivers/acpi/battery.c | 28 +++++++++++++++++----------- drivers/acpi/resource.c | 19 +++++++++++++------ drivers/acpi/video_detect.c | 9 +++++++++ 3 files changed, 39 insertions(+), 17 deletions(-) . Date: Fri, 04 Oct 2024 13:04:21 -0400 From: Paul Moore To: Linus Torvalds Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] lsm/lsm-pr-20241004 Linus, Here is the CONFIG_SECURITY_TOMOYO_LKM revert that we've been discussing this week. With near unanimous agreement that the original TOMOYO patches were not the right way to solve the distro problem Tetsuo is trying the solve, reverting is our best option at this time. Please merge for v6.12-rc2. -Paul -- The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git tags/lsm-pr-20241004 for you to fetch changes up to c5e3cdbf2afedef77b64229fd0aed693abf0a0c4: tomoyo: revert CONFIG_SECURITY_TOMOYO_LKM support (2024-10-04 11:41:22 -0400) ---------------------------------------------------------------- lsm/stable-6.12 PR 20241004 ---------------------------------------------------------------- Paul Moore (1): tomoyo: revert CONFIG_SECURITY_TOMOYO_LKM support security/tomoyo/Kconfig | 15 - security/tomoyo/Makefile | 8 security/tomoyo/common.c | 14 - security/tomoyo/common.h | 72 ------ security/tomoyo/gc.c | 3 security/tomoyo/init.c | 366 -------------------------------- security/tomoyo/load_policy.c | 12 - security/tomoyo/proxy.c | 82 ------- security/tomoyo/securityfs_if.c | 10 security/tomoyo/tomoyo.c | 110 +++++++++ security/tomoyo/util.c | 3 11 files changed, 118 insertions(+), 577 deletions(-) -- paul-moore.com . Date: Fri, 4 Oct 2024 19:06:56 +0200 From: Ilya Dryomov To: Linus Torvalds Cc: ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Ceph fixes for 6.12-rc2 Hi Linus, The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-6.12-rc2 for you to fetch changes up to ccda9910d8490f4fb067131598e4b2e986faa5a0: ceph: fix cap ref leak via netfs init_request (2024-10-03 09:31:08 +0200) ---------------------------------------------------------------- A fix from Patrick for a variety of CephFS lockup scenarios caused by a regression in cap handling which sneaked in through the netfs helper library in 5.18 (marked for stable) and an unrelated one-line cleanup. ---------------------------------------------------------------- Patrick Donnelly (1): ceph: fix cap ref leak via netfs init_request Thorsten Blum (1): ceph: use struct_size() helper in __ceph_pool_perm_get() fs/ceph/addr.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) . Date: Fri, 4 Oct 2024 19:32:12 +0200 From: "Rafael J. Wysocki" To: Linus Torvalds Cc: Linux PM , Linux Kernel Mailing List Subject: [GIT PULL] Power management fixes for v6.12-rc2 Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-6.12-rc2 with top-most commit c0f02536fffbbec71aced36d52a765f8c4493dc2 cpufreq: Avoid a bad reference count on CPU node on top of commit 9852d85ec9d492ebef56dc5f229416c925758edc Linux 6.12-rc1 to receive power management fixes for 6.12-rc2. These fix two cpufreq issues, one in the core and one in the intel_pstate driver: - Fix CPU device node reference counting in the cpufreq core (Miquel Sabat=C3=A9 Sol=C3=A0). - Turn the spinlock used by the intel_pstate driver in hard IRQ context into a raw one to prevent the driver from crashing when PREEMPT_RT is enabled (Uwe Kleine-K=C3=B6nig). Thanks! --------------- Miquel Sabat=C3=A9 Sol=C3=A0 (1): cpufreq: Avoid a bad reference count on CPU node Uwe Kleine-K=C3=B6nig (1): cpufreq: intel_pstate: Make hwp_notify_lock a raw spinlock --------------- drivers/cpufreq/intel_pstate.c | 16 ++++++++-------- include/linux/cpufreq.h | 6 +----- 2 files changed, 9 insertions(+), 13 deletions(-) . Date: Fri, 4 Oct 2024 17:33:43 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Kees Cook , Nathan Chancellor Subject: [GIT PULL] hardening fixes for v6.12-rc2 Hi Linus, Please pull these hardening fixes for v6.12-rc2. Thanks! -Kees The following changes since commit c121d5cc3a993cdbfab46a152bdd50227a4d5e8c: lib/string_choices: Add some comments to make more clear for string choices helpers. (2024-09-05 09:50:16 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.12-rc2 for you to fetch changes up to 045244dd5d75c61ae37b7b96fe0a95805bd1842d: MAINTAINERS: Add security/Kconfig.hardening to hardening section (2024-09-28 13:56:12 -0700) ---------------------------------------------------------------- hardening fixes for v6.12-rc2 - gcc plugins: Avoid Kconfig warnings with randstruct (Nathan Chancellor) - MAINTAINERS: Add security/Kconfig.hardening to hardening section (Nathan Chancellor) - MAINTAINERS: Add unsafe_memcpy() to the FORTIFY review list ---------------------------------------------------------------- Kees Cook (1): MAINTAINERS: Add unsafe_memcpy() to the FORTIFY review list Nathan Chancellor (2): hardening: Adjust dependencies in selection of MODVERSIONS MAINTAINERS: Add security/Kconfig.hardening to hardening section MAINTAINERS | 2 ++ security/Kconfig.hardening | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) -- Kees Cook . Date: Fri, 4 Oct 2024 22:42:21 -0400 From: "Theodore Ts'o" To: Linus Torvalds Cc: Linux Kernel Developers List , Ext4 Developers List Subject: [GIT PULL] ext4 bug fixes for 6.12-rc2 The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus-5.12-rc2 for you to fetch changes up to 6121258c2b33ceac3d21f6a221452692c465df88: ext4: fix off by one issue in alloc_flex_gd() (2024-10-04 17:36:28 -0400) ---------------------------------------------------------------- Fix some ext4 bug fixes and regressions relating to oneline resize and fast commits. ---------------------------------------------------------------- Baokun Li (1): ext4: fix off by one issue in alloc_flex_gd() Luis Henriques (SUSE) (2): ext4: use handle to mark fc as ineligible in __track_dentry_update() ext4: mark fc as ineligible using an handle in ext4_xattr_set() fs/ext4/fast_commit.c | 19 +++++++++++-------- fs/ext4/resize.c | 18 ++++++++++-------- fs/ext4/xattr.c | 3 ++- 3 files changed, 23 insertions(+), 17 deletions(-) . Date: Sat, 5 Oct 2024 09:30:34 +0200 From: Wolfram Sang To: Linus Torvalds Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Rosin , Bartosz Golaszewski , Andi Shyti Subject: [PULL REQUEST] i2c-for-6.12-rc2 --jxLvZZtAFkkwsH5/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git tags/i2c-for-6.12-rc2 for you to fetch changes up to 3689245dedfd6157bb6060b62e523a68f1d674b2: Merge tag 'i2c-host-fixes-6.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux into i2c/for-current (2024-10-04 18:30:37 +0200) ---------------------------------------------------------------- i2c-for-6.12-rc2 i2c-host fixes (from Andi) In the stm32f7 a potential deadlock is fixed during runtime suspend and resume. ---------------------------------------------------------------- Marek Vasut (1): i2c: stm32f7: Do not prepare/unprepare clock during runtime suspend/resume Wolfram Sang (1): Merge tag 'i2c-host-fixes-6.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux into i2c/for-current drivers/i2c/busses/i2c-stm32f7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --jxLvZZtAFkkwsH5/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmcA6xkACgkQFA3kzBSg KbYlXhAArVFbPtxpjupyRtxZ1rB5yTM2f+4zfONLGuOv2cqbG8gA1t4ya3okbJea OdKwTXP61B2qTIE0lgmcKruFLGDFyYOElOOiK/27q1bms/9AICeM2QhlYGqzMAxO dUa6GOnUBef+ssTfXNoMIYXTN4TqUiiPMnx4BjPQ3ebxX22Lr27++vpzb86Mdpul 91JWyTh5QOFNkLjWBukD2kzDia9YvFXa2BEUejGJO8YpXgTBnq5drF5d69yFxv/N XTFCxqz9siqiQE1FdlAKCOAgMoYDxTYK8I9w9p1OEo4uMsG0MycwMwHHL2jKBIgz v1wOZj1R5SeyflzgbcQOP0MexwZYAceowc1gUQm3yg5l1s2bFW6wqxfBh+PLZweQ azmRApflZBzLOJqflCyWh6Hs5jtLGJvcEEXbGZEBS+JUSlf/vCT88So988mmOIH2 Lbsu789+h3ZhQr+P4a2qpda5YddeqrBd3G9sVMTcbjAAQyj21tOiQlOhWm+yRD10 wPMbdHduSl0Qvwwch/EFcsZO9gPDeYQf7ttjl5YdQYm1O62PI7vjq5xtWmBXv53w Q+VVRGRUye7DjsQNgZeKaXgCZ0L248cBxlKsV4UZN2EO8hJuvGhzidaTJ9BltPyZ 4vpws5Xo6UPweiCvgGOD9U35HYoAlr8pRN+KcJTrmCpKvtzK7DI= =Ni74 -----END PGP SIGNATURE----- --jxLvZZtAFkkwsH5/-- . Date: Sat, 5 Oct 2024 17:04:31 +0200 From: Juergen Gross To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, sstabellini@kernel.org Subject: [GIT PULL] xen: branch for v6.12-rc2 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-6.12a-rc2-tag xen: branch for v6.12-rc2 It contains just a single patch fixing an issue introduced in the 6.12 merge window. Thanks. Juergen drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Lukas Bulwahn (1): xen: Fix config option reference in XEN_PRIVCMD definition . Date: Sat, 5 Oct 2024 12:23:23 -0500 From: Ira Weiny To: Linus Torvalds Subject: [GIT PULL] Compute Express Link (CXL) Fixes for 6.12-rc2 Hi Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git tags/cxl-fixes-6.12-rc2 This is a small patch which fixes an older bug but was missed in the merge window PR. It has been in next for a couple of days. Thank you, Ira Weiny (Subbing for Dave Jiang while on vacation) --- The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git tags/cxl-fixes-6.12-rc2 for you to fetch changes up to ee1e3c46ed19c096be22472c728fa7f68b1352c4: EINJ, CXL: Fix CXL device SBDF calculation (2024-09-30 08:10:39 -0500) ---------------------------------------------------------------- cxl fixes for 6.12-rc2 - Fix calculation for SBDF in error injection ---------------------------------------------------------------- Ben Cheatham (1): EINJ, CXL: Fix CXL device SBDF calculation drivers/acpi/apei/einj-cxl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) . Date: Sat, 5 Oct 2024 14:35:18 -0400 From: Kent Overstreet To: Linus Torvalds Cc: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] bcachefs fixes for 6.12-rc2 Several more filesystems repaired, thank you to the users who have been providing testing. The snapshots + unlinked fixes on top of this are posted here: https://lore.kernel.org/linux-bcachefs/20241005182955.1588763-1-kent.overstreet@linux.dev/T/#t The following changes since commit 2007d28ec0095c6db0a24fd8bb8fe280c65446cd: bcachefs: rename version -> bversion for big endian builds (2024-09-29 23:55:52 -0400) are available in the Git repository at: git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-10-05 for you to fetch changes up to 0f25eb4b60771f08fbcca878a8f7f88086d0c885: bcachefs: Rework logged op error handling (2024-10-04 20:25:32 -0400) ---------------------------------------------------------------- bcachefs fixes for 6.12-rc2 A lot of little fixes, bigger ones include: - bcachefs's __wait_on_freeing_inode() was broken in rc1 due to vfs changes, now fixed along with another lost wakeup - fragmentation LRU fixes; fsck now repairs successfully (this is the data structure copygc uses); along with some nice simplification. - Rework logged op error handling, so that if logged op replay errors (due to another filesystem error) we delete the logged op instead of going into an infinite loop) - Various small filesystem connectivitity repair fixes The final part of this patch series, fixing snapshots + unlinked file handling, is now out on the list - I'm giving that part of the series more time for user testing. ---------------------------------------------------------------- Kent Overstreet (18): bcachefs: Fix bad shift in bch2_read_flag_list() bcachefs: Fix return type of dirent_points_to_inode_nowarn() bcachefs: Fix bch2_inode_is_open() check bcachefs: Fix trans_commit disk accounting revert bcachefs: Add missing wakeup to bch2_inode_hash_remove() bcachefs: Fix reattach_inode() bcachefs: Create lost+found in correct snapshot bcachefs: bkey errors are only AUTOFIX during read bcachefs: Make sure we print error that causes fsck to bail out bcachefs: Mark more errors AUTOFIX bcachefs: minor lru fsck fixes bcachefs: Kill alloc_v4.fragmentation_lru bcachefs: Check for directories with no backpointers bcachefs: Check for unlinked inodes with dirents bcachefs: Check for unlinked, non-empty dirs in check_inode() bcachefs: Kill snapshot arg to fsck_write_inode() bcachefs: Add warn param to subvol_get_snapshot, peek_inode bcachefs: Rework logged op error handling fs/bcachefs/alloc_background.c | 30 ++++-- fs/bcachefs/alloc_background_format.h | 2 +- fs/bcachefs/btree_gc.c | 3 - fs/bcachefs/btree_trans_commit.c | 3 +- fs/bcachefs/error.c | 23 +++- fs/bcachefs/error.h | 9 +- fs/bcachefs/fs.c | 33 +++--- fs/bcachefs/fsck.c | 194 ++++++++++++++++++++++------------ fs/bcachefs/inode.c | 44 +++----- fs/bcachefs/inode.h | 28 +++-- fs/bcachefs/io_misc.c | 63 +++++++---- fs/bcachefs/logged_ops.c | 16 +-- fs/bcachefs/logged_ops.h | 2 +- fs/bcachefs/lru.c | 34 +++--- fs/bcachefs/move.c | 2 +- fs/bcachefs/movinggc.c | 12 ++- fs/bcachefs/sb-errors_format.h | 33 +++--- fs/bcachefs/subvolume.c | 16 ++- fs/bcachefs/subvolume.h | 2 + fs/bcachefs/util.c | 2 +- 20 files changed, 342 insertions(+), 209 deletions(-) . Date: Sun, 06 Oct 2024 18:02:46 +1100 From: Michael Ellerman To: Linus Torvalds Cc: Jason@zx2c4.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [GIT PULL] Please pull powerpc/linux.git powerpc-6.12-3 tag -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi Linus, Please pull some more powerpc fixes for 6.12: The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-6.12-3 for you to fetch changes up to 4b058c9f281f5b100efbf665dd5a1a05e1654d6d: powerpc/vdso: allow r30 in vDSO code generation of getrandom (2024-09-30 19:19:43 +1000) - ------------------------------------------------------------------ powerpc fixes for 6.12 #3 - Allow r30 to be used in vDSO code generation of getrandom. Thanks to: Jason A. Donenfeld. - ------------------------------------------------------------------ Jason A. Donenfeld (1): powerpc/vdso: allow r30 in vDSO code generation of getrandom arch/powerpc/kernel/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRjvi15rv0TSTaE+SIF0oADX8seIQUCZwI15wAKCRAF0oADX8se Ia03AP9Wmr2WQ9B2Ei8oQMJBIZkPxkdnqG+K98O3ggFZv8Qz3QD+NgQXIYs+Gvay 5Ql5F5hp1D+KepgXmJJsGVhql2vrMgI= =vwqi -----END PGP SIGNATURE----- . Date: Sun, 6 Oct 2024 12:38:14 +0200 From: Paolo Bonzini To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [GIT PULL] KVM fixes for Linux 6.12-rc2 Linus, The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to c8d430db8eec7d4fd13a6bea27b7086a54eda6da: Merge tag 'kvmarm-fixes-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2024-10-06 03:59:22 -0400) ---------------------------------------------------------------- ARM64: * Fix pKVM error path on init, making sure we do not change critical system registers as we're about to fail * Make sure that the host's vector length is at capped by a value common to all CPUs * Fix kvm_has_feat*() handling of "negative" features, as the current code is pretty broken * Promote Joey to the status of official reviewer, while James steps down -- hopefully only temporarly x86: * Fix compilation with KVM_INTEL=KVM_AMD=n * Fix disabling KVM_X86_QUIRK_SLOT_ZAP_ALL when shadow MMU is in use Selftests: * Fix compilation on non-x86 architectures ---------------------------------------------------------------- Marc Zyngier (2): KVM: arm64: Another reviewer reshuffle KVM: arm64: Fix kvm_has_feat*() handling of negative features Mark Brown (2): KVM: arm64: Constrain the host to the maximum shared SVE VL with pKVM KVM: selftests: Fix build on architectures other than x86_64 Paolo Bonzini (4): KVM: x86/mmu: fix KVM_X86_QUIRK_SLOT_ZAP_ALL for shadow MMU KVM: x86: leave kvm.ko out of the build if no vendor module is requested x86/reboot: emergency callbacks are now registered by common KVM code Merge tag 'kvmarm-fixes-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD Vincent Donnefort (1): KVM: arm64: Fix __pkvm_init_vcpu cptr_el2 error path MAINTAINERS | 2 +- arch/arm64/include/asm/kvm_host.h | 25 ++++----- arch/arm64/kvm/hyp/include/hyp/switch.h | 2 +- arch/arm64/kvm/hyp/nvhe/hyp-main.c | 12 +++-- arch/arm64/kvm/hyp/nvhe/pkvm.c | 6 ++- arch/x86/include/asm/reboot.h | 4 +- arch/x86/kernel/reboot.c | 4 +- arch/x86/kvm/Kconfig | 9 ++-- arch/x86/kvm/Makefile | 2 +- arch/x86/kvm/mmu/mmu.c | 60 +++++++++++++++++----- .../kvm/memslot_modification_stress_test.c | 2 + tools/testing/selftests/kvm/memslot_perf_test.c | 6 +++ 12 files changed, 91 insertions(+), 43 deletions(-) . Date: Sun, 6 Oct 2024 13:07:33 +0200 From: Hans de Goede To: Linus Torvalds Cc: Linux Kernel Mailing List , platform-driver-x86@vger.kernel.org, =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Subject: [GIT PULL] platform-drivers-x86 for 6.12-2 Hi Linus, Here is the first round of fixes for platform-drivers-x86 for 6.12. Highlights: - Intel PMC fix for suspend/resume issues on some Sky and Kaby Lake laptops - Intel Diamond Rapids hw-id additions - Documentation and MAINTAINERS fixes - Some other small fixes Regards, Hans The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git tags/platform-drivers-x86-v6.12-2 for you to fetch changes up to 2fae3129c0c08e72b1fe93e61fd8fd203252094a: platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors (2024-10-06 12:50:50 +0200) ---------------------------------------------------------------- platform-drivers-x86 for v6.12-2 Highlights: - Intel PMC fix for suspend/resume issues on some Sky and Kaby Lake laptops - Intel Diamond Rapids hw-id additions - Documentation and MAINTAINERS fixes - Some other small fixes The following is an automated git shortlog grouped by driver: ISST: - Add Diamond Rapids to support list - Fix the KASAN report slab-out-of-bounds bug MAINTAINERS: - Update Intel In Field Scan(IFS) entry dell-ddv: - Fix typo in documentation dell-laptop: - Do not fail when encountering unsupported batteries dell-sysman: - add support for alienware products intel/pmc: - Disable ACPI PM Timer disabling on Sky and Kaby Lake platform/x86/intel: - power-domains: Add Diamond Rapids support wmi: - Update WMI driver API documentation x86-android-tablets: - Fix use after free on platform_device_register() errors ---------------------------------------------------------------- Anaswara T Rajan (1): platform/x86: dell-ddv: Fix typo in documentation Armin Wolf (2): platform/x86: dell-laptop: Do not fail when encountering unsupported batteries platform/x86: wmi: Update WMI driver API documentation Crag Wang (1): platform/x86: dell-sysman: add support for alienware products Hans de Goede (2): platform/x86:intel/pmc: Disable ACPI PM Timer disabling on Sky and Kaby Lake platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors Jithu Joseph (1): MAINTAINERS: Update Intel In Field Scan(IFS) entry Srinivas Pandruvada (2): platform/x86: ISST: Add Diamond Rapids to support list platform/x86/intel: power-domains: Add Diamond Rapids support Zach Wade (1): platform/x86: ISST: Fix the KASAN report slab-out-of-bounds bug Documentation/driver-api/wmi.rst | 11 +++++------ Documentation/wmi/devices/dell-wmi-ddv.rst | 4 ++-- MAINTAINERS | 2 +- drivers/platform/x86/dell/dell-laptop.c | 15 ++++++++++++--- drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 1 + drivers/platform/x86/intel/pmc/spt.c | 2 -- .../platform/x86/intel/speed_select_if/isst_if_common.c | 5 ++++- drivers/platform/x86/intel/tpmi_power_domains.c | 1 + drivers/platform/x86/x86-android-tablets/core.c | 6 ++++-- 9 files changed, 30 insertions(+), 17 deletions(-) . Date: Mon, 7 Oct 2024 02:47:12 +0900 From: Masahiro Yamada To: Linus Torvalds Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Subject: [GIT PULL] Kbuild fixes for v6.12-rc2 Hello Linus, Please pull Kbuild fixes for v6.12-rc2. Thanks. The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-fixes-v6.12 for you to fetch changes up to 82cb44308951ad4ce7a8500b9e025d27d7fb3526: kbuild: deb-pkg: Remove blank first line from maint scripts (2024-10-07 02:36:38 +0900) ---------------------------------------------------------------- Kbuild fixes for v6.12 - Move non-boot built-in DTBs to the .rodata section - Fix Kconfig bugs - Fix maint scripts in the linux-image Debian package - Import some list macros to scripts/include/ ---------------------------------------------------------------- Aaron Thompson (1): kbuild: deb-pkg: Remove blank first line from maint scripts Masahiro Yamada (5): kbuild: move non-boot built-in DTBs to .rodata section kconfig: fix infinite loop in sym_calc_choice() kconfig: clear expr::val_is_valid when allocated kconfig: qconf: move conf_read() before drawing tree pain kconfig: qconf: fix buffer overflow in debug links Sami Tolvanen (1): scripts: import more list macros Xu Yang (1): kbuild: fix a typo dt_binding_schema -> dt_binding_schemas Makefile | 2 +- scripts/Makefile.dtbs | 4 +++- scripts/include/list.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ scripts/kconfig/expr.c | 1 + scripts/kconfig/parser.y | 10 ++++++++-- scripts/kconfig/qconf.cc | 6 +++--- scripts/package/builddeb | 1 - 7 files changed, 66 insertions(+), 8 deletions(-) -- Best Regards Masahiro Yamada .