<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/lib, branch master</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux</title>
<updated>2026-11-20T16:25:33+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-20T16:25:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d0f871bfb831705d9f55479f5b2b40f636ea7b16'/>
<id>d0f871bfb831705d9f55479f5b2b40f636ea7b16</id>
<content type='text'>
Pull arm64 fixes from Catalin Marinas:
 "BBML3 allow-list corrections for Cortex-X4 and Neoverse-V3/V3AE
  following updated errata, a kCFI oops during kexec relocation and NEON
  intrinsics type mismatches causing CRC64 and XOR build failures with
  tip-of-tree Clang:

   - Remove Cortex-X4 and Neoverse-V3/V3AE from the BBML3 allow list

     Updated errata documents show that revisions previously reported as
     fixed remain affected by load/store livelocks when changing mapping
     sizes without break-before-make

   - Fix a kCFI oops during kexec image relocation. Give the relocation
     routine a type hash and enter the copied code at the correct offset

   - Fix the build with recent Clang versions by removing the stdint.h
     type overrides for NEON intrinsics. The CRC64 and XOR intrinsics
     code no longer includes the kernel's type header"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: Drop stdint.h type overrides from asm/neon-intrinsics.h
  xor: arm/arm64: Move NEON xor_gen() dispatch into the glue code
  lib/crc: Don't include &lt;linux/types.h&gt; in NEON intrinsics code
  arm64: kexec: use a typed entry to fix kCFI oops
  arm64: cpufeature: Remove Cortex-X4 from the BBML3 allow list
  arm64: cpufeature: Remove Neoverse-V3/AE from the BBML3 allow list
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull arm64 fixes from Catalin Marinas:
 "BBML3 allow-list corrections for Cortex-X4 and Neoverse-V3/V3AE
  following updated errata, a kCFI oops during kexec relocation and NEON
  intrinsics type mismatches causing CRC64 and XOR build failures with
  tip-of-tree Clang:

   - Remove Cortex-X4 and Neoverse-V3/V3AE from the BBML3 allow list

     Updated errata documents show that revisions previously reported as
     fixed remain affected by load/store livelocks when changing mapping
     sizes without break-before-make

   - Fix a kCFI oops during kexec image relocation. Give the relocation
     routine a type hash and enter the copied code at the correct offset

   - Fix the build with recent Clang versions by removing the stdint.h
     type overrides for NEON intrinsics. The CRC64 and XOR intrinsics
     code no longer includes the kernel's type header"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: Drop stdint.h type overrides from asm/neon-intrinsics.h
  xor: arm/arm64: Move NEON xor_gen() dispatch into the glue code
  lib/crc: Don't include &lt;linux/types.h&gt; in NEON intrinsics code
  arm64: kexec: use a typed entry to fix kCFI oops
  arm64: cpufeature: Remove Cortex-X4 from the BBML3 allow list
  arm64: cpufeature: Remove Neoverse-V3/AE from the BBML3 allow list
</pre>
</div>
</content>
</entry>
<entry>
<title>xor: arm/arm64: Move NEON xor_gen() dispatch into the glue code</title>
<updated>2026-11-19T00:10:15+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ardb@kernel.org</email>
</author>
<published>2026-10-29T13:50:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=14e3460321430a3f9ed2260f3c6198bdeaba5792'/>
<id>14e3460321430a3f9ed2260f3c6198bdeaba5792</id>
<content type='text'>
The NEON intrinsics code in xor-neon.c and arm64/xor-eor3.c includes xor_impl.h
for the definition of __DO_XOR_BLOCKS(), which pulls in &lt;linux/types.h&gt; via
&lt;linux/init.h&gt; and &lt;linux/minmax.h&gt;. This only works because
asm/neon-intrinsics.h overrides the compiler's predefined macros that
&lt;stdint.h&gt; uses to define the C99 types, so that they match the kernel's
definitions in &lt;linux/types.h&gt;.

So instead, follow the approach taken by LoongArch, and instantiate the
dispatch routines using DO_XOR_BLOCKS() in the glue code, which already
includes the kernel headers, and does not use NEON intrinsics itself.  This
requires the NEON routines that handle a fixed number of sources to be exposed
to the glue code, which means that the arm64 glue code can use __xor_neon_2()
directly for the EOR3 flavor as well, and so the __xor_eor3_2() alias can be
dropped.

This makes the NEON intrinsics code independent of the kernel's own headers,
which will allow the macro overrides in asm/neon-intrinsics.h to be removed.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Tested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Reviewed-by: Eric Biggers &lt;ebiggers@kernel.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The NEON intrinsics code in xor-neon.c and arm64/xor-eor3.c includes xor_impl.h
for the definition of __DO_XOR_BLOCKS(), which pulls in &lt;linux/types.h&gt; via
&lt;linux/init.h&gt; and &lt;linux/minmax.h&gt;. This only works because
asm/neon-intrinsics.h overrides the compiler's predefined macros that
&lt;stdint.h&gt; uses to define the C99 types, so that they match the kernel's
definitions in &lt;linux/types.h&gt;.

So instead, follow the approach taken by LoongArch, and instantiate the
dispatch routines using DO_XOR_BLOCKS() in the glue code, which already
includes the kernel headers, and does not use NEON intrinsics itself.  This
requires the NEON routines that handle a fixed number of sources to be exposed
to the glue code, which means that the arm64 glue code can use __xor_neon_2()
directly for the EOR3 flavor as well, and so the __xor_eor3_2() alias can be
dropped.

This makes the NEON intrinsics code independent of the kernel's own headers,
which will allow the macro overrides in asm/neon-intrinsics.h to be removed.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Tested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Reviewed-by: Eric Biggers &lt;ebiggers@kernel.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/crc: Don't include &lt;linux/types.h&gt; in NEON intrinsics code</title>
<updated>2026-11-19T00:10:14+00:00</updated>
<author>
<name>Ard Biesheuvel</name>
<email>ardb@kernel.org</email>
</author>
<published>2026-10-29T13:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ff049836f05f5e46f702858a7cb949998e85a310'/>
<id>ff049836f05f5e46f702858a7cb949998e85a310</id>
<content type='text'>
The kernel's definitions of uint64_t and int64_t in &lt;linux/types.h&gt; are based
on [unsigned] long long, whereas the ones provided by &lt;stdint.h&gt;, which is
included by &lt;arm_neon.h&gt;, are based on [unsigned] long on arm64. On 32-bit ARM,
a similar mismatch exists for intptr_t.

Including both into the same compilation unit currently only works because
asm/neon-intrinsics.h overrides the predefined macros that the compiler's
freestanding &lt;stdint.h&gt; uses to define these types. In order to be able to get
rid of those overrides, stop including &lt;linux/types.h&gt; into the CRC64 NEON
intrinsics code.

Instead, use &lt;stddef.h&gt; for the definition of size_t, and rely on
&lt;asm/neon-intrinsics.h&gt; to provide the u8 and u64 types used in the prototype
of crc64_nvme_neon(), which is shared with code that does include
&lt;linux/types.h&gt;. Use uint64_t for the arrays of constants that are passed to
vld1q_u64(), so that they match its prototype regardless of how uint64_t is
defined.

No change in generated code.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Tested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Reviewed-by: Eric Biggers &lt;ebiggers@kernel.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The kernel's definitions of uint64_t and int64_t in &lt;linux/types.h&gt; are based
on [unsigned] long long, whereas the ones provided by &lt;stdint.h&gt;, which is
included by &lt;arm_neon.h&gt;, are based on [unsigned] long on arm64. On 32-bit ARM,
a similar mismatch exists for intptr_t.

Including both into the same compilation unit currently only works because
asm/neon-intrinsics.h overrides the predefined macros that the compiler's
freestanding &lt;stdint.h&gt; uses to define these types. In order to be able to get
rid of those overrides, stop including &lt;linux/types.h&gt; into the CRC64 NEON
intrinsics code.

Instead, use &lt;stddef.h&gt; for the definition of size_t, and rely on
&lt;asm/neon-intrinsics.h&gt; to provide the u8 and u64 types used in the prototype
of crc64_nvme_neon(), which is shared with code that does include
&lt;linux/types.h&gt;. Use uint64_t for the arrays of constants that are passed to
vld1q_u64(), so that they match its prototype regardless of how uint64_t is
defined.

No change in generated code.

Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Tested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Reviewed-by: Eric Biggers &lt;ebiggers@kernel.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'mm-nonmm-hotfixes-stable-2026-11-18-00-06' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm</title>
<updated>2026-11-18T17:51:04+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-18T17:51:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4405c18c95d2d0f99f6c581ef0ee8591a1aa6ccd'/>
<id>4405c18c95d2d0f99f6c581ef0ee8591a1aa6ccd</id>
<content type='text'>
Pull non-MM updates from Andrew Morton:

 - "get_maintainer: stop sending every patch to LKML" (Konstantin
   Ryabitsev):

   Make THE REST a fallback when no usable subsystem list matches and
   update the submission guide. This avoids routine copies to LKML while
   retaining a mailing list for otherwise unmatched patches.

 - On local OCFS2 mounts, a failed shared mmap write fault now delivers
   SIGBUS instead of hitting BUG_ON(). Journal shutdown is serialized
   with inode cleanup, and checkpoint waiters no longer use a queue
   embedded in the journal being freed.

 - Queued dlmfs lock work now keeps the superblock active through its
   final iput(), avoiding a use-after-free during unmount. The OCFS2
   locking_state debugfs iterator follows its live cursor instead of
   list links copied from a lock resource which may have been freed
   during a read-only remount.

 - Fault-injection boot parameters no longer call code which allocates
   memory and schedules work before slab and workqueues are initialized,
   fixing a boot failure.

* tag 'mm-nonmm-hotfixes-stable-2026-11-18-00-06' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
  MAINTAINERS: DRM DRIVERS AND MISC GPU PATCHES
  MAINTAINERS: update Andrea Cervesato's email for LTP
  mailmap: update email address for Sai Teja Aluvala
  mailmap: add an alias for Alex Elder
  mailmap: update entry for Guodong Xu
  mailmap: add entries for Ridong Chen
  mailmap: add Wang Yibo's work email address
  mailmap: add entry for Beat M. Liechti
  mailmap: update email address for Naman Jain
  mailmap: add entries for Luiz Capitulino
  mailmap: add entries for Miaoqing Pan
  mailmap: update Mika Westerberg's email address
  mailmap: update email address for Bradley Morgan
  docs: submitting-patches: make LKML a list of last resort again
  get_maintainer: only use THE REST as a fallback
  ocfs2: fix kernel BUG in ocfs2_page_mkwrite() when write_end fails
  fault-inject: fix boot failure with fault injection boot parameters
  ocfs2: advance locking_state through the live cursor
  ocfs2/dlmfs: keep the superblock alive during lock work
  ocfs2: serialize inode journal access with shutdown
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull non-MM updates from Andrew Morton:

 - "get_maintainer: stop sending every patch to LKML" (Konstantin
   Ryabitsev):

   Make THE REST a fallback when no usable subsystem list matches and
   update the submission guide. This avoids routine copies to LKML while
   retaining a mailing list for otherwise unmatched patches.

 - On local OCFS2 mounts, a failed shared mmap write fault now delivers
   SIGBUS instead of hitting BUG_ON(). Journal shutdown is serialized
   with inode cleanup, and checkpoint waiters no longer use a queue
   embedded in the journal being freed.

 - Queued dlmfs lock work now keeps the superblock active through its
   final iput(), avoiding a use-after-free during unmount. The OCFS2
   locking_state debugfs iterator follows its live cursor instead of
   list links copied from a lock resource which may have been freed
   during a read-only remount.

 - Fault-injection boot parameters no longer call code which allocates
   memory and schedules work before slab and workqueues are initialized,
   fixing a boot failure.

* tag 'mm-nonmm-hotfixes-stable-2026-11-18-00-06' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
  MAINTAINERS: DRM DRIVERS AND MISC GPU PATCHES
  MAINTAINERS: update Andrea Cervesato's email for LTP
  mailmap: update email address for Sai Teja Aluvala
  mailmap: add an alias for Alex Elder
  mailmap: update entry for Guodong Xu
  mailmap: add entries for Ridong Chen
  mailmap: add Wang Yibo's work email address
  mailmap: add entry for Beat M. Liechti
  mailmap: update email address for Naman Jain
  mailmap: add entries for Luiz Capitulino
  mailmap: add entries for Miaoqing Pan
  mailmap: update Mika Westerberg's email address
  mailmap: update email address for Bradley Morgan
  docs: submitting-patches: make LKML a list of last resort again
  get_maintainer: only use THE REST as a fallback
  ocfs2: fix kernel BUG in ocfs2_page_mkwrite() when write_end fails
  fault-inject: fix boot failure with fault injection boot parameters
  ocfs2: advance locking_state through the live cursor
  ocfs2/dlmfs: keep the superblock alive during lock work
  ocfs2: serialize inode journal access with shutdown
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'mm-hotfixes-stable-2026-11-17-19-55' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm</title>
<updated>2026-11-18T17:01:16+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-18T17:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d866d5bafc5e1417032255002e95f8ec3121754b'/>
<id>d866d5bafc5e1417032255002e95f8ec3121754b</id>
<content type='text'>
Pull MM fixes from Andrew Morton:

 - "maple_tree fixes for 7.3" (Liam R. Howlett):

   Fix an RCU reader NULL dereference when the tree is emptied during a
   walk, including /proc/PID/maps racing with munmap(). Add tests and
   make debug WARN and BUG checks report failures properly

 - "mm/kasan: Detect double-free involving kfree_rcu_sheaf()" (Kuniyuki
   Iwashima):

   Detect double-free when an object enters an RCU sheaf. KASAN could
   previously miss it until the object was reused, leading to a later
   free of a live object. Add KUnit tests for the different free orders

 - "mm: Fix page-table teardown during memory hot-remove" (Muchun Song):

   Balance page-table constructors and destructors when hot-remove frees
   tables on x86-64, RISC-V and arm64. This fixes NR_PAGETABLE
   accounting for tables with and without constructors

 - "mm/damon: fix watermark state, kunit pid leak and selftest fake
   pass" (SJ Park):

   Recompute watermark wait state when DAMON schemes are removed, so
   kdamond resumes monitoring. Fix a pid reference leak in KUnit and a
   selftest that reports a skipped run as a pass

 - An XArray iterator could step backwards when a large page-cache entry
   was split, sending filemap_map_pages() outside the PTE page it
   locked. The XArray correction and a filemap bound check prevent
   out-of-bounds accesses and use-after-free. Another XArray fix
   prevents lockless walkers from following a parent pointer into a
   freed node

 - Userfaultfd now validates the whole write-protection range before
   changing any VMA, avoiding partial unprotect without waking blocked
   faults. Failed unmaps now abort queued UFFD_EVENT_UNMAPs; previously
   they could report a nonexistent unmap, leak the userfaultfd context
   and leave later operations returning -EAGAIN. A fork fix clears stale
   uffd PTE bits if the new context is released before its event is
   read

 - Moving the hugetlbfs inode trace event before RCU freeing avoids a
   use-after-free of its superblock. Shmem swapin no longer retries
   forever on reused swap slots containing a mismatched large swap-cache
   folio. Swapoff also avoids a cluster-list loop that can soft-lock
   reclaim and leave swapoff hung

 - Weighted interleave recalculation now uses one node set throughout,
   avoiding a divide-by-zero during memory hotplug. Hwpoison holds the
   folio lock when inspecting its mapping and no longer leaks a folio
   reference; it also updates poison statistics before notifying
   rasdaemon through a trace event

 - Cross-node migration now moves NR_FILE_THPS and NR_KERNEL_FILE_PAGES
   with page-cache folios, preventing per-node and memcg-node accounting
   from retaining stale counts or underflowing after the folios are
   freed

* tag 'mm-hotfixes-stable-2026-11-17-19-55' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (27 commits)
  xarray: fix index jumping backwards in xas_find()
  userfaultfd: validate the whole range before changing write protection
  maple_tree: update internal warning and bug_on code
  maple_tree: test emptying tree while RCU reading
  maple_tree: fix rcu reader NULL dereference after the tree is emptied
  mm/vma: read anon_vma carefully in validate_mm()
  hugetlbfs: move hugetlbfs_free_inode tracepoint to -&gt;destroy_inode()
  selftests/damon/sysfs_memcg_path_leak: define ksft_skip
  mm/damon/tests/sysfs-kunit: fix leaked pid reference in add_targets test
  mm/damon/core: reset watermark wait state on each iteration
  mm/filemap: stop fault-around when the walk steps back
  mm: memory-failure: update statistics before emitting the trace event
  mm/vma: undo userfaultfd unmap preparation when unmapping fails
  userfaultfd: clear uffd state in child PTEs if uffd is released during fork
  mm/memory-failure: fix folio refcount leak and min_order_for_split() locking
  mm/shmem: fix swapin livelock on a mismatched large swap cache folio
  mm/mempolicy: use one node set for interleave weights
  xarray: clear the new head's parent before freeing the old head
  arm64/mm: fix destructor for unconstructed hotplug page tables
  riscv/mm: fix missing destructor for hotplug PUD tables
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull MM fixes from Andrew Morton:

 - "maple_tree fixes for 7.3" (Liam R. Howlett):

   Fix an RCU reader NULL dereference when the tree is emptied during a
   walk, including /proc/PID/maps racing with munmap(). Add tests and
   make debug WARN and BUG checks report failures properly

 - "mm/kasan: Detect double-free involving kfree_rcu_sheaf()" (Kuniyuki
   Iwashima):

   Detect double-free when an object enters an RCU sheaf. KASAN could
   previously miss it until the object was reused, leading to a later
   free of a live object. Add KUnit tests for the different free orders

 - "mm: Fix page-table teardown during memory hot-remove" (Muchun Song):

   Balance page-table constructors and destructors when hot-remove frees
   tables on x86-64, RISC-V and arm64. This fixes NR_PAGETABLE
   accounting for tables with and without constructors

 - "mm/damon: fix watermark state, kunit pid leak and selftest fake
   pass" (SJ Park):

   Recompute watermark wait state when DAMON schemes are removed, so
   kdamond resumes monitoring. Fix a pid reference leak in KUnit and a
   selftest that reports a skipped run as a pass

 - An XArray iterator could step backwards when a large page-cache entry
   was split, sending filemap_map_pages() outside the PTE page it
   locked. The XArray correction and a filemap bound check prevent
   out-of-bounds accesses and use-after-free. Another XArray fix
   prevents lockless walkers from following a parent pointer into a
   freed node

 - Userfaultfd now validates the whole write-protection range before
   changing any VMA, avoiding partial unprotect without waking blocked
   faults. Failed unmaps now abort queued UFFD_EVENT_UNMAPs; previously
   they could report a nonexistent unmap, leak the userfaultfd context
   and leave later operations returning -EAGAIN. A fork fix clears stale
   uffd PTE bits if the new context is released before its event is
   read

 - Moving the hugetlbfs inode trace event before RCU freeing avoids a
   use-after-free of its superblock. Shmem swapin no longer retries
   forever on reused swap slots containing a mismatched large swap-cache
   folio. Swapoff also avoids a cluster-list loop that can soft-lock
   reclaim and leave swapoff hung

 - Weighted interleave recalculation now uses one node set throughout,
   avoiding a divide-by-zero during memory hotplug. Hwpoison holds the
   folio lock when inspecting its mapping and no longer leaks a folio
   reference; it also updates poison statistics before notifying
   rasdaemon through a trace event

 - Cross-node migration now moves NR_FILE_THPS and NR_KERNEL_FILE_PAGES
   with page-cache folios, preventing per-node and memcg-node accounting
   from retaining stale counts or underflowing after the folios are
   freed

* tag 'mm-hotfixes-stable-2026-11-17-19-55' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (27 commits)
  xarray: fix index jumping backwards in xas_find()
  userfaultfd: validate the whole range before changing write protection
  maple_tree: update internal warning and bug_on code
  maple_tree: test emptying tree while RCU reading
  maple_tree: fix rcu reader NULL dereference after the tree is emptied
  mm/vma: read anon_vma carefully in validate_mm()
  hugetlbfs: move hugetlbfs_free_inode tracepoint to -&gt;destroy_inode()
  selftests/damon/sysfs_memcg_path_leak: define ksft_skip
  mm/damon/tests/sysfs-kunit: fix leaked pid reference in add_targets test
  mm/damon/core: reset watermark wait state on each iteration
  mm/filemap: stop fault-around when the walk steps back
  mm: memory-failure: update statistics before emitting the trace event
  mm/vma: undo userfaultfd unmap preparation when unmapping fails
  userfaultfd: clear uffd state in child PTEs if uffd is released during fork
  mm/memory-failure: fix folio refcount leak and min_order_for_split() locking
  mm/shmem: fix swapin livelock on a mismatched large swap cache folio
  mm/mempolicy: use one node set for interleave weights
  xarray: clear the new head's parent before freeing the old head
  arm64/mm: fix destructor for unconstructed hotplug page tables
  riscv/mm: fix missing destructor for hotplug PUD tables
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>fault-inject: fix boot failure with fault injection boot parameters</title>
<updated>2026-11-18T05:40:01+00:00</updated>
<author>
<name>Sang-Heon Jeon</name>
<email>ekffu200098@gmail.com</email>
</author>
<published>2026-11-05T16:01:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=27538caf7f72ce93be9c352148dba4f2274cf300'/>
<id>27538caf7f72ce93be9c352148dba4f2274cf300</id>
<content type='text'>
Since commit e9bc360b105c ("fault-inject: use prandom where
cryptographically secure randomness is not needed"), setup_fault_attr()
calls prandom_init_once(), which calls kmalloc() and schedule_work().

But setup_fault_attr() can be called from __setup handlers before slab and
workqueues are initialized, so any fault injection boot parameter leads to
boot failure.

So use DO_ONCE_LITE() instead.

Link: https://lore.kernel.org/20261105160209.1504867-1-ekffu200098@gmail.com
Fixes: e9bc360b105c ("fault-inject: use prandom where cryptographically secure randomness is not needed")
Signed-off-by: Sang-Heon Jeon &lt;ekffu200098@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Reviewed-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;

 lib/fault-inject.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit e9bc360b105c ("fault-inject: use prandom where
cryptographically secure randomness is not needed"), setup_fault_attr()
calls prandom_init_once(), which calls kmalloc() and schedule_work().

But setup_fault_attr() can be called from __setup handlers before slab and
workqueues are initialized, so any fault injection boot parameter leads to
boot failure.

So use DO_ONCE_LITE() instead.

Link: https://lore.kernel.org/20261105160209.1504867-1-ekffu200098@gmail.com
Fixes: e9bc360b105c ("fault-inject: use prandom where cryptographically secure randomness is not needed")
Signed-off-by: Sang-Heon Jeon &lt;ekffu200098@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Reviewed-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;

 lib/fault-inject.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'assoc-array-fixes-v2'</title>
<updated>2026-11-16T17:35:38+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-16T17:35:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=666539eecdf4db623f5e3c3e55cf9f2dfad24aa4'/>
<id>666539eecdf4db623f5e3c3e55cf9f2dfad24aa4</id>
<content type='text'>
Clean up assoc_array library code

I had already gotten rid of this tag locally, because we then decided
to just remove the assoc_array library entirely since it has only one
single user - the key handling code - and that user is getting rewritten
to use rhashtable instead.

But that removal is scheduled for 7.5, and this fixes real bugs and does
clean up some of the code.  So while it's all slated for removal, some
of the fixes need back-porting and we might as well remove the
cleaned-up version.  Maybe somebody decides they want to resurrect it
for another project - it really is fairly generic library code - they
shouldn't get the messy end state that we decided to jettison.

Background: Nils Ollrogge reported a bug in the assoc_array library and
had a patch to fix it too, but that code was too obscure for me to
follow, so I used some LLM tools to help make sense of it all and found
more issues in the process.

* tag 'assoc-array-fixes-v2':
  assoc_array: use assoc_array_parent_link() when splitting a shortcut
  assoc_array: find and collapse in deletion without gotos
  assoc_array: move deletion's collapse into a function of its own
  assoc_array: replace the labels in gc's tree walk with a loop
  assoc_array: move gc's folding into a function of its own
  assoc_array: keep gc's cleanup out of the live tree on allocation failure
  assoc_array: don't chain a new shortcut onto an existing one
  assoc_array: choose between splitting a node and a shortcut without gotos
  assoc_array: move shortcut creation into a function of its own
  assoc_array: move node splitting into a function of its own
  assoc_array: fill the segment cache in one place
  assoc_array: move in-place insertion into a function of its own
  assoc_array: don't lose objects when a root shortcut is split at level 4
  assoc_array: don't lose objects when a shortcut is split on a word boundary
  assoc_array: correct the documentation of get_key_chunk()'s level argument
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clean up assoc_array library code

I had already gotten rid of this tag locally, because we then decided
to just remove the assoc_array library entirely since it has only one
single user - the key handling code - and that user is getting rewritten
to use rhashtable instead.

But that removal is scheduled for 7.5, and this fixes real bugs and does
clean up some of the code.  So while it's all slated for removal, some
of the fixes need back-porting and we might as well remove the
cleaned-up version.  Maybe somebody decides they want to resurrect it
for another project - it really is fairly generic library code - they
shouldn't get the messy end state that we decided to jettison.

Background: Nils Ollrogge reported a bug in the assoc_array library and
had a patch to fix it too, but that code was too obscure for me to
follow, so I used some LLM tools to help make sense of it all and found
more issues in the process.

* tag 'assoc-array-fixes-v2':
  assoc_array: use assoc_array_parent_link() when splitting a shortcut
  assoc_array: find and collapse in deletion without gotos
  assoc_array: move deletion's collapse into a function of its own
  assoc_array: replace the labels in gc's tree walk with a loop
  assoc_array: move gc's folding into a function of its own
  assoc_array: keep gc's cleanup out of the live tree on allocation failure
  assoc_array: don't chain a new shortcut onto an existing one
  assoc_array: choose between splitting a node and a shortcut without gotos
  assoc_array: move shortcut creation into a function of its own
  assoc_array: move node splitting into a function of its own
  assoc_array: fill the segment cache in one place
  assoc_array: move in-place insertion into a function of its own
  assoc_array: don't lose objects when a root shortcut is split at level 4
  assoc_array: don't lose objects when a shortcut is split on a word boundary
  assoc_array: correct the documentation of get_key_chunk()'s level argument
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'timers-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
<updated>2026-11-15T17:09:04+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-15T17:09:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0feaf5349e0a0521de3406343df32954801784d9'/>
<id>0feaf5349e0a0521de3406343df32954801784d9</id>
<content type='text'>
Pull timer fixes from Ingo Molnar::

 - Add VDSO_UNALIGNED_PACKED config option for targets without efficient
   unaligned memory accesses (such as ARMv5), and turn it on for
   !CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS platforms.

   Propagate these changes into tooling headers as well (Ian Rogers)

 - Read getboottime64() offsets under the tk_core.seq sequence counter
   (Hungyu Lin)

 - Keep tsacct task begin times stable across suspend (Hungyu Lin)

 - Reject cross timestamps for invalid AUX clocks (Avi Weiss)

 - Refresh auxiliary timekeeper base before offset validation (Avi
   Weiss)

* tag 'timers-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  timekeeping: Refresh auxiliary base before offset validation
  timekeeping: Reject cross timestamps for invalid AUX clocks
  tsacct: Keep task begin times stable across suspend
  timekeeping: Read getboottime64() offsets under the sequence counter
  tools headers: Update the vdso/unaligned.h copy with the kernel sources
  vdso: Add VDSO_UNALIGNED_PACKED config option
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull timer fixes from Ingo Molnar::

 - Add VDSO_UNALIGNED_PACKED config option for targets without efficient
   unaligned memory accesses (such as ARMv5), and turn it on for
   !CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS platforms.

   Propagate these changes into tooling headers as well (Ian Rogers)

 - Read getboottime64() offsets under the tk_core.seq sequence counter
   (Hungyu Lin)

 - Keep tsacct task begin times stable across suspend (Hungyu Lin)

 - Reject cross timestamps for invalid AUX clocks (Avi Weiss)

 - Refresh auxiliary timekeeper base before offset validation (Avi
   Weiss)

* tag 'timers-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  timekeeping: Refresh auxiliary base before offset validation
  timekeeping: Reject cross timestamps for invalid AUX clocks
  tsacct: Keep task begin times stable across suspend
  timekeeping: Read getboottime64() offsets under the sequence counter
  tools headers: Update the vdso/unaligned.h copy with the kernel sources
  vdso: Add VDSO_UNALIGNED_PACKED config option
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'bootconfig-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace</title>
<updated>2026-11-15T16:28:08+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-15T16:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=442fbdb90e120c39bc0b27ffdcc6d7733472ddb9'/>
<id>442fbdb90e120c39bc0b27ffdcc6d7733472ddb9</id>
<content type='text'>
Pull bootconfig fixes from Masami Hiramatsu:

 - bootconfig: Allow keys with the maximum supported depth

   Check the array capacity before storing the next key component in
   xbc_node_compose_key_after() so keys at XBC_DEPTH_MAX (16) are
   composed instead of failing with -ERANGE when listing keys or
   creating /proc/bootconfig.

 - bootconfig: Trim unquoted values at end of file

   Trim trailing whitespace from unquoted values in __xbc_parse_value()
   after scanning finishes so values at end of input without a trailing
   newline do not retain extra whitespace.

 - tools/bootconfig: Close only opened braces in compact output

   Check key children while skipping value nodes when backtracking in
   xbc_show_compact_tree() so a brace is not closed when a single subkey
   under a valued key was printed in dotted notation.

 - tools/bootconfig: Test listing keys at the maximum depth

   Add regression tests verifying that a 16-component key can be
   attached and listed in full while a 17-component key is rejected.

* tag 'bootconfig-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  bootconfig: Trim unquoted values at end of file
  tools/bootconfig: Close only opened braces in compact output
  tools/bootconfig: Test listing keys at the maximum depth
  bootconfig: Allow keys with the maximum supported depth
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull bootconfig fixes from Masami Hiramatsu:

 - bootconfig: Allow keys with the maximum supported depth

   Check the array capacity before storing the next key component in
   xbc_node_compose_key_after() so keys at XBC_DEPTH_MAX (16) are
   composed instead of failing with -ERANGE when listing keys or
   creating /proc/bootconfig.

 - bootconfig: Trim unquoted values at end of file

   Trim trailing whitespace from unquoted values in __xbc_parse_value()
   after scanning finishes so values at end of input without a trailing
   newline do not retain extra whitespace.

 - tools/bootconfig: Close only opened braces in compact output

   Check key children while skipping value nodes when backtracking in
   xbc_show_compact_tree() so a brace is not closed when a single subkey
   under a valued key was printed in dotted notation.

 - tools/bootconfig: Test listing keys at the maximum depth

   Add regression tests verifying that a 16-component key can be
   attached and listed in full while a 17-component key is rejected.

* tag 'bootconfig-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  bootconfig: Trim unquoted values at end of file
  tools/bootconfig: Close only opened braces in compact output
  tools/bootconfig: Test listing keys at the maximum depth
  bootconfig: Allow keys with the maximum supported depth
</pre>
</div>
</content>
</entry>
<entry>
<title>bootconfig: Trim unquoted values at end of file</title>
<updated>2026-11-13T05:15:27+00:00</updated>
<author>
<name>Eduardo Mucelli Rezende Oliveira</name>
<email>edumucelli@gmail.com</email>
</author>
<published>2026-11-10T19:08:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=381b391bfaa3f10d52da4740529804b0b6b8160d'/>
<id>381b391bfaa3f10d52da4740529804b0b6b8160d</id>
<content type='text'>
__xbc_parse_value() trims an unquoted value when it encounters a
delimiter, but leaves trailing whitespace intact when it reaches the end
of the input. Thus "key = value   " has a different value depending on
whether the file ends with a newline. The extra whitespace also reaches
the rendered kernel command line.

Trim unquoted values after the scan finishes, including at end of input.
Skip trimming after a closing quote so intentional whitespace in quoted
values remains unchanged. Add checks for scalars, arrays and quoted
values without a final newline.

Link: https://lore.kernel.org/all/31f248f330e716b925add3a0ba76f62826527312.1794337724.git.edumucelli@gmail.com/

Fixes: 76db5a27a827 ("bootconfig: Add Extra Boot Config support")
Cc: stable@vger.kernel.org
Signed-off-by: Eduardo Mucelli Rezende Oliveira &lt;edumucelli@gmail.com&gt;
Signed-off-by: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__xbc_parse_value() trims an unquoted value when it encounters a
delimiter, but leaves trailing whitespace intact when it reaches the end
of the input. Thus "key = value   " has a different value depending on
whether the file ends with a newline. The extra whitespace also reaches
the rendered kernel command line.

Trim unquoted values after the scan finishes, including at end of input.
Skip trimming after a closing quote so intentional whitespace in quoted
values remains unchanged. Add checks for scalars, arrays and quoted
values without a final newline.

Link: https://lore.kernel.org/all/31f248f330e716b925add3a0ba76f62826527312.1794337724.git.edumucelli@gmail.com/

Fixes: 76db5a27a827 ("bootconfig: Add Extra Boot Config support")
Cc: stable@vger.kernel.org
Signed-off-by: Eduardo Mucelli Rezende Oliveira &lt;edumucelli@gmail.com&gt;
Signed-off-by: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
