Date: Mon, 12 Aug 2024 21:57:04 -0500 From: Steve French To: Linus Torvalds Cc: CIFS , Namjae Jeon , LKML Subject: [GIT PULL] ksmbd server fixes Please pull the following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.samba.org/ksmbd.git tags/6.11-rc3-ksmbd-fixes for you to fetch changes up to f6bd41280a44dcc2e0a25ed72617d25f586974a7: ksmbd: override fsids for smb2_query_info() (2024-08-08 22:54:09 -0500) ---------------------------------------------------------------- 2 smb3 server fixes for access denied problem on share path checks ---------------------------------------------------------------- Namjae Jeon (2): ksmbd: override fsids for share path check ksmbd: override fsids for smb2_query_info() fs/smb/server/mgmt/share_config.c | 15 ++++++++++++--- fs/smb/server/mgmt/share_config.h | 4 +++- fs/smb/server/mgmt/tree_connect.c | 9 +++++---- fs/smb/server/mgmt/tree_connect.h | 4 ++-- fs/smb/server/smb2pdu.c | 9 ++++++++- fs/smb/server/smb_common.c | 9 +++++++-- fs/smb/server/smb_common.h | 2 ++ 7 files changed, 39 insertions(+), 13 deletions(-) -- Thanks, Steve . Date: Tue, 13 Aug 2024 13:27:44 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Alexander Viro , Christian Brauner , Damien Le Moal , Eric Biederman , Greg Ungerer , Kees Cook , Marco Vanotti , Stefan O'Rear Subject: [GIT PULL] execve fixes for v6.11-rc4 Hi Linus, Please pull these execve fixes for v6.11-rc4. Thanks! -Kees The following changes since commit de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed: Linux 6.11-rc2 (2024-08-04 13:50:53 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.11-rc4 for you to fetch changes up to f50733b45d865f91db90919f8311e2127ce5a0cb: exec: Fix ToCToU between perm check and set-uid/gid usage (2024-08-13 13:24:29 -0700) ---------------------------------------------------------------- execve fixes for v6.11-rc4 - binfmt_flat: Fix corruption when not offsetting data start - exec: Fix ToCToU between perm check and set-uid/gid usage ---------------------------------------------------------------- Kees Cook (2): binfmt_flat: Fix corruption when not offsetting data start exec: Fix ToCToU between perm check and set-uid/gid usage fs/binfmt_flat.c | 4 +++- fs/exec.c | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) -- Kees Cook . Date: Wed, 14 Aug 2024 15:29:46 +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 /* Summary */ This contains fixes for this merge window: VFS: - Fix the name of file lease slab cache. When file leases were split out of file locks the name of the file lock slab cache was used for the file leases slab cache as well. - Fix a type in take_fd() helper. - Fix infinite directory iteration for stable offsets in tmpfs. - When the icache is pruned all reclaimable inodes are marked with I_FREEING and other processes that try to lookup such inodes will block. But some filesystems like ext4 can trigger lookups in their inode evict callback causing deadlocks. Ext4 does such lookups if the ea_inode feature is used whereby a separate inode may be used to store xattrs. Introduce I_LRU_ISOLATING which pins the inode while its pages are reclaimed. This avoids inode deletion during inode_lru_isolate() avoiding the deadlock and evict is made to wait until I_LRU_ISOLATING is done. netfs: - Fault in smaller chunks for non-large folio mappings for filesystems that haven't been converted to large folios yet. - Fix the CONFIG_NETFS_DEBUG config option. The config option was renamed a short while ago and that introduced two minor issues. First, it depended on CONFIG_NETFS whereas it wants to depend on CONFIG_NETFS_SUPPORT. The former doesn't exist, while the latter does. Second, the documentation for the config option wasn't fixed up. - Revert the removal of the PG_private_2 writeback flag as ceph is using it and fix how that flag is handled in netfs. - Fix DIO reads on 9p. A program watching a file on a 9p mount wouldn't see any changes in the size of the file being exported by the server if the file was changed directly in the source filesystem. Fix this by attempting to read the full size specified when a DIO read is requested. - Fix a NULL pointer dereference bug due to a data race where a cachefiles cookies was retired even though it was still in use. Check the cookie's n_accesses counter before discarding it. nsfs: - Fix ioctl declaration for NS_GET_MNTNS_ID from _IO() to _IOR() as the kernel is writing to userspace. pidfs: - Prevent the creation of pidfds for kthreads until we have a use-case for it and we know the semantics we want. It also confuses userspace why they can get pidfds for kthreads. squashfs: - Fix an unitialized value bug reported by KMSAN caused by a corrupted symbolic link size read from disk. Check that the symbolic link size is not larger than expected. The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.11-rc4.fixes for you to fetch changes up to 810ee43d9cd245d138a2733d87a24858a23f577d: Squashfs: sanity check symbolic link size (2024-08-13 13:56:46 +0200) ---------------------------------------------------------------- vfs-6.11-rc4.fixes ---------------------------------------------------------------- Christian Brauner (2): nsfs: fix ioctl declaration pidfd: prevent creation of pidfds for kthreads David Howells (2): netfs, ceph: Revert "netfs: Remove deprecated use of PG_private_2 as a second writeback flag" netfs: Fix handling of USE_PGPRIV2 and WRITE_TO_CACHE flags Dominique Martinet (1): 9p: Fix DIO read through netfs Lukas Bulwahn (1): netfs: clean up after renaming FSCACHE_DEBUG config Mathias Krause (1): file: fix typo in take_fd() comment Matthew Wilcox (Oracle) (1): netfs: Fault in smaller chunks for non-large folio mappings Max Kellermann (1): fs/netfs/fscache_cookie: add missing "n_accesses" check Omar Sandoval (1): filelock: fix name of file_lease slab cache Phillip Lougher (1): Squashfs: sanity check symbolic link size Zhihao Cheng (1): vfs: Don't evict inode under the inode lru traversing context yangerkun (1): libfs: fix infinite directory reads for offset dir Documentation/filesystems/caching/fscache.rst | 8 +- fs/9p/vfs_addr.c | 3 +- fs/afs/file.c | 3 +- fs/ceph/addr.c | 28 ++++- fs/ceph/inode.c | 2 - fs/inode.c | 39 ++++++- fs/libfs.c | 35 ++++-- fs/locks.c | 2 +- fs/netfs/Kconfig | 2 +- fs/netfs/buffered_read.c | 123 +++++++++++++++++--- fs/netfs/buffered_write.c | 2 +- fs/netfs/fscache_cookie.c | 4 + fs/netfs/io.c | 161 +++++++++++++++++++++++++- fs/netfs/objects.c | 10 -- fs/netfs/write_issue.c | 4 +- fs/nfs/fscache.c | 5 +- fs/nfs/fscache.h | 2 - fs/smb/client/file.c | 3 +- fs/squashfs/inode.c | 7 +- include/linux/file.h | 2 +- include/linux/fs.h | 5 + include/linux/netfs.h | 3 - include/trace/events/netfs.h | 2 + include/uapi/linux/nsfs.h | 3 +- kernel/fork.c | 25 +++- 25 files changed, 412 insertions(+), 71 deletions(-) . Date: Wed, 14 Aug 2024 11:32:08 -0400 From: Paul Moore To: Linus Torvalds Cc: selinux@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] selinux/selinux-pr-20240814 Linus, Three SELinux fixes for v6.11-rcX: - Fix a xperms counting problem where we adding to the xperms count even if we failed to add the xperm. - Propogate errors from avc_add_xperms_decision() back to the caller so that we can trigger the proper cleanup and error handling. - Revert our use of vma_is_initial_heap() in favor of our older logic as vma_is_initial_heap() doesn't correctly handle the no-heap case and it is causing issues with the SELinux process/execheap access control. While the older SELinux logic may not be perfect, it restores the expected user visible behavior. Hopefully we will be able to resolve the problem with the vma_is_initial_heap() macro with the mm folks, but we need to fix this in the meantime. -Paul -- The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20240814 for you to fetch changes up to 05a3d6e9307250a5911d75308e4363466794ab21: selinux: revert our use of vma_is_initial_heap() (2024-08-08 16:22:47 -0400) ---------------------------------------------------------------- selinux/stable-6.11 PR 20240814 ---------------------------------------------------------------- Paul Moore (1): selinux: revert our use of vma_is_initial_heap() Zhen Lei (2): selinux: fix potential counting error in avc_add_xperms_decision() selinux: add the processing of the failure of avc_add_xperms_decision() security/selinux/avc.c | 8 ++++++-- security/selinux/hooks.c | 12 +++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) -- paul-moore.com . Date: Wed, 14 Aug 2024 14:33:48 -0400 From: Paolo Bonzini To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [GIT PULL] KVM changes for Linux 6.11-rc4 Linus, The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -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 1c0e5881691a787a9399a99bff4d56ead6e75e91: KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG (2024-08-14 13:05:42 -0400) Another largish pull request; this time though it's more the number of patches than the size, and there's nothing scary in it. ---------------------------------------------------------------- s390: * Fix failure to start guests with kvm.use_gisa=0 * Panic if (un)share fails to maintain security. ARM: * Use kvfree() for the kvmalloc'd nested MMUs array * Set of fixes to address warnings in W=1 builds * Make KVM depend on assembler support for ARMv8.4 * Fix for vgic-debug interface for VMs without LPIs * Actually check ID_AA64MMFR3_EL1.S1PIE in get-reg-list selftest * Minor code / comment cleanups for configuring PAuth traps * Take kvm->arch.config_lock to prevent destruction / initialization race for a vCPU's CPUIF which may lead to a UAF x86: * Disallow read-only memslots for SEV-ES and SEV-SNP (and TDX) * Fix smatch issues * Small cleanups * Make x2APIC ID 100% readonly * Fix typo in uapi constant Generic: * Use synchronize_srcu_expedited() on irqfd shutdown ---------------------------------------------------------------- Amit Shah (1): KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG Claudio Imbrenda (1): s390/uv: Panic for set and remove shared access UVC errors Dan Carpenter (2): KVM: SVM: Fix uninitialized variable bug KVM: SVM: Fix an error code in sev_gmem_post_populate() Danilo Krummrich (1): KVM: arm64: free kvm->arch.nested_mmus with kvfree() Fuad Tabba (1): KVM: arm64: Tidying up PAuth code in KVM Isaku Yamahata (1): KVM: x86: Use this_cpu_ptr() instead of per_cpu_ptr(smp_processor_id()) Li RongQing (1): KVM: eventfd: Use synchronize_srcu_expedited() on shutdown Marc Zyngier (2): KVM: arm64: Enforce dependency on an ARMv8.4-aware toolchain KVM: arm64: vgic: Hold config_lock while tearing down a CPU interface Mark Brown (1): KVM: selftests: arm64: Correct feature test for S1PIE in get-reg-list Michael Mueller (1): KVM: s390: fix validity interception issue when gisa is switched off Michal Luczaj (1): KVM: selftests: Add a testcase to verify x2APIC is fully readonly Paolo Bonzini (2): Merge tag 'kvmarm-fixes-6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD Merge tag 'kvm-s390-master-6.11-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD Sean Christopherson (2): KVM: x86: Make x2APIC ID 100% readonly KVM: x86: Disallow read-only memslots for SEV-ES and SEV-SNP (and TDX) Sebastian Ott (3): KVM: arm64: fix override-init warnings in W=1 builds KVM: arm64: fix kdoc warnings in W=1 builds KVM: arm64: vgic: fix unexpected unlock sparse warnings Takahiro Itazuri (1): docs: KVM: Fix register ID of SPSR_FIQ Yue Haibing (1): KVM: x86: hyper-v: Remove unused inline function kvm_hv_free_pa_page() Zenghui Yu (1): KVM: arm64: vgic-debug: Exit the iterator properly w/o LPI Documentation/virt/kvm/api.rst | 2 +- arch/arm64/include/asm/kvm_ptrauth.h | 2 +- arch/arm64/kvm/Kconfig | 1 + arch/arm64/kvm/Makefile | 3 +++ arch/arm64/kvm/arm.c | 15 ++++-------- arch/arm64/kvm/hyp/include/hyp/switch.h | 1 - arch/arm64/kvm/hyp/nvhe/Makefile | 2 ++ arch/arm64/kvm/hyp/nvhe/switch.c | 5 ++-- arch/arm64/kvm/hyp/vhe/Makefile | 2 ++ arch/arm64/kvm/nested.c | 2 +- arch/arm64/kvm/vgic/vgic-debug.c | 5 ++-- arch/arm64/kvm/vgic/vgic-init.c | 3 +-- arch/arm64/kvm/vgic/vgic-irqfd.c | 7 +++--- arch/arm64/kvm/vgic/vgic-its.c | 18 ++++++++------ arch/arm64/kvm/vgic/vgic-v3.c | 2 +- arch/arm64/kvm/vgic/vgic.c | 2 +- arch/arm64/kvm/vgic/vgic.h | 2 +- arch/s390/include/asm/uv.h | 5 +++- arch/s390/kvm/kvm-s390.h | 7 +++++- arch/x86/include/asm/kvm_host.h | 2 ++ arch/x86/kvm/hyperv.h | 1 - arch/x86/kvm/lapic.c | 22 +++++++++++------ arch/x86/kvm/svm/sev.c | 7 +++--- arch/x86/kvm/x86.c | 6 ++--- include/linux/kvm_host.h | 7 ++++++ include/uapi/linux/psp-sev.h | 1 + tools/testing/selftests/kvm/aarch64/get-reg-list.c | 4 ++-- .../selftests/kvm/x86_64/xapic_state_test.c | 28 ++++++++++++++++++++++ virt/kvm/eventfd.c | 13 +++++----- virt/kvm/kvm_main.c | 5 ++-- 30 files changed, 120 insertions(+), 62 deletions(-) . Date: Thu, 15 Aug 2024 02:38:02 +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.11-rc4 Hi, please pull the following branch, with stable fixes and one regression fix. Thanks. - extend tree-checker verification of directory item type - fix regression in page/folio and extent state tracking in xarray, the dirty status can get out of sync and can cause problems e.g. a hang - in send, detect last extent and allow to clone it instead of sending it as write, reduces amount of data transferred in the stream - fix checking extent references when cleaning deleted subvolumes - fix one more case in the extent map shrinker, let it run only in the kswapd context so it does not cause latency spikes during other operations ---------------------------------------------------------------- The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.11-rc3-tag for you to fetch changes up to 6252690f7e1b173b86a4c27dfc046b351ab423e7: btrfs: fix invalid mapping of extent xarray state (2024-08-13 15:36:57 +0200) ---------------------------------------------------------------- Filipe Manana (2): btrfs: only run the extent map shrinker from kswapd tasks btrfs: send: allow cloning non-aligned extent if it ends at i_size Josef Bacik (1): btrfs: check delayed refs when we're checking if a ref exists Naohiro Aota (1): btrfs: fix invalid mapping of extent xarray state Qu Wenruo (1): btrfs: tree-checker: reject BTRFS_FT_UNKNOWN dir type fs/btrfs/delayed-ref.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ fs/btrfs/delayed-ref.h | 2 ++ fs/btrfs/extent-tree.c | 51 ++++++++++++++++++++++++++++++++----- fs/btrfs/extent_io.c | 14 +++++------ fs/btrfs/extent_map.c | 22 +++++----------- fs/btrfs/send.c | 52 ++++++++++++++++++++++++++++---------- fs/btrfs/super.c | 10 ++++++++ fs/btrfs/tree-checker.c | 5 ++-- 8 files changed, 179 insertions(+), 44 deletions(-) . Date: Thu, 15 Aug 2024 17:02:35 +0200 From: Mauro Carvalho Chehab To: Linus Torvalds Cc: Greg Kroah-Hartman , Andrew Morton , Linux Media Mailing List , Linux Kernel Mailing List Subject: [GIT PULL for v6.11-rc4] media fixes Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v6.11-3 For two regression fixes: - fix atomisp support for ISP2400; - fix dvb-usb regression for TeVii s480 dual DVB-S2 S660 board. Regards, Mauro --- The following changes since commit e2ed53694e5356a55fd539a4d8dc56c2fa42b2ff: Merge tag 'tags/fixes-media-uvc-20230722' of git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git (2024-08-03 11:01:04 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v6.11-3 for you to fetch changes up to 63de936b513f7a9ce559194d3269ac291f4f4662: media: atomisp: Fix streaming no longer working on BYT / ISP2400 devices (2024-08-14 08:06:07 +0200) ---------------------------------------------------------------- media fixes for v6.11-rc4 ---------------------------------------------------------------- Hans de Goede (1): media: atomisp: Fix streaming no longer working on BYT / ISP2400 devices Sean Young (1): media: Revert "media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()" drivers/media/usb/dvb-usb/dvb-usb-init.c | 35 +++------------------- .../media/atomisp/pci/ia_css_stream_public.h | 8 +++-- .../staging/media/atomisp/pci/sh_css_internal.h | 19 ++++++++++-- 3 files changed, 26 insertions(+), 36 deletions(-) . Date: Thu, 15 Aug 2024 11:08:30 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, David Gow , Ivan Orlov , Kees Cook , Luis Chamberlain , Masami Hiramatsu , Peter Zijlstra , Petr Mladek , Petr Pavlu , Sami Tolvanen , Song Liu , Thorsten Blum Subject: [GIT PULL] hardening fixes for v6.11-rc4 Hi Linus, Please pull these various hardening fixes for v6.11-rc4. Thanks! -Kees The following changes since commit de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed: Linux 6.11-rc2 (2024-08-04 13:50:53 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.11-rc4 for you to fetch changes up to fb6a421fb6153d97cf3058f9bd550b377b76a490: kallsyms: Match symbols exactly with CONFIG_LTO_CLANG (2024-08-15 09:33:35 -0700) ---------------------------------------------------------------- hardening fixes for v6.11-rc4 - gcc-plugins: randstruct: Remove GCC 4.7 or newer requirement (Thorsten Blum) - kallsyms: Clean up interaction with LTO suffixes (Song Liu) - refcount: Report UAF for refcount_sub_and_test(0) when counter==0 (Petr Pavlu) - kunit/overflow: Avoid misallocation of driver name (Ivan Orlov) ---------------------------------------------------------------- Ivan Orlov (1): kunit/overflow: Fix UB in overflow_allocation_test Petr Pavlu (1): refcount: Report UAF for refcount_sub_and_test(0) when counter==0 Song Liu (2): kallsyms: Do not cleanup .llvm. suffix before sorting symbols kallsyms: Match symbols exactly with CONFIG_LTO_CLANG Thorsten Blum (1): gcc-plugins: randstruct: Remove GCC 4.7 or newer requirement drivers/misc/lkdtm/refcount.c | 16 ++++++++ include/linux/refcount.h | 4 +- kernel/kallsyms.c | 55 +++------------------------ kernel/kallsyms_selftest.c | 22 +---------- lib/overflow_kunit.c | 3 +- scripts/gcc-plugins/randomize_layout_plugin.c | 4 -- scripts/kallsyms.c | 31 +-------------- scripts/link-vmlinux.sh | 4 -- 8 files changed, 28 insertions(+), 111 deletions(-) -- Kees Cook . Date: Thu, 15 Aug 2024 16:03:19 -0700 From: Namhyung Kim To: Linus Torvalds Cc: Arnaldo Carvalho de Melo , Ian Rogers , Kan Liang , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Subject: [GIT PULL] perf-tools fixes for v6.11-rc4 Hi Linus, Please consider pulling the following changes in perf tools for v6.11. Thanks, Namhyung The following changes since commit de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed: Linux 6.11-rc2 (2024-08-04 13:50:53 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v6.11-2024-08-15 for you to fetch changes up to 4bbe6002931954bbe82b25f25990b987b0392e18: perf daemon: Fix the build on 32-bit architectures (2024-08-09 19:36:20 -0700) ---------------------------------------------------------------- perf tools fixes for v6.11 The usual header file sync-ups and one more build fix. * Add README file to explain why we copy the headers * Sync UAPI and other header files with kernel source * Fix build on MIPS 32-bit Signed-off-by: Namhyung Kim ---------------------------------------------------------------- Arnaldo Carvalho de Melo (1): perf daemon: Fix the build on 32-bit architectures Namhyung Kim (10): perf tools: Add tools/include/uapi/README tools/include: Sync uapi/drm/i915_drm.h with the kernel sources tools/include: Sync uapi/linux/kvm.h with the kernel sources tools/include: Sync uapi/linux/perf.h with the kernel sources tools/include: Sync uapi/sound/asound.h with the kernel sources tools/include: Sync uapi/asm-generic/unistd.h with the kernel sources tools/include: Sync network socket headers with the kernel sources tools/include: Sync filesystem headers with the kernel sources tools/include: Sync x86 headers with the kernel sources tools/include: Sync arm64 headers with the kernel sources tools/arch/arm64/include/asm/cputype.h | 10 + tools/arch/powerpc/include/uapi/asm/kvm.h | 3 + tools/arch/x86/include/asm/cpufeatures.h | 803 +++++++++++---------- tools/arch/x86/include/asm/msr-index.h | 11 + tools/arch/x86/include/uapi/asm/kvm.h | 49 ++ tools/arch/x86/include/uapi/asm/svm.h | 1 + tools/include/uapi/README | 73 ++ tools/include/uapi/asm-generic/unistd.h | 2 +- tools/include/uapi/drm/i915_drm.h | 27 + tools/include/uapi/linux/in.h | 2 + tools/include/uapi/linux/kvm.h | 17 +- tools/include/uapi/linux/perf_event.h | 6 +- tools/include/uapi/linux/stat.h | 12 +- tools/perf/arch/powerpc/entry/syscalls/syscall.tbl | 6 +- tools/perf/arch/s390/entry/syscalls/syscall.tbl | 2 +- tools/perf/arch/x86/entry/syscalls/syscall_64.tbl | 8 +- tools/perf/builtin-daemon.c | 9 +- tools/perf/trace/beauty/include/linux/socket.h | 5 +- tools/perf/trace/beauty/include/uapi/linux/fs.h | 163 ++++- tools/perf/trace/beauty/include/uapi/linux/mount.h | 10 +- tools/perf/trace/beauty/include/uapi/linux/stat.h | 12 +- .../perf/trace/beauty/include/uapi/sound/asound.h | 9 +- 22 files changed, 814 insertions(+), 426 deletions(-) create mode 100644 tools/include/uapi/README . Date: Fri, 16 Aug 2024 14:09:28 +1000 From: Dave Airlie To: Linus Torvalds , Daniel Vetter Cc: dri-devel , LKML Subject: [git pull] drm fixes for 6.11-rc4 Hi Linus, Weekly drm fixes, mostly amdgpu and xe. The larger amdgpu fix is for a new IP block introduced in rc1, so should be fine. The xe fixes contain some missed fixes from the end of the previous round along with some fixes which required precursor changes, but otherwise everything seems fine, Dave. drm-fixes-2024-08-16: drm fixes for 6.11-rc4 mediatek: - fix cursor crash amdgpu: - Fix MES ring buffer overflow - DCN 3.5 fix - DCN 3.2.1 fix - DP MST fix - Cursor fixes - JPEG fixes - Context ops validation - MES 12 fixes - VCN 5.0 fix - HDP fix panel: - dt bindings style fix - orientation quirks rockchip: - inno-hdmi: fix infoframe upload v3d: - fix OOB access in v3d_csd_job_run() xe: - Validate user fence during creation - Fix use after free when client stats are captured - SRIOV fixes - Runtime PM fixes The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba= : Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-08-16 for you to fetch changes up to fee9d135e2fd5963a7f466cd1ef2060731a1ab29: Merge tag 'mediatek-drm-fixes-20240805' of https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into drm-fixes (2024-08-16 13:16:47 +1000) ---------------------------------------------------------------- drm fixes for 6.11-rc4 mediatek: - fix cursor crash amdgpu: - Fix MES ring buffer overflow - DCN 3.5 fix - DCN 3.2.1 fix - DP MST fix - Cursor fixes - JPEG fixes - Context ops validation - MES 12 fixes - VCN 5.0 fix - HDP fix panel: - dt bindings style fix - orientation quirks rockchip: - inno-hdmi: fix infoframe upload v3d: - fix OOB access in v3d_csd_job_run() xe: - Validate user fence during creation - Fix use after free when client stats are captured - SRIOV fixes - Runtime PM fixes ---------------------------------------------------------------- Alex Bee (1): drm/rockchip: inno-hdmi: Fix infoframe upload Alex Deucher (2): drm/amdgpu/jpeg2: properly set atomics vmid field drm/amdgpu/jpeg4: properly set atomics vmid field AngeloGioacchino Del Regno (1): drm/mediatek: Set sensible cursor width/height values to fix crash Bas Nieuwenhuizen (1): drm/amdgpu: Actually check flags for all context ops. Bouke Sybren Haarsma (2): drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero drm: panel-orientation-quirks: Add quirk for Ayn Loki Max Dave Airlie (4): Merge tag 'amd-drm-fixes-6.11-2024-08-14' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-misc-fixes-2024-08-15' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes Merge tag 'drm-xe-fixes-2024-08-15' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes Merge tag 'mediatek-drm-fixes-20240805' of https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into drm-fixes David (Ming Qiang) Wu (1): drm/amd/amdgpu: command submission parser for JPEG Douglas Anderson (1): dt-bindings: display: panel: samsung,atna45dc02: Fix indentation Fangzhi Zuo (1): drm/amd/display: Fix MST BW calculation Regression Hamza Mahfooz (1): drm/amd/display: fix s2idle entry for DCN3.5+ Jack Xiao (9): drm/amdgpu/mes: fix mes ring buffer overflow drm/amdgpu/mes12: update mes_v12_api_def.h drm/amdgpu/mes: add multiple mes ring instances support drm/amdgpu/mes12: load unified mes fw on pipe0 and pipe1 drm/amdgpu/mes12: add mes pipe switch support drm/amdgpu/mes12: adjust mes12 sw/hw init for multiple pipes drm/amdgpu/mes12: configure two pipes hardware resources drm/amdgpu/mes12: sw/hw fini for unified mes drm/amdgpu/mes12: fix suspend issue Kenneth Feng (1): drm/amd/amdgpu: add HDP_SD support on gc 12.0.0/1 Loan Chen (1): drm/amd/display: Enable otg synchronization logic for DCN321 Matthew Brost (5): drm/xe: Validate user fence during creation drm/xe: Build PM into GuC CT layer drm/xe: Add xe_gt_tlb_invalidation_fence_init helper drm/xe: Drop xe_gt_tlb_invalidation_wait drm/xe: Hold a PM ref when GT TLB invalidations are inflight Ma=C3=ADra Canal (1): drm/v3d: Fix out-of-bounds read in `v3d_csd_job_run()` Melissa Wen (1): drm/amd/display: fix cursor offset on rotation 180 Michal Wajdeczko (2): drm/xe/vf: Fix register value lookup drm/xe/pf: Fix VF config validation on multi-GT platforms Rodrigo Siqueira (1): drm/amd/display: Adjust cursor position Umesh Nerlige Ramappa (4): drm/xe: Move part of xe_file cleanup to a helper drm/xe: Add ref counting for xe_file drm/xe: Take a ref to xe file when user creates a VM drm/xe: Fix use after free when client stats are captured Yinjie Yao (1): drm/amdgpu: Update kmd_fw_shared for VCN5 .../bindings/display/panel/samsung,atna33xc20.yaml | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 8 + drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 83 +++--- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 16 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 27 +- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 63 ++++- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.h | 7 +- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c | 1 + drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 59 ++-- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 296 +++++++++++------= ---- drivers/gpu/drm/amd/amdgpu/soc15d.h | 6 + drivers/gpu/drm/amd/amdgpu/soc24.c | 2 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 + .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 33 ++- .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.h | 3 + .../drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 4 +- .../display/dc/resource/dcn321/dcn321_resource.c | 3 + drivers/gpu/drm/amd/include/mes_v12_api_def.h | 7 +- drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 4 +- drivers/gpu/drm/rockchip/inno_hdmi.c | 4 +- drivers/gpu/drm/v3d/v3d_sched.c | 14 +- drivers/gpu/drm/xe/xe_device.c | 59 +++- drivers/gpu/drm/xe/xe_device.h | 3 + drivers/gpu/drm/xe/xe_device_types.h | 3 + drivers/gpu/drm/xe/xe_drm_client.c | 5 +- drivers/gpu/drm/xe/xe_exec_queue.c | 10 +- drivers/gpu/drm/xe/xe_exec_queue_types.h | 7 +- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 11 +- drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 2 +- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 201 +++++++------- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h | 12 +- drivers/gpu/drm/xe/xe_gt_tlb_invalidation_types.h | 4 + drivers/gpu/drm/xe/xe_guc_ct.c | 10 +- drivers/gpu/drm/xe/xe_guc_submit.c | 4 + drivers/gpu/drm/xe/xe_pt.c | 26 +- drivers/gpu/drm/xe/xe_sync.c | 12 +- drivers/gpu/drm/xe/xe_vm.c | 38 +-- 47 files changed, 699 insertions(+), 426 deletions(-) . Date: Fri, 16 Aug 2024 09:41:25 +0100 From: Andi Shyti To: Wolfram Sang Cc: linux-i2c , lkml , Andi Shyti , Breno Leitao Subject: [GIT PULL] i2c-host-fixes for v6.11-rc4 Hi Wolfram, This pull request includes two fixes related to the runtime PM functions, which are described in the tag description. Breno's fix will require additional support when backported to stable kernels. My fix addresses an issue that was missed by Gaosheng in last week's patches and overlooked in my review. With this change, the exit path of the runtime_resume() function for the Qualcomm controller should fine (there's still a minor cleanup needed, which will be handled in a different branch). As always, I wish you a great weekend! Andi The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -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.11-rc4 for you to fetch changes up to 14d069d92951a3e150c0a81f2ca3b93e54da913b: i2c: tegra: Do not mark ACPI devices as irq safe (2024-08-15 00:22:28 +0200) ---------------------------------------------------------------- Two fixes in this update: Tegra I2C Controller: Addresses a potential double-locking issue during probe. ACPI devices are not IRQ-safe when invoking runtime suspend and resume functions, so the irq_safe flag should not be set. Qualcomm GENI I2C Controller: Fixes an oversight in the exit path of the runtime_resume() function, which was missed in the previous release. ---------------------------------------------------------------- Andi Shyti (1): i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume Breno Leitao (1): i2c: tegra: Do not mark ACPI devices as irq safe drivers/i2c/busses/i2c-qcom-geni.c | 4 +++- drivers/i2c/busses/i2c-tegra.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) . Date: Fri, 16 Aug 2024 10:44:58 +0200 From: Takashi Iwai To: Linus Torvalds Cc: Linux Sound Mailing List , Linux Kernel Mailing List Subject: [GIT PULL] sound fixes for 6.11-rc4 Linus, please pull sound fixes for v6.11-rc4 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-6.11-rc4 The topmost commit is 829e2a23121fb36ee30ea5145c2a85199f68e2c8 ---------------------------------------------------------------- sound fixes for 6.11-rc4 All small fixes, mostly for usual suspects, HD-audio and USB-audio device-specific fixes / quirks. The Cirrus codec support took the update of SPI header as well. Other than that, there is a regression fix in the sanity check of ALSA timer code. ---------------------------------------------------------------- Baojun Xu (1): ALSA: hda/tas2781: fix wrong calibrated data order Juan José Arboleda (1): ALSA: usb-audio: Support Yamaha P-125 quirk entry Lianqin Hu (1): ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET Parsa Poorshikhian (1): ALSA: hda/realtek: Fix noise from speakers on Lenovo IdeaPad 3 15IAU7 Richard Fitzgerald (3): spi: Add empty versions of ACPI functions ALSA: hda: cs35l56: Remove redundant call to hda_cs_dsp_control_remove() ALSA: hda: cs35l41: Remove redundant call to hda_cs_dsp_control_remove() Simon Trimmer (1): ALSA: hda/realtek: Add support for new HP G12 laptops Takashi Iwai (2): ALSA: timer: Relax start tick time check for slave timer elements ALSA: hda/tas2781: Use correct endian conversion --- include/linux/spi/spi.h | 19 +++++++- sound/core/timer.c | 2 +- sound/pci/hda/cs35l41_hda.c | 2 +- sound/pci/hda/cs35l56_hda.c | 2 +- sound/pci/hda/patch_realtek.c | 100 +++++++++++++++++++++++++++++++++++++++- sound/pci/hda/tas2781_hda_i2c.c | 14 ++++-- sound/usb/quirks-table.h | 1 + sound/usb/quirks.c | 2 + 8 files changed, 132 insertions(+), 10 deletions(-) . Date: Fri, 16 Aug 2024 11:34:23 +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.11-rc4 From: Bartosz Golaszewski Linus, Please pull the following fix for one of the GPIO drivers for the next RC. Bartosz The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -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.11-rc4 for you to fetch changes up to aad41832326723627ad8ac9ee8a543b6dca4454d: gpio: mlxbf3: Support shutdown() function (2024-08-10 21:35:16 +0200) ---------------------------------------------------------------- gpio fixes for v6.11-rc4 - add the shutdown() callback to gpio-mlxbf3 in order to disable interrupts during graceful reboot ---------------------------------------------------------------- Asmaa Mnebhi (1): gpio: mlxbf3: Support shutdown() function drivers/gpio/gpio-mlxbf3.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) . Date: Fri, 16 Aug 2024 15:40:09 +0200 From: Joerg Roedel To: Linus Torvalds Cc: Will Deacon , linux-kernel@vger.kernel.org, iommu@lists.linux.dev Subject: [git pull] IOMMU Fixes for Linux v6.11-rc1 --TjlZnCe6OcuoWwCx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Linus, The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git tags/iommu-fixes-v6.11-rc3 for you to fetch changes up to 92567a5f92bc947fb7aa4351979db1b7b71a554c: iommu: Remove unused declaration iommu_sva_unbind_gpasid() (2024-08-13 10:53:45 +0200) ---------------------------------------------------------------- IOMMU Fixes for Linux v6.11-rc3 Including: - Bring back a lost return statement in io-page-fault code - Remove an unused function declaration ---------------------------------------------------------------- Barak Biber (1): iommu: Restore lost return in iommu_report_device_fault() Yue Haibing (1): iommu: Remove unused declaration iommu_sva_unbind_gpasid() drivers/iommu/io-pgfault.c | 1 + include/linux/iommu.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) Please pull. Thanks, Joerg --TjlZnCe6OcuoWwCx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEr9jSbILcajRFYWYyK/BELZcBGuMFAma/VrgACgkQK/BELZcB GuNfXQ//fECTqYiasEBEGtAaj8bb0uqJUKLlIsKEIHUKQHkJe9OUk1wkahNFygS0 bVNK9z9R1k0HIOXJrmWdKrNS/cBEimFqZOoJkCXBX0X24I8Bu1FP8LkYXmSY+JcY wr1iy2vwrPHaxbdyZd+xbi5HQLZORJE1immYKOlA+paPkb6/Kaenpk9L4o2xiTdJ kOREOVLnkB1J/cR/c19EGCWIN9Y7vabdC3J2pOtaLEKoe1E3WimqszmyHAalu4AB gLOvSR2BGOGm69V+9+lTj/mWoKeYjaov7ehl7l/Mj2tS5rYiP/ooZOUafjZp2QXU FvoC+UZHGF7MQV1JNP07SVmCRLt77rsN/JnjZL233dAykSNcp0hAQ34dQrjoBDgL qBtSzC5uS459lOASyaPXZ7ARe7ojO3vMkLJgFEpThq7lmLKqM6p6ZNLxSvpq/lPs 6K2VI0k3foUdsxRl+sOlfQzhDiQpY0Djfr5iV+dWJeNGn6vfb7SEIti7w6YTVTND HkrOPkyPJLCcaWRPIDbVEjHHq5C+MWXyy8VdU/Hh9ZV/CKpmYXpmYfgkz1rFbfcV uhicMAmHCWE6um1UmD2WoSKKDAACsKcsWHZYaV0fal4xbatBplFdydVrmHRfEJq5 /Wz3xEaDeBLXFxaGJ3BffWe2Ul6dfoQMZNjIdb93fi57EHzZIPU= =qpkg -----END PGP SIGNATURE----- --TjlZnCe6OcuoWwCx-- . Date: Fri, 16 Aug 2024 08:44:39 -0500 From: Ira Weiny To: Linus Torvalds Subject: [GIT PULL] DAX for 6.11 Hi Linux, please pull from https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git/ tags/libnvdimm-fixes-6.11-rc4 To get a fix for filesystem DAX. It has been in -next since August 12th without any reported issues. Thanks, Ira Weiny --- The following changes since commit afdab700f65e14070d8ab92175544b1c62b8bf03: Merge tag 'bitmap-6.11-rc' of https://github.com/norov/linux (2024-08-09 11:18:09 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git/ tags/libnvdimm-fixes-6.11-rc4 for you to fetch changes up to d5240fa65db071909e9d1d5adcc5fd1abc8e96fe: nvdimm/pmem: Set dax flag for all 'PFN_MAP' cases (2024-08-09 14:29:58 -0500) ---------------------------------------------------------------- libnvdimm fixes for v6.11-rc4 Commit f467fee48da4 ("block: move the dax flag to queue_limits") broke the DAX tests by skipping over the legacy pmem mapping pages case. - Set the DAX flag in this case as well. ---------------------------------------------------------------- Zhihao Cheng (1): nvdimm/pmem: Set dax flag for all 'PFN_MAP' cases drivers/nvdimm/pmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) . Date: Fri, 16 Aug 2024 10:23:05 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Masami Hiramatsu , Mathieu Desnoyers , John Kacur , Juri Lelli , Dan Carpenter Subject: [GIT PULL] tracing: Fixes in RTLA tool and reading the ring buffer Linus, A couple of fixes for tracing: - Prevent a NULL pointer dereference in the error path of RTLA tool - Fix an infinite loop bug when reading from the ring buffer when closed. If there's a thread trying to read the ring buffer and it gets closed by another thread, the one reading will go into an infinite loop when the buffer is empty instead of exiting back to user space. Please pull the latest trace-v6.11-rc3 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-v6.11-rc3 Tag SHA1: 436b8a891cd73d07847c86cd55ff7f8f17f47dfe Head SHA1: 90574d2a675947858b47008df8d07f75ea50d0d0 Dan Carpenter (1): rtla/osnoise: Prevent NULL dereference in error handling Steven Rostedt (1): tracing: Return from tracing_buffers_read() if the file has been closed ---- kernel/trace/trace.c | 2 +- tools/tracing/rtla/src/osnoise_top.c | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) --------------------------- diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 10cd38bce2f1..ebe7ce2f5f4a 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -7956,7 +7956,7 @@ tracing_buffers_read(struct file *filp, char __user *ubuf, trace_access_unlock(iter->cpu_file); if (ret < 0) { - if (trace_empty(iter)) { + if (trace_empty(iter) && !iter->closed) { if ((filp->f_flags & O_NONBLOCK)) return -EAGAIN; diff --git a/tools/tracing/rtla/src/osnoise_top.c b/tools/tracing/rtla/src/osnoise_top.c index f594a44df840..2f756628613d 100644 --- a/tools/tracing/rtla/src/osnoise_top.c +++ b/tools/tracing/rtla/src/osnoise_top.c @@ -651,8 +651,10 @@ struct osnoise_tool *osnoise_init_top(struct osnoise_top_params *params) return NULL; tool->data = osnoise_alloc_top(nr_cpus); - if (!tool->data) - goto out_err; + if (!tool->data) { + osnoise_destroy_tool(tool); + return NULL; + } tool->params = params; @@ -660,11 +662,6 @@ struct osnoise_tool *osnoise_init_top(struct osnoise_top_params *params) osnoise_top_handler, NULL); return tool; - -out_err: - osnoise_free_top(tool->data); - osnoise_destroy_tool(tool); - return NULL; } static int stop_tracing; . Date: Fri, 16 Aug 2024 08:11:53 -0700 (PDT) From: Palmer Dabbelt To: Linus Torvalds Subject: [GIT PULL] RISC-V Fixes for 6.11-rc4 The following changes since commit de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed: Linux 6.11-rc2 (2024-08-04 13:50:53 -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.11-rc4 for you to fetch changes up to 32d5f7add080a936e28ab4142bfeea6b06999789: Merge patch series "RISC-V: hwprobe: Misaligned scalar perf fix and rename" (2024-08-15 13:12:21 -0700) ---------------------------------------------------------------- RISC-V Fixes for 6.11-rc4 * The text patching global icache flush has been reintroduced. * A fix for the syscall entry code to correctly initialize a0, which manifests as a bug in strace. * XIP kernels now map the entire kernel, which fixes boot under at least DEBUG_VIRTUAL=y. * The acpi_early_node_map initializer now initializes all nodes. * A fix for a OOB access in the Andes vendor extension probing code. * A new key for scalar misaligned access performance in hwprobe, which correctly treat the values as an enum (as opposed to a bitmap). ---------------------------------------------------------------- That last patch set (for hwprobe) is sort of feature-smelling, but I think it's sane to call it a fix -- it's kind of a grey area as to whether we even need a new key, but we're playing it safe as hwprobe is such a compatibility-focused interface. ---------------------------------------------------------------- Alexandre Ghiti (2): riscv: Re-introduce global icache flush in patch_text_XXX() riscv: Fix out-of-bounds when accessing Andes per hart vendor extension array Celeste Liu (1): riscv: entry: always initialize regs->a0 to -ENOSYS Evan Green (2): RISC-V: hwprobe: Add MISALIGNED_PERF key RISC-V: hwprobe: Add SCALAR to misaligned perf defines Haibo Xu (1): RISC-V: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE Nam Cao (1): riscv: change XIP's kernel_map.size to be size of the entire kernel Palmer Dabbelt (1): Merge patch series "RISC-V: hwprobe: Misaligned scalar perf fix and rename" Documentation/arch/riscv/hwprobe.rst | 36 ++++++++++++++++++------------ arch/riscv/include/asm/hwprobe.h | 2 +- arch/riscv/include/uapi/asm/hwprobe.h | 6 +++++ arch/riscv/kernel/acpi_numa.c | 2 +- arch/riscv/kernel/patch.c | 4 ++++ arch/riscv/kernel/sys_hwprobe.c | 11 ++++----- arch/riscv/kernel/traps.c | 4 ++-- arch/riscv/kernel/traps_misaligned.c | 6 ++--- arch/riscv/kernel/unaligned_access_speed.c | 12 +++++----- arch/riscv/kernel/vendor_extensions.c | 2 +- arch/riscv/mm/init.c | 4 ++-- 11 files changed, 54 insertions(+), 35 deletions(-) _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv . Date: Fri, 16 Aug 2024 19:35:58 +0200 From: "Rafael J. Wysocki" To: Linus Torvalds Cc: ACPI Devel Maling List , Linux Kernel Mailing List Subject: [GIT PULL] ACPI fix for v6.11-rc4 Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-6.11-rc4 with top-most commit 71bf41b8e913ec9fc91f0d39ab8fb320229ec604 ACPI: EC: Evaluate _REG outside the EC scope more carefully on top of commit 7c626ce4bae1ac14f60076d00eafe71af30450ba Linux 6.11-rc3 to receive an ACPI fix for 6.11-rc4. This fixes an issue related to the ACPI EC device handling that causes the _REG control method to be evaluated for EC operation regions that are not expected to be used which confuses the platform firmware and provokes various types of misbehavior on some systems. Thanks! --------------- Rafael J. Wysocki (3): Revert "ACPI: EC: Evaluate orphan _REG under EC device" ACPICA: Add a depth argument to acpi_execute_reg_methods() ACPI: EC: Evaluate _REG outside the EC scope more carefully --------------- drivers/acpi/acpica/acevents.h | 6 +--- drivers/acpi/acpica/evregion.c | 12 ++++++-- drivers/acpi/acpica/evxfregn.c | 64 +++++------------------------------------- drivers/acpi/ec.c | 14 +++++---- drivers/acpi/internal.h | 1 + drivers/acpi/scan.c | 2 ++ include/acpi/acpixf.h | 5 +--- 7 files changed, 30 insertions(+), 74 deletions(-) . Date: Fri, 16 Aug 2024 19:16:22 +0200 From: Miguel Ojeda To: Linus Torvalds Cc: Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Rust fixes for 6.11 Hi Linus, Please pull these fixes for Rust. They have been in linux-next for a week or more. No conflicts expected. No changes to the C side. Thanks! Cheers, Miguel The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: https://github.com/Rust-for-Linux/linux.git tags/rust-fixes-6.11 for you to fetch changes up to 0eba65f0310d3c7d5516c7fd4c172d0bfa8b285b: rust: x86: remove `-3dnow{,a}` from target features (2024-08-10 00:05:10 +0200) ---------------------------------------------------------------- Rust fixes for v6.11 - Fix '-Os' Rust 1.80.0+ builds adding more intrinsics (also tweaked in upstream Rust for the upcoming 1.82.0). - Fix support for the latest version of rust-analyzer due to a change on rust-analyzer config file semantics (considered a fix since most developers use the latest version of the tool, which is the only one actually supported by upstream). I am discussing stability of the config file with upstream -- they may be able to start versioning it. - Fix GCC 14 builds due to '-fmin-function-alignment' not skipped for libclang (bindgen). - A couple Kconfig fixes around '{RUSTC,BINDGEN}_VERSION_TEXT' to suppress error messages in a foreign architecture chroot and to use a proper default format. - Clean 'rust-analyzer' target warning due to missing recursive make invocation mark. - Clean Clippy warning due to missing indentation in docs. - Clean LLVM 19 build warning due to removed 3dnow feature upstream. ---------------------------------------------------------------- Masahiro Yamada (2): rust: suppress error messages from CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT rust: fix the default format for CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT Miguel Ojeda (4): rust: macros: indent list item in `module!`'s docs rust: add intrinsics to fix `-Os` builds kbuild: rust-analyzer: mark `rust_is_available.sh` invocation as recursive rust: x86: remove `-3dnow{,a}` from target features Sarthak Singh (1): rust: Support latest version of `rust-analyzer` Zehui Xu (1): kbuild: rust: skip -fmin-function-alignment in bindgen flags Makefile | 2 +- init/Kconfig | 4 ++-- rust/Makefile | 8 ++++---- rust/compiler_builtins.rs | 3 +++ rust/macros/lib.rs | 2 +- scripts/generate_rust_analyzer.py | 6 +++++- scripts/generate_rust_target.rs | 4 ++-- 7 files changed, 18 insertions(+), 11 deletions(-) . Date: Fri, 16 Aug 2024 19:37:11 +0200 From: "Rafael J. Wysocki" To: Linus Torvalds Cc: Linux PM , Linux Kernel Mailing List , Daniel Lezcano Subject: [GIT PULL] Thermal control fix for v6.11-rc4 Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ thermal-6.11-rc4 with top-most commit 6e6f58a170ea98e44075b761f2da42a5aec47dfb thermal: gov_bang_bang: Use governor_data to reduce overhead on top of commit 7c626ce4bae1ac14f60076d00eafe71af30450ba Linux 6.11-rc3 to receive a thermal control fix for 6.11-rc4. This fixes a Bang-bang thermal governor issue causing it to fail to reset the state of cooling devices if they are "on" to start with, but the thermal zone temperature is always below the corresponding trip point. Thanks! --------------- Rafael J. Wysocki (4): thermal: gov_bang_bang: Call __thermal_cdev_update() directly thermal: gov_bang_bang: Split bang_bang_control() thermal: gov_bang_bang: Add .manage() callback thermal: gov_bang_bang: Use governor_data to reduce overhead --------------- drivers/thermal/gov_bang_bang.c | 83 ++++++++++++++++++++++++++++++++--------- drivers/thermal/thermal_core.c | 3 +- include/linux/thermal.h | 1 + 3 files changed, 69 insertions(+), 18 deletions(-) . Date: Fri, 16 Aug 2024 14:08:24 -0600 From: Rob Herring To: Linus Torvalds Cc: Saravana Kannan , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [GIT PULL] Devicetree fixes for v6.11, part 2 Linus, Please pull a couple of DT fixes for 6.11. Rob The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/robh/linux.git tags/devicetree-fixes-for-6.11-2 for you to fetch changes up to b739dffa5d570b411d4bdf4bb9b8dfd6b7d72305: of/irq: Prevent device address out-of-bounds read in interrupt map walk (2024-08-13 15:17:24 -0600) ---------------------------------------------------------------- Devicetree fixes for v6.11, part 2: - Fix a possible (but unlikely) out-of-bounds read in interrupts parsing code - Add AT25 EEPROM "fujitsu,mb85rs256" compatible - Update Konrad Dybcio's email ---------------------------------------------------------------- Francesco Dolcini (1): dt-bindings: eeprom: at25: add fujitsu,mb85rs256 compatible Konrad Dybcio (1): dt-bindings: Batch-update Konrad Dybcio's email Stefan Wiehler (1): of/irq: Prevent device address out-of-bounds read in interrupt map walk .../devicetree/bindings/clock/qcom,dispcc-sm6350.yaml | 2 +- .../devicetree/bindings/clock/qcom,gcc-msm8994.yaml | 2 +- .../devicetree/bindings/clock/qcom,gcc-sm6125.yaml | 2 +- .../devicetree/bindings/clock/qcom,gcc-sm6350.yaml | 2 +- .../devicetree/bindings/clock/qcom,sm6115-gpucc.yaml | 2 +- .../devicetree/bindings/clock/qcom,sm6125-gpucc.yaml | 2 +- .../devicetree/bindings/clock/qcom,sm6350-camcc.yaml | 2 +- .../devicetree/bindings/clock/qcom,sm6375-dispcc.yaml | 2 +- .../devicetree/bindings/clock/qcom,sm6375-gcc.yaml | 2 +- .../devicetree/bindings/clock/qcom,sm6375-gpucc.yaml | 2 +- .../devicetree/bindings/clock/qcom,sm8350-videocc.yaml | 2 +- .../devicetree/bindings/clock/qcom,sm8450-gpucc.yaml | 2 +- .../devicetree/bindings/display/msm/qcom,sm6375-mdss.yaml | 2 +- .../bindings/display/panel/asus,z00t-tm5p5-nt35596.yaml | 2 +- .../bindings/display/panel/sony,td4353-jdi.yaml | 2 +- Documentation/devicetree/bindings/eeprom/at25.yaml | 1 + .../bindings/interconnect/qcom,sc7280-rpmh.yaml | 2 +- .../bindings/interconnect/qcom,sc8280xp-rpmh.yaml | 2 +- .../bindings/interconnect/qcom,sm8450-rpmh.yaml | 2 +- Documentation/devicetree/bindings/iommu/qcom,iommu.yaml | 2 +- .../devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml | 2 +- .../devicetree/bindings/pinctrl/qcom,sm6350-tlmm.yaml | 2 +- .../devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml | 2 +- .../devicetree/bindings/remoteproc/qcom,rpm-proc.yaml | 2 +- .../bindings/soc/qcom/qcom,rpm-master-stats.yaml | 2 +- drivers/of/irq.c | 15 +++++++++++---- 26 files changed, 36 insertions(+), 28 deletions(-) . Date: Fri, 16 Aug 2024 15:07:25 -0700 From: Stephen Boyd To: Linus Torvalds Cc: Michael Turquette , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] clk fixes for v6.11-rc3 The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-fixes-for-linus for you to fetch changes up to 39a3396558fb97e6e7d4c1eb04c2166da31904a9: clk: thead: fix dependency on clk_ignore_unused (2024-07-31 14:51:47 -0700) ---------------------------------------------------------------- One fix for the new T-Head TH1520 clk driver that marks a bus clk critical so that it isn't turned off during late init which breaks emmc-sdio. ---------------------------------------------------------------- Drew Fustini (1): clk: thead: fix dependency on clk_ignore_unused drivers/clk/thead/clk-th1520-ap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/ https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git . Date: Fri, 16 Aug 2024 23:37:49 +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.11-rc4 Hi Linus, Please pull the arm64 fixes below. Thanks. The following changes since commit cfb00a35786414e7c0e6226b277d9f09657eae74: arm64: jump_label: Ensure patched jump_labels are visible to all CPUs (2024-08-02 15:07:01 +0100) 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 f75c235565f90c4a17b125e47f1c68ef6b8c2bce: arm64: Fix KASAN random tag seed initialization (2024-08-15 11:04:56 +0100) ---------------------------------------------------------------- arm64 fixes: - Fix the arm64 __get_mem_asm() to use the _ASM_EXTABLE_##type##ACCESS() macro instead of the *_ERR() one in order to avoid writing -EFAULT to the value register in case of a fault - Initialise all elements of the acpi_early_node_map[] to NUMA_NO_NODE. Prior to this fix, only the first element was initialised - Move the KASAN random tag seed initialisation after the per-CPU areas have been initialised (prng_state is __percpu) ---------------------------------------------------------------- Haibo Xu (1): arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE Mark Rutland (1): arm64: uaccess: correct thinko in __get_mem_asm() Samuel Holland (1): arm64: Fix KASAN random tag seed initialization arch/arm64/include/asm/uaccess.h | 2 +- arch/arm64/kernel/acpi_numa.c | 2 +- arch/arm64/kernel/setup.c | 3 --- arch/arm64/kernel/smp.c | 2 ++ 4 files changed, 4 insertions(+), 5 deletions(-) -- Catalin . Date: Sat, 17 Aug 2024 00:40:44 +0100 From: Al Viro To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: [git pull] vfs.git memcontrol oops fix The following changes since commit 9a2fa1472083580b6c66bdaf291f591e1170123a: fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE (2024-08-05 19:23:11 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fixes for you to fetch changes up to 046667c4d3196938e992fba0dfcde570aa85cd0e: memcg_write_event_control(): fix a user-triggerable oops (2024-08-12 21:58:44 -0400) ---------------------------------------------------------------- memcg_write_event_control() oops fix ---------------------------------------------------------------- Al Viro (1): memcg_write_event_control(): fix a user-triggerable oops mm/memcontrol-v1.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) . Date: Fri, 16 Aug 2024 21:20:03 -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.11-rc4 Hi Linus, fresh batch of fixes for you. We still have one regression from the disk accounting rewrite outstanding: we have a user reporting that the checks in bch2_accounting_validate() are firing, and in a codepath where that shouldn't be possible. Something funny is going on. Aside from that, everything is looking good for 6.11, and I expect we'll have that one resolved soon. The following changes since commit 8a2491db7bea6ad88ec568731eafd583501f1c96: bcachefs: bcachefs_metadata_version_disk_accounting_v3 (2024-08-09 19:21:28 -0400) are available in the Git repository at: git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-08-16 for you to fetch changes up to 0e49d3ff12501adaafaf6fdb19699f021d1eda1c: bcachefs: Fix locking in __bch2_trans_mark_dev_sb() (2024-08-16 20:45:15 -0400) ---------------------------------------------------------------- bcachefs fixes for 6.11-rc4 - New on disk format version, bcachefs_metadata_version_disk_accounting_inum This adds one more disk accounting counter, which counts disk usage and number of extents per inode number. This lets us track fragmentation, for implementing defragmentation later, and it also counts disk usage per inode in all snapshots, which will be a useful thing to expose to users. - One performance issue we've observed is threads spinning when they should be waiting for dirty keys in the key cache to be flushed by journal reclaim, so we now have hysteresis for the waiting thread, as well as improving the tracepoint and a new time_stat, for tracking time blocked waiting on key cache flushing. And, various assorted smaller fixes. ---------------------------------------------------------------- Kent Overstreet (19): bcachefs: delete faulty fastpath in bch2_btree_path_traverse_cached() bcachefs: Fix bch2_trigger_alloc when upgrading from old versions bcachefs: bch2_accounting_invalid() fixup bcachefs: disk accounting: ignore unknown types bcachefs: Add missing downgrade table entry bcachefs: Convert for_each_btree_node() to lockrestart_do() lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc() bcachefs: Add hysteresis to waiting on btree key cache flush bcachefs: Improve trans_blocked_journal_reclaim tracepoint bcachefs: Add a time_stat for blocked on key cache flush bcachefs: Fix warning in __bch2_fsck_err() for trans not passed in bcachefs: Make bkey_fsck_err() a wrapper around fsck_err() bcachefs: Kill __bch2_accounting_mem_mod() bcachefs: bcachefs_metadata_version_disk_accounting_inum bcachefs: Increase size of cuckoo hash table on too many rehashes bcachefs: Fix forgetting to pass trans to fsck_err() bcachefs: avoid overflowing LRU_TIME_BITS for cached data lru bcachefs: fix incorrect i_state usage bcachefs: Fix locking in __bch2_trans_mark_dev_sb() fs/bcachefs/alloc_background.c | 77 ++++++++-------- fs/bcachefs/alloc_background.h | 30 +++---- fs/bcachefs/backpointers.c | 23 ++--- fs/bcachefs/backpointers.h | 5 +- fs/bcachefs/bcachefs.h | 1 + fs/bcachefs/bcachefs_format.h | 3 +- fs/bcachefs/bkey.h | 7 +- fs/bcachefs/bkey_methods.c | 109 +++++++++++----------- fs/bcachefs/bkey_methods.h | 21 +++-- fs/bcachefs/btree_gc.c | 5 +- fs/bcachefs/btree_io.c | 69 +++++--------- fs/bcachefs/btree_iter.c | 1 + fs/bcachefs/btree_iter.h | 42 +++++---- fs/bcachefs/btree_key_cache.c | 5 -- fs/bcachefs/btree_key_cache.h | 18 +++- fs/bcachefs/btree_node_scan.c | 2 +- fs/bcachefs/btree_trans_commit.c | 82 +++++------------ fs/bcachefs/btree_update_interior.c | 16 +--- fs/bcachefs/buckets.c | 30 +++++-- fs/bcachefs/buckets_waiting_for_journal.c | 11 ++- fs/bcachefs/data_update.c | 6 +- fs/bcachefs/debug.c | 38 ++------ fs/bcachefs/dirent.c | 33 ++++--- fs/bcachefs/dirent.h | 5 +- fs/bcachefs/disk_accounting.c | 34 ++++--- fs/bcachefs/disk_accounting.h | 60 ++++++------- fs/bcachefs/disk_accounting_format.h | 8 +- fs/bcachefs/ec.c | 15 ++-- fs/bcachefs/ec.h | 5 +- fs/bcachefs/errcode.h | 1 + fs/bcachefs/error.c | 22 +++++ fs/bcachefs/error.h | 39 ++++---- fs/bcachefs/extents.c | 144 +++++++++++++++--------------- fs/bcachefs/extents.h | 24 ++--- fs/bcachefs/fs.c | 2 +- fs/bcachefs/inode.c | 77 ++++++++-------- fs/bcachefs/inode.h | 24 ++--- fs/bcachefs/journal_io.c | 24 ++--- fs/bcachefs/lru.c | 9 +- fs/bcachefs/lru.h | 5 +- fs/bcachefs/quota.c | 8 +- fs/bcachefs/quota.h | 5 +- fs/bcachefs/reflink.c | 19 ++-- fs/bcachefs/reflink.h | 22 ++--- fs/bcachefs/sb-downgrade.c | 6 +- fs/bcachefs/snapshot.c | 42 +++++---- fs/bcachefs/snapshot.h | 11 ++- fs/bcachefs/subvolume.c | 16 ++-- fs/bcachefs/subvolume.h | 5 +- fs/bcachefs/trace.c | 1 + fs/bcachefs/trace.h | 27 +++++- fs/bcachefs/xattr.c | 21 +++-- fs/bcachefs/xattr.h | 5 +- lib/generic-radix-tree.c | 2 + 54 files changed, 650 insertions(+), 672 deletions(-) . Date: Sat, 17 Aug 2024 08:27:39 +0100 From: James Bottomley To: Andrew Morton , Linus Torvalds Cc: linux-scsi , linux-kernel Subject: [GIT PULL] SCSI fixes for 6.11-rc3 Two small fixes to the mpi3mr driver. One to avoid oversize allocations in tracing and the other to fix an uninitialized spinlock in the user to driver feature request code (used to trigger dumps and the like). The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Shin'ichiro Kawasaki (2): scsi: mpi3mr: Avoid MAX_PAGE_ORDER WARNING for buffer allocations scsi: mpi3mr: Add missing spin_lock_init() for mrioc->trigger_lock And the diffstat: drivers/scsi/mpi3mr/mpi3mr_app.c | 11 ++++++++--- drivers/scsi/mpi3mr/mpi3mr_os.c | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) With full diff below. James --- diff --git a/drivers/scsi/mpi3mr/mpi3mr_app.c b/drivers/scsi/mpi3mr/mpi3mr_app.c index 8b0eded6ef36..01f035f9330e 100644 --- a/drivers/scsi/mpi3mr/mpi3mr_app.c +++ b/drivers/scsi/mpi3mr/mpi3mr_app.c @@ -100,7 +100,8 @@ void mpi3mr_alloc_diag_bufs(struct mpi3mr_ioc *mrioc) dprint_init(mrioc, "trying to allocate trace diag buffer of size = %dKB\n", trace_size / 1024); - if (mpi3mr_alloc_trace_buffer(mrioc, trace_size)) { + if (get_order(trace_size) > MAX_PAGE_ORDER || + mpi3mr_alloc_trace_buffer(mrioc, trace_size)) { retry = true; trace_size -= trace_dec_size; dprint_init(mrioc, "trace diag buffer allocation failed\n" @@ -118,8 +119,12 @@ void mpi3mr_alloc_diag_bufs(struct mpi3mr_ioc *mrioc) diag_buffer->type = MPI3_DIAG_BUFFER_TYPE_FW; diag_buffer->status = MPI3MR_HDB_BUFSTATUS_NOT_ALLOCATED; if ((mrioc->facts.diag_fw_sz < fw_size) && (fw_size >= fw_min_size)) { - diag_buffer->addr = dma_alloc_coherent(&mrioc->pdev->dev, - fw_size, &diag_buffer->dma_addr, GFP_KERNEL); + if (get_order(fw_size) <= MAX_PAGE_ORDER) { + diag_buffer->addr + = dma_alloc_coherent(&mrioc->pdev->dev, fw_size, + &diag_buffer->dma_addr, + GFP_KERNEL); + } if (!retry) dprint_init(mrioc, "%s:trying to allocate firmware diag buffer of size = %dKB\n", diff --git a/drivers/scsi/mpi3mr/mpi3mr_os.c b/drivers/scsi/mpi3mr/mpi3mr_os.c index ca8f132e03ae..616894571c6a 100644 --- a/drivers/scsi/mpi3mr/mpi3mr_os.c +++ b/drivers/scsi/mpi3mr/mpi3mr_os.c @@ -5234,6 +5234,7 @@ mpi3mr_probe(struct pci_dev *pdev, const struct pci_device_id *id) spin_lock_init(&mrioc->watchdog_lock); spin_lock_init(&mrioc->chain_buf_lock); spin_lock_init(&mrioc->sas_node_lock); + spin_lock_init(&mrioc->trigger_lock); INIT_LIST_HEAD(&mrioc->fwevt_list); INIT_LIST_HEAD(&mrioc->tgtdev_list); . Date: Sat, 17 Aug 2024 21:58:18 +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.11-rc4 --Fqxl5XGXrXGJL2Ev Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git tags/i2c-for-6.11-rc4 for you to fetch changes up to 87cea484951eba1d0342033241f80e49303d802c: Merge tag 'i2c-host-fixes-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux into i2c/for-current (2024-08-16 16:23:51 +0200) ---------------------------------------------------------------- i2c-for-6.11-rc4 I2C core needs to fix a fix from rc3 by replacing IS_ENABLED() with IS_REACHABLE(). For host drivers, there are two fixes in this update: Tegra I2C Controller: Addresses a potential double-locking issue during probe. ACPI devices are not IRQ-safe when invoking runtime suspend and resume functions, so the irq_safe flag should not be set. Qualcomm GENI I2C Controller: Fixes an oversight in the exit path of the runtime_resume() function, which was missed in the previous release. ---------------------------------------------------------------- Andi Shyti (1): i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume Breno Leitao (1): i2c: tegra: Do not mark ACPI devices as irq safe Richard Fitzgerald (1): i2c: Use IS_REACHABLE() for substituting empty ACPI functions Wolfram Sang (1): Merge tag 'i2c-host-fixes-6.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux into i2c/for-current with much appreciated quality assurance from ---------------------------------------------------------------- Andy Shevchenko (1): (Rev.) i2c: tegra: Do not mark ACPI devices as irq safe Dmitry Osipenko (1): (Rev.) i2c: tegra: Do not mark ACPI devices as irq safe Takashi Iwai (1): (Rev.) i2c: Use IS_REACHABLE() for substituting empty ACPI functions drivers/i2c/busses/i2c-qcom-geni.c | 4 +++- drivers/i2c/busses/i2c-tegra.c | 4 ++-- include/linux/i2c.h | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) --Fqxl5XGXrXGJL2Ev Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmbBANoACgkQFA3kzBSg Kba75xAAsdvJUuhdJC5axRPfKSe32Fekh5m+Psby1Rn6zWEecXDj1jXBv1+AFmhq XprjfoURtZd0LuyF5Q9yXxeEYKJl8t6GAvtjbIY8Q89zZki8Z5tkRRqeXOCIV/FL 5wk9i6LO6kHJ7aFp7zqRYQPWcYS+sC5G53ZCU8p7lVhsZiEEASLJ4Cj26X2nIgMA 8p+X4T2noUKF0MWW0lCjU0FpxNSdl6F2oesIyezV6FDhzAWy8hKWoubgTSo5Rq0k FfWaEpo7zo53tSQA7O5OizKubrj2PihvK9xA38o+hswGz6tjA/qfF5fZERpXrZSJ PntFfgO3Xv3mFUqFVnttzpLEK9scd4DdmS19pdS067YLRWEsWHLT/Eh5NyJSrml8 nNF3Pv1Bc1g/5VLkZ49DfB2b4+mdWYWhuS/1wRzWqpCL1hh/8pwqcKfL34hLCEzh PoW5qdrt0O2W1PP/43Qj8GcZ4+YVQkBQhB+y0QZ34ahIkFlMcQciVeEUnTEp7Qhe W4jP3MdNdQI+quflcgAPquhuJuRXwEw8boZUPOkTgTfRdUuk6f0VAn0ma8iqkjLO 4Sq8RVTUHT/ghcKV7V1DW3dXH7PlKEB0uac9gSRxD95l4sqQSk8NIsqVgfuDlr3w Ji2M/DTPIzbENlGvpECHWvcZT6qtASAbPe21cTOELjNspYpvF6U= =kxDV -----END PGP SIGNATURE----- --Fqxl5XGXrXGJL2Ev-- . Date: Sat, 17 Aug 2024 16:52:43 -0500 From: Steve French To: Linus Torvalds Cc: LKML , CIFS Subject: [GIT PULL] smb3 client fixes Please pull the following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/v6.11-rc3-smb3-client-fixes for you to fetch changes up to 5b4f3af39b6588e8de4444d8e1ccf759b40f9414: smb: smb2pdu.h: Use static_assert() to check struct sizes (2024-08-15 16:06:55 -0500) ---------------------------------------------------------------- Three client fixes, including two for stable - fix for clang warning - additional null check - fix for cached write with posix locks - flexible structure fix ---------------------------------------------------------------- Gustavo A. R. Silva (1): smb: smb2pdu.h: Use static_assert() to check struct sizes Steve French (1): smb3: fix lock breakage for cached writes Su Hui (1): smb/client: avoid possible NULL dereference in cifs_free_subrequest() fs/smb/client/file.c | 21 +++++++++++++++------ fs/smb/common/smb2pdu.h | 2 ++ 2 files changed, 17 insertions(+), 6 deletions(-) -- Thanks, Steve . Date: Sun, 18 Aug 2024 10:03:11 +1000 From: Michael Ellerman To: Linus Torvalds Cc: christophe.leroy@csgroup.eu, linux-kernel@vger.kernel.org, linux@treblig.org, linuxppc-dev@lists.ozlabs.org, nysal@linux.ibm.com, Thomas Gleixner Subject: [GIT PULL] Please pull powerpc/linux.git powerpc-6.11-2 tag -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Linus, Please pull some powerpc fixes for 6.11: The following changes since commit de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed: Linux 6.11-rc2 (2024-08-04 13:50:53 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-6.11-2 for you to fetch changes up to 227bbaabe64b6f9cd98aa051454c1d4a194a8c6a: powerpc/topology: Check if a core is online (2024-08-13 10:32:17 +1000) - ------------------------------------------------------------------ powerpc fixes for 6.11 #2 - Fix crashes on 85xx with some configs since the recent hugepd rework. - Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL on some platforms. - Don't enable offline cores when changing SMT modes, to match existing userspace behaviour. Thanks to: Christophe Leroy, Dr. David Alan Gilbert, Guenter Roeck, Nysal Jan K.A, Shrikanth Hegde, Thomas Gleixner, Tyrel Datwyler. - ------------------------------------------------------------------ Christophe Leroy (2): powerpc/mm: Fix size of allocated PGDIR powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL Dr. David Alan Gilbert (1): soc: fsl: qbman: remove unused struct 'cgr_comp' Nysal Jan K.A (2): cpu/SMT: Enable SMT only if a core is online powerpc/topology: Check if a core is online Documentation/ABI/testing/sysfs-devices-system-cpu | 3 ++- arch/powerpc/include/asm/topology.h | 13 +++++++++++++ arch/powerpc/kernel/setup-common.c | 1 + arch/powerpc/mm/init-common.c | 4 ++-- arch/powerpc/mm/mem.c | 2 -- drivers/soc/fsl/qbman/qman.c | 5 ----- kernel/cpu.c | 12 +++++++++++- 7 files changed, 29 insertions(+), 11 deletions(-) -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJFGtCPCthwEv2Y/bUevqPMjhpYAFAmbBOPQACgkQUevqPMjh pYBHbRAAiC+nw/uRkmegLC601p+iVz80/GpzE3MwapPEZG1y38fTbFZBllRl9qsF aZBsM6h8prUbMli00DjZo30nqxQQ0aHQo9Vl5Oo4MAu5Bhk4VwbwA6GkyVtrAjXF aYeTrMsCAKngoHevyFn/7SLSfx8G+y3MK8VOtF3jA0KgW5JDNscBU3tDvt/A4iop b5OUOv04C0CgZ1Hv90VxC2NOtMScqRn9PE9frSTGIO5nI5ZV7ufpjwrYWUBZVuPV LWsR7AmK4hIqrd5wOxhVXyOqsf0swKZtF4/eQ5jA32Yh77cGi7tTuJjqS8vduhNx 9zaODA+EzjpnO/2Vgjf6FyOZeyh5x/DRXsBHzzCpCFdiCI4oYMVfutaCDKCAb1I4 9CRhQ+TXXFAziBkHiFZ+GcQyFxdjtNsnlf0dzm3fhVMYbz1apeLBVOYtuY6npLA0 l9udAlsdaxLrJs5VVT8ot85XKl8Hq2XTfBbtcqAO3TAz0JZJzLjK1V7+x3t5xOck dYLDAl88Y7aOwfK7+eGTbJ9nEKS7jkln5YF6mLfy1tEJaa3j8fNXpiKm0e6s8qAl 1hsQH7FRQYqZ6vxfDuSqC6OTw1yY6UrJGrrEQY9W3d09agcAMMJwOSGvYQ4K32ja uC1k3UgNq5L1HwbfD/I2iN4/9eGbGaTMYAvu8UkRaMnSek7pO60= =2P31 -----END PGP SIGNATURE----- . Date: Sat, 17 Aug 2024 19:49:08 -0700 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.11-rc4 Linus, please merge this batch of hotfixes. Which are a little later in the week than I'd prefer, sorry and thanks. The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2024-08-17-19-34 for you to fetch changes up to 2e6506e1c4eed2676a8412231046f31e10e240da: mm/migrate: fix deadlock in migrate_pages_batch() on large folios (2024-08-15 22:26:02 -0700) ---------------------------------------------------------------- 16 hotfixes. All except one are for MM. 10 of these are cc:stable and the others pertain to post-6.10 issues. As usual with these merges, singletons and doubletons all over the place, no identifiable-by-me theme. Please see the lovingly curated changelogs to get the skinny. ---------------------------------------------------------------- Dan Carpenter (1): selftests/mm: compaction_test: fix off by one in check_compaction() David Hildenbrand (1): mm/hugetlb: fix hugetlb vs. core-mm PT locking Gao Xiang (1): mm/migrate: fix deadlock in migrate_pages_batch() on large folios Hailong Liu (1): mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0 Jinjie Ruan (1): crash: fix riscv64 crash memory reserve dead loop Kirill A. Shutemov (1): mm: fix endless reclaim on machines with unaccepted memory Muhammad Usama Anjum (1): selftests: memfd_secret: don't build memfd_secret test on unsupported arches Pasha Tatashin (3): mm: don't account memmap on failure mm: add system wide stats items category mm: don't account memmap per-node Pedro Falcato (1): mseal: fix is_madv_discard() Suren Baghdasaryan (2): alloc_tag: introduce clear_page_tag_ref() helper function alloc_tag: mark pages reserved during CMA activation as not tagged Waiman Long (1): mm/memory-failure: use raw_spinlock_t in struct memory_failure_cpu Zi Yan (2): mm/numa: no task_numa_fault() call if PTE is changed mm/numa: no task_numa_fault() call if PMD is changed include/linux/hugetlb.h | 33 ++++++++++++++++-- include/linux/mm.h | 11 ++++++ include/linux/mmzone.h | 2 -- include/linux/pgalloc_tag.h | 13 +++++++ include/linux/vmstat.h | 22 +++++------- kernel/crash_reserve.c | 3 +- mm/huge_memory.c | 29 +++++++--------- mm/hugetlb_vmemmap.c | 13 +++---- mm/memory-failure.c | 20 ++++++----- mm/memory.c | 33 +++++++++--------- mm/migrate.c | 16 ++++++--- mm/mm_init.c | 15 +++----- mm/mseal.c | 14 ++++++-- mm/page_alloc.c | 52 +++++++++++----------------- mm/page_ext.c | 18 +++------- mm/sparse-vmemmap.c | 11 +++--- mm/sparse.c | 5 ++- mm/vmalloc.c | 11 ++---- mm/vmstat.c | 52 +++++++++++++--------------- tools/testing/selftests/mm/Makefile | 2 ++ tools/testing/selftests/mm/compaction_test.c | 5 +-- tools/testing/selftests/mm/run_vmtests.sh | 3 ++ 22 files changed, 201 insertions(+), 182 deletions(-) . Date: Sun, 18 Aug 2024 14:43:54 +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.11-rc4, part 2 Hi, a few more fixes. We got reports that shrinker added in 6.10 still causes latency spikes and the fixes don't handle all corner cases. Due to summer holidays we're taking a shortcut to disable it for release builds and will fix it in the near future. Please pull, thanks. - only enable extent map shrinker for DEBUG builds, temporary quick fix to avoid latency spikes for regular builds - update target inode's ctime on unlink, mandated by POSIX - properly take lock to read/update block group's zoned variables - add counted_by() annotations ---------------------------------------------------------------- The following changes since commit 6252690f7e1b173b86a4c27dfc046b351ab423e7: btrfs: fix invalid mapping of extent xarray state (2024-08-13 15:36:57 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.11-rc3-tag for you to fetch changes up to 534f7eff9239c1b0af852fc33f5af2b62c00eddf: btrfs: only enable extent map shrinker for DEBUG builds (2024-08-16 21:22:39 +0200) ---------------------------------------------------------------- Jeff Layton (1): btrfs: update target inode's ctime on unlink Naohiro Aota (1): btrfs: zoned: properly take lock to read/update block group's zoned variables Qu Wenruo (2): btrfs: tree-checker: add dev extent item checks btrfs: only enable extent map shrinker for DEBUG builds Thorsten Blum (1): btrfs: send: annotate struct name_cache_entry with __counted_by() fs/btrfs/free-space-cache.c | 14 +++++---- fs/btrfs/inode.c | 1 + fs/btrfs/send.c | 2 +- fs/btrfs/super.c | 8 +++++- fs/btrfs/tree-checker.c | 69 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 86 insertions(+), 8 deletions(-) . Date: Sun, 18 Aug 2024 17:38:31 +0200 From: Greg KH To: Linus Torvalds Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [GIT PULL] USB / Thunderbolt driver fixes for 6.11-rc4 The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-6.11-rc4 for you to fetch changes up to af8e119f52e9c13e556be9e03f27957554a84656: xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration (2024-08-15 16:29:46 +0200) ---------------------------------------------------------------- USB / Thunderbolt driver fixes for 6.11-rc4 Here are some small USB and Thunderbolt driver fixes for 6.11-rc4 to resolve some reported issues. Included in here are: - thunderbolt driver fixes for reported problems - typec driver fixes - xhci fixes - new device id for ljca usb driver All of these have been in linux-next this week with no reported issues. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Aapo Vienamo (1): thunderbolt: Fix memory leaks in {port|retimer}_sb_regs_write() Greg Kroah-Hartman (1): Merge tag 'thunderbolt-for-v6.11-rc3' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus Hans de Goede (1): usb: misc: ljca: Add Lunar Lake ljca GPIO HID to ljca_gpio_hids[] Heikki Krogerus (1): usb: typec: ucsi: Fix the return value of ucsi_run_command() Marc Zyngier (1): usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup() Mathias Nyman (1): xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration Mika Westerberg (1): thunderbolt: Mark XDomain as unplugged when router is removed Niklas Neronin (1): usb: xhci: fix duplicate stall handling in handle_tx_event() Xu Yang (1): Revert "usb: typec: tcpm: clear pd_event queue in PORT_RESET" drivers/thunderbolt/debugfs.c | 10 ++++++---- drivers/thunderbolt/switch.c | 1 + drivers/usb/host/xhci-mem.c | 2 +- drivers/usb/host/xhci-ring.c | 1 + drivers/usb/host/xhci.c | 8 +++++--- drivers/usb/misc/usb-ljca.c | 1 + drivers/usb/typec/tcpm/tcpm.c | 1 - drivers/usb/typec/ucsi/ucsi.c | 2 +- 8 files changed, 16 insertions(+), 10 deletions(-) . Date: Sun, 18 Aug 2024 17:39:01 +0200 From: Greg KH To: Linus Torvalds Cc: Jiri Slaby , Stephen Rothwell , Andrew Morton , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [GIT PULL] TTY / Serial driver fixes for 6.11-rc4 The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-6.11-rc4 for you to fetch changes up to 0863bffda1131fd2fa9c05b653ad9ee3d8db127e: Revert "serial: 8250_omap: Set the console genpd always on if no console suspend" (2024-08-15 07:22:10 +0200) ---------------------------------------------------------------- TTY/Serial fixes for 6.11-rc4 Here are some small tty and serial driver fixes for 6.11-rc4 to resolve some reported problems. Included in here are: - conmakehash.c userspace build issues - fsl_lpuart driver fix - 8250_omap revert for reported regression - atmel_serial rts flag fix All of these have been in linux-next this week with no reported issues. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Griffin Kroah-Hartman (1): Revert "serial: 8250_omap: Set the console genpd always on if no console suspend" Masahiro Yamada (1): tty: vt: conmakehash: remove non-portable code printing comment header Mathieu Othacehe (1): tty: atmel_serial: use the correct RTS flag. Peng Fan (1): tty: serial: fsl_lpuart: mark last busy before uart_add_one_port drivers/tty/serial/8250/8250_omap.c | 33 +++++---------------------------- drivers/tty/serial/atmel_serial.c | 2 +- drivers/tty/serial/fsl_lpuart.c | 1 + drivers/tty/vt/conmakehash.c | 12 ++---------- 4 files changed, 9 insertions(+), 39 deletions(-) . Date: Sun, 18 Aug 2024 17:39:22 +0200 From: Greg KH To: Linus Torvalds Cc: Andrew Morton , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [GIT PULL] Char/Misc driver fixes for 6.11-rc4 The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-6.11-rc4 for you to fetch changes up to 2374bf7558de915edc6ec8cb10ec3291dfab9594: char: xillybus: Check USB endpoints when probing device (2024-08-16 09:57:56 +0200) ---------------------------------------------------------------- Char/Misc fixes for 6.11-rc4 Here are some small char/misc fixes for 6.11-rc4 to resolve reported problems. Included in here are: - fastrpc revert of a change that broke userspace - xillybus fixes for reported issues Half of these have been in linux-next this week with no reported problems, I don't know if the last bit of xillybus driver changes made it in, but they are "obviously correct" so will be safe :) Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Eli Billauer (3): char: xillybus: Don't destroy workqueue from work item running on it char: xillybus: Refine workqueue handling char: xillybus: Check USB endpoints when probing device Griffin Kroah-Hartman (1): Revert "misc: fastrpc: Restrict untrusted app to attach to privileged PD" drivers/char/xillybus/xillyusb.c | 42 ++++++++++++++++++++++++++++++++-------- drivers/misc/fastrpc.c | 22 +++------------------ include/uapi/misc/fastrpc.h | 3 --- 3 files changed, 37 insertions(+), 30 deletions(-) . Date: Sun, 18 Aug 2024 17:42:08 +0200 From: Greg KH To: Linus Torvalds , Andrew Morton Cc: linux-kernel@vger.kernel.org, Stephen Rothwell , Saravana Kannan Subject: [GIT PULL] Driver core fixes for 6.11-rc4 The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-6.11-rc4 for you to fetch changes up to cdd1fa91a6b8c7cd93b3abf9f3ef05b8ce741b61: mips: sgi-ip22: Fix the build (2024-08-13 11:34:55 +0200) ---------------------------------------------------------------- Driver core fixes for 6.11-rc4 Here are 2 driver fixes for regressions from 6.11-rc1 due to the driver core change making a structure in a driver core callback const. These were missed by all testing EXCEPT for what Bart happened to be running, so I appreciate the fixes provided here for some odd/not-often-used driver subsystems that nothing else happened to catch. Both of these fixes have been in linux-next all week with no reported issues. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Bart Van Assche (2): ARM: riscpc: ecard: Fix the build mips: sgi-ip22: Fix the build arch/arm/mach-rpc/ecard.c | 2 +- arch/mips/sgi-ip22/ip22-gio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) . Date: Mon, 19 Aug 2024 14:35:17 +0200 From: Petr Mladek To: Linus Torvalds Cc: Sergey Senozhatsky , Steven Rostedt , John Ogness , Andy Shevchenko , Rasmus Villemoes , Sebastian Andrzej Siewior , Thomas Gleixner , Jan Kara , Peter Zijlstra , Petr Mladek , linux-kernel@vger.kernel.org, Ryo Takakura Subject: [GIT PULL] printk fixup for 6.11-rc5 Hi Linus, please pull a regression fix for 6.11-rc5 from git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-6.11-rc5 ===================================================== - Do not block printk on non-panic CPUs when they are dumping backtraces. ---------------------------------------------------------------- Ryo Takakura (1): printk/panic: Allow cpu backtraces to be written into ringbuffer during panic include/linux/panic.h | 1 + kernel/panic.c | 8 +++++++- kernel/printk/printk.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) . Date: Mon, 19 Aug 2024 19:57:27 +0200 (CEST) From: Jiri Kosina To: Linus Torvalds Subject: [GIT PULL] HID fixes for 6.11 Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git tags/hid-for-linus-2024081901 to receive HID fixes for 6.11, namely: ===== - memory corruption fixes for hid-cougar (Camila Alvarez) and hid-amd_sfh (Olivier Sobrie) - fix for regression in Wacom driver of twist gesture handling (Jason Gerecke) - two new device IDs for hid-multitouch (Dmitry Savin) and hid-asus (Luke D. Jones) ===== Thanks. ---------------------------------------------------------------- Camila Alvarez (1): HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup Dmitry Savin (1): HID: multitouch: Add support for GT7868Q Jason Gerecke (1): HID: wacom: Defer calculation of resolution until resolution_code is known Luke D. Jones (1): hid-asus: add ROG Ally X prod ID to quirk list Olivier Sobrie (1): HID: amd_sfh: free driver_data after destroying hid device drivers/hid/amd-sfh-hid/amd_sfh_hid.c | 4 +++- drivers/hid/hid-asus.c | 3 +++ drivers/hid/hid-cougar.c | 2 +- drivers/hid/hid-ids.h | 3 +++ drivers/hid/hid-multitouch.c | 33 +++++++++++++++++++++++++++++++++ drivers/hid/wacom_wac.c | 4 +++- 6 files changed, 46 insertions(+), 3 deletions(-) -- Jiri Kosina SUSE Labs .