Linux/linux 2a500a0 — Documentation/admin-guide tainted-kernels.rst, drivers/base core.c

Merge tag 'driver-core-7.4-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core

Pull more driver core fixes from Danilo Krummrich:

 - Revert TAINT_FORCED_BIND, introduced to flag manual sysfs bind/unbind
   operations associated with misleading fuzzing reports. It also taints
   established workflows, including VFIO device passthrough; a more
   targeted approach will be revisited after 7.4.

 - Rate limit synthetic uevent failure messages to prevent log flooding
   from repeated invalid writes to sysfs uevent files

* tag 'driver-core-7.4-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core:
  Revert "driver core: add TAINT_FORCED_BIND for when userspace manually messes with devices and drivers"
  driver core: Limit the messages on a refused uevent
DeltaFile
+25-29Documentation/admin-guide/tainted-kernels.rst
+0-8tools/debugging/kernel-chktaint
+3-3lib/kobject_uevent.c
+2-3kernel/panic.c
+3-1drivers/base/core.c
+1-2include/trace/events/module.h
+34-462 files not shown
+35-518 files

LLVM/project 29474e1 — libunwind/src libunwind.cpp Registers.hpp, libunwind/test x86_64_dwarf_registers.pass.cpp x86_64_getcontext_preserves_rbx.pass.cpp

[libunwind] Support extended amd64 segment registers on FreeBSD (#237265)

Raise the amd64 DWARF register limit to 59 and add RFLAGS, all six
segment selectors, FS.base, and GS.base to the register model. Capture
the extended state and restore it when resuming, using setcontext on
FreeBSD to restore selectors and bases together. Pack the state into the
existing context buffers without changing their public sizes or the
Windows XMM offsets.

Add tests for register access, signal-frame CFI recovery, register
bounds, and resume behavior.

Assisted-by: GPT
DeltaFile
+146-0libunwind/test/x86_64_extended_registers.pass.cpp
+122-0libunwind/test/x86_64_resume_extended_registers.pass.cpp
+87-7libunwind/src/Registers.hpp
+67-0libunwind/test/x86_64_getcontext_preserves_rbx.pass.cpp
+58-0libunwind/test/x86_64_dwarf_registers.pass.cpp
+52-0libunwind/src/libunwind.cpp
+532-76 files not shown
+602-1112 files

Linux/linux ac1bf56 — fs/fuse dev.c, net/sunrpc/xprtrdma rpc_rdma.c

Merge branch 'fixes-from-sasha'

Misc fixes for this merge window from Sasha Levin that were posted for
issues found in linux-next but not picked up by maintainers.

In an almost certainly futile attempt to clean up the disaster area that
is my inbox, I'm merging them directly rather than leaving them pending
and wait for them to come in through the proper channels.

* fixes-from-sasha:
  selftests/fuse: add the missing symlink caching test
  fuse: fix link error with CONFIG_FUSE_PASSTHROUGH=n
  xprtrdma: fix up the nfs/nfs-anna merge of the Write chunk head trim
DeltaFile
+162-0tools/testing/selftests/filesystems/fuse/fuse_symlink_cache_test.c
+9-3fs/fuse/dev.c
+2-7net/sunrpc/xprtrdma/rpc_rdma.c
+173-103 files

Linux/linux aba9df1 — tools/testing/selftests/filesystems/fuse fuse_symlink_cache_test.c

selftests/fuse: add the missing symlink caching test

Commit 3e14f079d7a0 ("selftests/fuse: add fuse symlink caching test")
registered fuse_symlink_cache_test in the fuse selftest Makefile and
.gitignore, but the test source was not part of the applied commit, so
building the fuse selftests fails:

  make[1]: *** No rule to make target 'fuse_symlink_cache_test.c', needed by '.../fuse_symlink_cache_test'.

Add fuse_symlink_cache_test.c as posted in Luis Henriques's v5
submission. The test serves a file and a symlink to it from a libfuse
low-level filesystem, resolves the symlink 100 times, and counts the
readlink requests that reach the server: one when FUSE_CAP_CACHE_SYMLINKS
is set during FUSE_INIT, and all 100 when it is not.

Fixes: 3e14f079d7a0 ("selftests/fuse: add fuse symlink caching test")
Reported-by: kernel test robot <lkp at intel.com>
Closes: https://lore.kernel.org/r/202610170822.oEJ1Autq-lkp@intel.com/
Link: https://lore.kernel.org/r/20261001164916.15311-8-luis@igalia.com

    [4 lines not shown]
DeltaFile
+162-0tools/testing/selftests/filesystems/fuse/fuse_symlink_cache_test.c
+162-01 files

Linux/linux 1ea8061 — fs/fuse dev.c

fuse: fix link error with CONFIG_FUSE_PASSTHROUGH=n

Commit 2f19d54c055d ("fuse: support 64 bit, server allocated backing ID")
moved the CONFIG_FUSE_PASSTHROUGH check out of the backing ioctl handlers
and into fuse_get_conn_for_passthrough(). The calls from the handlers
into backing.c, which is only built with CONFIG_FUSE_PASSTHROUGH, are now
only removed if the compiler inlines that helper. It does not have to,
and with gcc 11 and CONFIG_CC_OPTIMIZE_FOR_SIZE it doesn't:

  dev.c:(.text+0x355c): undefined reference to `fuse_backing_open'
  nios2-linux-ld: dev.c:(.text+0x3594): undefined reference to `fuse_backing_open_64'
  nios2-linux-ld: dev.c:(.text+0x35d0): undefined reference to `fuse_backing_close'

Check CONFIG_FUSE_PASSTHROUGH in each handler again, as
fuse_notify_backing_remove() does. The check still comes after the
fuse_get_dev() and -ENOTCONN checks, so the errors userspace sees do not
change.

Fixes: 2f19d54c055d ("fuse: support 64 bit, server allocated backing ID")

    [5 lines not shown]
DeltaFile
+9-3fs/fuse/dev.c
+9-31 files

Linux/linux 960994f — net/sunrpc/xprtrdma rpc_rdma.c

xprtrdma: fix up the nfs/nfs-anna merge of the Write chunk head trim

Two fixes for the same Write chunk payload corruption meet in
linux-next. In the nfs tree, commit a0db57fee35e ("xprtrdma: Fix Write
chunk payload corruption on a short reply header") trims
head[0].iov_len in rpcrdma_decode_msg(). In the nfs-anna tree,
commit 9ee534a75912 ("xprtrdma: trim head iovec when the payload
arrives via a Write chunk") trims it in rpcrdma_inline_fixup() and
reduces buflen by the same amount.

The merge resolution keeps the caller-side trim. By the time
rpcrdma_inline_fixup() runs, head[0].iov_len already equals copy_len,
so the block added by the nfs-anna commit never runs and its buflen
reduction in rq_rcv_buf and rq_private_buf is lost. The helper is also
still passed xdr_pad_size(writelist), while its kernel-doc now
describes @writelist as the number of bytes conveyed by the Write
chunk.

Drop the caller-side trim and pass the full Write chunk length, so

    [12 lines not shown]
DeltaFile
+2-7net/sunrpc/xprtrdma/rpc_rdma.c
+2-71 files

LLVM/project 0cb5427 — lldb/source/Target ThreadPlanCallFunction.cpp

Check stack are register context in ThreadPlanCallFunction::DoTakedown (#217759)

I get a couple of crashes a year in ThreadPlanCallFunction::DoTakedown
on the line where we get the PC from the thread. It looks like the
RegisterContext (or maybe GetStackFrameAtIndex(0)) are returning null.

The crashes are when the UI calls UnwindInnermostFrame so I know that
thread has to be valid. So the only possibilities I can think of are
that we couldn't reconstruct the stack frame at index 0 or its register
context. I don't know how that would happen, but there's no harm in
being more careful accessing the register context.
DeltaFile
+6-2lldb/source/Target/ThreadPlanCallFunction.cpp
+6-21 files

LLVM/project 4860ad7 — llvm/lib/Target/RISCV RISCVInstrInfo.td RISCVAsmPrinter.cpp, llvm/lib/Target/RISCV/MCTargetDesc RISCVMCCodeEmitter.cpp

[RISCV] Make $rs an output of PseudoTAILReg.

It's used as the temporary register for the AUIPC when expanded
so it should be an output.

Assisted-by: Claude
DeltaFile
+2-2llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
+1-1llvm/lib/Target/RISCV/RISCVInstrInfo.td
+1-1llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
+4-43 files

Linux/linux e823910 — . Makefile, scripts Kconfig.toolchain

Merge tag 'kbuild-fixes-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux

Pull Kbuild fixes from Nathan Chancellor:

 - Move probing of '-mfentry' back into Makefile instead of Kconfig
   because it does not interact well with toolchains that support
   multiple bit widths

 - Add a big comment in scripts/Kconfig.toolchain of two pitfalls when
   moving cc-option checks from Kbuild to Kconfig

* tag 'kbuild-fixes-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux:
  scripts/Kconfig.toolchain: Highlight cc-option differences between Kconfig and Kbuild
  kbuild: Move testing of '-mfentry' back to Makefile from Kconfig
DeltaFile
+19-4scripts/Kconfig.toolchain
+2-1Makefile
+21-52 files

LLVM/project 7bc1d62 — compiler-rt/lib/sanitizer_common sanitizer_deadlock_detector.h, compiler-rt/test/tsan many_held_mutex.cpp

[tsan] Increase per-thread held lock limit in DeadlockDetectorTLS to 512 (#232882)

When running under ThreadSanitizer with deadlock detection enabled
(`detect_deadlocks=1`), `DeadlockDetectorTLS::addLock` enforces a hard
limit on the number of distinct locks a single thread may hold
simultaneously via `CHECK_LT(n_all_locks_,
ARRAY_SIZE(all_locks_with_contexts_))`.

Although #116409 previously raised this limit from 64 to 128, workloads
that initialize large RPC frameworks, worker pools, or sharded data
structures (such as C++ extensions under free-threaded Python) can hold
more than 128 locks simultaneously on one thread during initialization,
triggering a fatal `CHECK` failure.

Increase `all_locks_with_contexts_` capacity from 128 to 512. Each
`LockWithContext` entry is 8 bytes (`u32 lock; u32 stk;`), adding 3 KB
per heap-allocated `DDLogicalThread` when `detect_deadlocks=1` while
remaining well below `TwoLevelBitVector` capacity (`DDBV::kSize`, which
is 4096 on 64-bit platforms and 1024 on 32-bit platforms).

    [3 lines not shown]
DeltaFile
+1-1compiler-rt/test/tsan/many_held_mutex.cpp
+1-1compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h
+2-22 files

Linux/linux 453ebbe — tools/testing/ktest ktest.pl

Merge tag 'ktest-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest

Pull ktest updates from Steven Rostedt:

 - Sort configs before writing config file

   Currently the .config file is created from the perl hash array from
   reading the applied min-configs. The order is determined by how perl
   hashes the values. This causes the .config file to be created in
   different orders for each run, and the order may determine the final
   value of the .config file after it goes through a make oldconfig.

   Sort the values when creating the .config so that the result is the
   same for every run.

 - Add total test time to run output

   Have ktest display the total test time of running all the tests. This
   is useful to find issues in the build, install, boot or test run

    [19 lines not shown]
DeltaFile
+21-6tools/testing/ktest/ktest.pl
+21-61 files

HardenedBSD/src 7ab31e4 — sys/dev/bnxt/bnxt_en bnxt_sriov.c, sys/dev/mlx5/mlx5_en mlx5_en_main.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+745-337sys/dev/tpm/tpm.c
+351-137sys/dev/tpm/tpm_tis_core.c
+273-134sys/dev/tpm/tpm_crb.c
+145-18sys/dev/bnxt/bnxt_en/bnxt_sriov.c
+147-7sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+122-0sys/dev/tpm/tpm_acpi_subr.c
+1,783-63327 files not shown
+2,058-67433 files

HardenedBSD/src c8bc064 — sys/dev/bnxt/bnxt_en bnxt_sriov.c, sys/dev/mlx5/mlx5_en mlx5_en_main.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+745-337sys/dev/tpm/tpm.c
+351-137sys/dev/tpm/tpm_tis_core.c
+273-134sys/dev/tpm/tpm_crb.c
+145-18sys/dev/bnxt/bnxt_en/bnxt_sriov.c
+147-7sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+122-0sys/dev/tpm/tpm_acpi_subr.c
+1,783-63327 files not shown
+2,058-67433 files

HardenedBSD/src 28528cb — sys/dev/e1000 if_em.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+10-5sys/dev/e1000/if_em.c
+10-51 files

HardenedBSD/ports f2bb08f — databases/py-lancedb Makefile distinfo, finance/odoo pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+0-88,864finance/odoo/pkg-plist
+0-3,256graphics/blender/files/patch-fmtlib
+695-671databases/py-lancedb/distinfo
+351-340databases/py-lancedb/Makefile
+573-0security/vuxml/vuln/2026.xml
+271-299net/routinator/distinfo
+1,890-93,430225 files not shown
+6,227-94,441231 files

LLVM/project 65daedf — .ci/lnt/llvm-test-suite machines.json, .github/workflows llvm-test-suite-run.yml

[ci] Collect profiles in the LLVM test-suite LNT runs on Linux

Run the test-suite with `--use-perf all` on Linux, which collects profiling
data and submits it to LNT. Bump both machines since the version of the
test suite also changes.

Assisted by Claude
DeltaFile
+5-5.ci/lnt/llvm-test-suite/machines.json
+8-2.github/workflows/llvm-test-suite-run.yml
+13-72 files

Linux/linux b92f6e9 — drivers/gpu/drm/amd/amdgpu amdgpu_amdkfd_gpuvm.c, drivers/gpu/drm/amd/display/dc/link/protocols link_hdmi_frl.c

Merge tag 'drm-next-2026-10-31' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "The final set of merge window fixes, from AMD mostly. with one set of
  panthor mmu fixes.

  amdgpu:
   - UALink fixes
   - Runtime PM fixes
   - GPUVM fixes
   - Mac fixes
   - HDMI fixes
   - DP MST fix
   - Userptr fix
   - SMU fixes
   - DSC fix
   - VCE/UVD sched teardown fix
   - Display runpm reference fix
   - Display TD-LUT fix

    [44 lines not shown]
DeltaFile
+172-54drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c
+147-53drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
+147-52drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
+150-7drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.c
+97-32drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c
+70-35drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
+783-23362 files not shown
+1,607-46868 files

LLVM/project 5e15a69 — llvm/docs Extensions.md, llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp

[SHT_LLVM_BB_ADDR_MAP] Emit the function GUID for local-linkage functions (#237345)

Add the `-basic-block-address-map-emit-func-guid` flag to emit the
function GUID (the `FuncGUID` feature added in #231675) in the
SHT_LLVM_BB_ADDR_MAP section. The GUID is only emitted for functions
with local linkage, whose symbol names may not be unique across
translation units. Other functions can be identified by their symbol
names, so the feature bit is left unset for them.

The GUID assigned by AssignGUIDPass (`!guid` metadata) is used when
available. Otherwise, it is computed from the module's source file name
and the function's current name, since AssignGUIDPass only runs in the
(Thin)LTO pre-link pipelines.

This also bumps the emitted SHT_LLVM_BB_ADDR_MAP version to 6, which is
required for the FuncGUID feature.

Assisted-by: Claude Opus 5.5
DeltaFile
+65-0llvm/test/CodeGen/X86/basic-block-address-map-func-guid.ll
+19-1llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+3-3llvm/test/CodeGen/X86/basic-block-address-map-function-sections.ll
+2-2llvm/test/CodeGen/X86/basic-block-sections-pgo-features.ll
+3-1llvm/docs/Extensions.md
+1-1llvm/test/CodeGen/X86/basic-block-address-map.ll
+93-86 files not shown
+99-1412 files

Linux/linux 51b4bf5 — fs/smb/client cifsfs.c cached_dir.c

Merge tag 'cifs-fixes-7.4-rc1' of https://git.manguebit.org/linux

Pull smb client fixes from Paulo Alcantara:

 - Validate the offsets and lengths a server puts in its responses
   before using them, so that a malicious or broken server can no longer
   make the client read past the received data:
     - POSIX lock data (which leaked kernel bytes through F_GETLK)
     - NT transaction responses and SMB1 EA lists (both wrapping their
       pointer checks on 32-bit)
     - short SESSION_SETUP responses (which sent stale buffer content
       back to the server in the NTLMv2 AUTHENTICATE message)
     - SMB2 READ data areas
     - empty truncated fiemap responses

 - Fix a heap overflow in SMB2_tcon() with UNC paths longer than
   MAX_SHARENAME_LENGTH

 - Fix a slab-out-of-bounds write when chmod() rewrites a security

    [27 lines not shown]
DeltaFile
+46-20fs/smb/client/cifssmb.c
+40-6fs/smb/client/smb2pdu.c
+21-12fs/smb/client/connect.c
+21-9fs/smb/client/cached_dir.c
+27-3fs/smb/client/smb2ops.c
+9-11fs/smb/client/cifsfs.c
+164-615 files not shown
+191-6411 files

Linux/linux 69eac84 — fs/verity measure.c read_metadata.c, include/linux fsverity.h

Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux

Pull fsverity fixes from Eric Biggers:
 "Fixes for several bugs found by LLMs:

   - Fix bypass of IPE's fsverity support, and a use-after-free in
     certain cases, when FS_IOC_ENABLE_VERITY fails when almost done

   - Fix FS_IOC_MEASURE_VERITY and FS_IOC_READ_VERITY_METADATA to no
     longer bypass Landlock and AppArmor's read permission checks

   - Be robust against the filesystem returning different values for a
     file's verity descriptor length in two successive queries"

* tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux:
  fsverity: Set S_VERITY only after rollback is no longer possible
  fsverity: Tell LSMs about signature only after verity is enabled
  fsverity: Be more careful with return value of ->get_verity_descriptor()
  fsverity: Explicitly require FMODE_READ to retrieve hashes
DeltaFile
+40-15fs/verity/signature.c
+28-19fs/verity/open.c
+13-7fs/verity/enable.c
+10-4fs/verity/read_metadata.c
+7-5include/linux/fsverity.h
+10-0fs/verity/measure.c
+108-504 files not shown
+126-5410 files

HardenedBSD/ports 54fba85 — . UPDATING, devel/java-subversion pkg-plist Makefile

devel/java-subversion: fix JAR install path, typo, NLS init duplication, RUN_DEPENDS

Install svn-javahl.jar under JAVAJARDIR (the ports tree's own
convention for JARs) instead of a non-standard lib/svn-javahl/
subdirectory. Fix a --without-siwg-python typo in CONFIGURE_ARGS.

Switch USES=java to java:build: this port installs a native library
and a JAR, it doesn't invoke java itself, so it has no business
pulling a JDK into RUN_DEPENDS -- the caller that actually loads the
library and the JAR decides which JVM to run, not this port.

Add files/patch-native_JNIUtil.cpp: JNIGlobalInit()'s non-Windows NLS
setup hand-rolled a bindtextdomain() call that duplicates
svn_nls_init() (the same helper every svn_cmdline_init()-based CLI
tool uses); call the real function instead, which also picks up
bind_textdomain_codeset() that the duplicated code was missing.

Bump PORTREVISION_LATEST/PORTREVISION_LTS and add an UPDATING entry
for the JAR path change.
DeltaFile
+18-0devel/java-subversion/files/patch-native_JNIUtil.cpp
+7-4devel/java-subversion/Makefile
+8-0UPDATING
+1-1devel/java-subversion/pkg-plist
+34-54 files

FreeBSD/ports 54fba85 — . UPDATING, devel/java-subversion pkg-plist Makefile

devel/java-subversion: fix JAR install path, typo, NLS init duplication, RUN_DEPENDS

Install svn-javahl.jar under JAVAJARDIR (the ports tree's own
convention for JARs) instead of a non-standard lib/svn-javahl/
subdirectory. Fix a --without-siwg-python typo in CONFIGURE_ARGS.

Switch USES=java to java:build: this port installs a native library
and a JAR, it doesn't invoke java itself, so it has no business
pulling a JDK into RUN_DEPENDS -- the caller that actually loads the
library and the JAR decides which JVM to run, not this port.

Add files/patch-native_JNIUtil.cpp: JNIGlobalInit()'s non-Windows NLS
setup hand-rolled a bindtextdomain() call that duplicates
svn_nls_init() (the same helper every svn_cmdline_init()-based CLI
tool uses); call the real function instead, which also picks up
bind_textdomain_codeset() that the duplicated code was missing.

Bump PORTREVISION_LATEST/PORTREVISION_LTS and add an UPDATING entry
for the JAR path change.
DeltaFile
+18-0devel/java-subversion/files/patch-native_JNIUtil.cpp
+7-4devel/java-subversion/Makefile
+8-0UPDATING
+1-1devel/java-subversion/pkg-plist
+34-54 files

LLVM/project b302d43 — clang/include/clang/Tooling DependencyScanningTool.h, clang/lib/DependencyScanning DependencyScanningWorker.cpp

Handle prebuilt modules.
DeltaFile
+25-0clang/unittests/Tooling/DependencyScannerTest.cpp
+6-0clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+2-1clang/include/clang/Tooling/DependencyScanningTool.h
+33-13 files

LLVM/project cfb6352 — clang/include/clang/DependencyScanning DependencyScanningWorker.h, clang/include/clang/Tooling DependencyScanningTool.h

[clang][DepScan] Introduce API to find modulemaps without loading

Introduce a way to batch look up the modulemap that defines
each of a set of module names.

`getModuleMapsForModules` builds a compiler instance from the same
command line as a by-name scan, then does every lookup in a separate
header search with lazy modulemap loading turned on and diagnostics
ignored.

The main use case is to let the Swift dependency scanner
invalidate its serialized dependency graph without the cost of loading
the referenced modules.

* Modulemaps passed with `-fmodule-map-file` are parsed first, all
  other modules are resolved by by-name header search.
DeltaFile
+160-0clang/unittests/Tooling/DependencyScannerTest.cpp
+91-6clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+33-6clang/lib/Tooling/DependencyScanningTool.cpp
+12-0clang/include/clang/Tooling/DependencyScanningTool.h
+9-0clang/include/clang/DependencyScanning/DependencyScanningWorker.h
+305-125 files

LLVM/project b2af446 — clang/include/clang/Lex ModuleMap.h HeaderSearch.h, clang/lib/Lex ModuleMap.cpp HeaderSearch.cpp

[clang][HeaderSearch] Introduce API to find a module's module map without loading (#235835)

Add a new public interface `lookupModuleMapFileForModule` that behaves
like `lookupModule` but only relies on parsing modulemaps, except in the
inferred framework case.

* Add a public `parseModuleMapFile` that can parse files passed through
`-fmodule-map-file`.
* Both APIs require lazy modulemap loading enablement.
* Introduce several helpers to support the new API.
DeltaFile
+200-0clang/unittests/Lex/HeaderSearchTest.cpp
+75-27clang/lib/Lex/HeaderSearch.cpp
+36-4clang/include/clang/Lex/HeaderSearch.h
+12-0clang/lib/Lex/ModuleMap.cpp
+11-0clang/include/clang/Lex/ModuleMap.h
+334-315 files

Linux/linux a954737 — drivers/thermal thermal_trace.h thermal_sysfs.c, tools/testing/selftests/thermal/intel/power_floor Makefile

Merge tag 'thermal-7.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull thermal control fixes from Rafael Wysocki:
 "These fix three issues related to thermal control:

   - Fix CPU mask truncation in power limit trace event used by the
     power allocator thermal governor (Hungyu Lin)

   - Fix code indentation in create_s32_tzp_attr() and rearrange it to
     use early return when applicable (Thorsten Blum)

   - Allow cross builds of the Intel thermal tests (Sasha Levin)"

* tag 'thermal-7.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  thermal: sysfs: Fix indentation in create_s32_tzp_attr()
  thermal: Fix CPU mask truncation in power limit trace event
  selftests/thermal: allow cross builds of the Intel tests
DeltaFile
+5-7tools/testing/selftests/thermal/intel/workload_hint/Makefile
+5-7tools/testing/selftests/thermal/intel/power_floor/Makefile
+4-4drivers/thermal/thermal_sysfs.c
+2-2drivers/thermal/thermal_trace.h
+16-204 files

LLVM/project 2c3f74b — llvm/include/llvm/CodeGen RegisterClassInfo.h, llvm/lib/CodeGen RegisterClassInfo.cpp

[AMDGPU] Assert that RewriteAGPRCopyMFMA sees current reserved registers

AMDGPURewriteAGPRCopyMFMA reads allocation orders from the shared
RegisterClassInfo after the VGPR allocator. If a change to the reserved
registers was not published to the analysis, it can be offered a reserved
register: its spill slot elimination then trips an assertion in VirtRegMap if it
happens to pick that register, and silently clobbers it without assertions.

Check on entry, before the subtarget early exit, that the analysis matches MRI's
frozen set, so every AMDGPU pipeline reaching the pass verifies it. Add
RegisterClassInfo::hasCurrentReservedRegs() for the comparison; it recomputes
nothing.

AI-assisted.
DeltaFile
+4-0llvm/lib/CodeGen/RegisterClassInfo.cpp
+4-0llvm/include/llvm/CodeGen/RegisterClassInfo.h
+3-0llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+11-03 files

LLVM/project a89569a — llvm/lib/Target/AMDGPU AMDGPUReserveWWMRegs.cpp

[AMDGPU] Stop publishing reserved registers from AMDGPUReserveWWMRegs

Remove the update, the TRI->getReservedRegs() call needed to produce it, and the
pass's RegisterClassInfo dependency.

Since #226523, the allocator immediately following this pass publishes the
reserved register set it freezes. Publishing here duplicates the computation and
leaves a window in which the shared analysis and MRI's frozen set disagree.

AI-assisted.
DeltaFile
+3-22llvm/lib/Target/AMDGPU/AMDGPUReserveWWMRegs.cpp
+3-221 files

LLVM/project 8b4c78c — llvm/lib/ExecutionEngine/Interpreter ExternalFunctions.cpp, llvm/test/ExecutionEngine/MCJIT interp-mangling-escape.ll

Address review: don't look up a '\01' name without the global prefix

A symbol without the target's global prefix has no C name, so looking it up
by the rest of its name found a different symbol (e.g. "\01printf" on Darwin
called libc's printf). Fall back to the IR name instead, as ORC's
DynamicLibrarySearchGenerator skips such symbols, and reword the comment. In
the test, drop the redundant -jit-kind=mcjit and add a case for this.

Assisted-by: Claude Opus 5.5
DeltaFile
+20-3llvm/test/ExecutionEngine/MCJIT/interp-mangling-escape.ll
+9-7llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+29-102 files

Linux/linux 7306ea0 — Documentation/admin-guide/pm intel_idle.rst, Documentation/power runtime_pm.rst

Merge tag 'pm-7.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fixes from Rafael Wysocki:
 "These address assorted issues in the power management code and update
  documentation:

   - Fix potential out-of-bounds access in deferred reset in the cpufreq
     statistics code (Zhongqiu Han)

   - Cancel HWP notify work in the intel_pstate driver cleanup to
     prevent possible use-after-free from occurring (Tristan Madani)

   - Adjust state names and descriptions for ACPI _LPI idle states in
     the intel_idle driver to make them follow the driver's idle state
     naming convention (Rafael Wysocki)

   - Document the new pm_runtime_use_autosuspend() undo mechanism that
     triggers automatically on driver exit (Joshua Crofts)


    [14 lines not shown]
DeltaFile
+12-8kernel/power/suspend.c
+7-5Documentation/admin-guide/pm/intel_idle.rst
+5-5Documentation/power/runtime_pm.rst
+7-2drivers/idle/intel_idle.c
+3-3include/linux/pm_runtime.h
+3-1kernel/power/energy_model.c
+37-242 files not shown
+43-248 files