LLVM/project 7ea47d1flang-rt/lib/cuda allocator.cpp

[flang][cuda] Unify locking regime for the allocation table (#221341)

The lock was acquired in insertAsyncDeviceAllocation but not in other
function. Move the lock outside of the function so the locking regime is
homogeneous.
DeltaFile
+2-1flang-rt/lib/cuda/allocator.cpp
+2-11 files

SmartOS/live 2b21ab7tools build_live

Merge branch 'master' into OS-8766
DeltaFile
+1-1tools/build_live
+1-11 files

LLVM/project 6bfbb2eclang/docs ClangFormatStyleOptions.md, clang/include/clang/Format Format.h

[clang-format] Add FilesBeforeFolders option to SortIncludes (#208954)

Add a new `SortIncludes.FilesBeforeFolders` boolean option that, when
enabled, sorts includes so that files in a directory appear before
subdirectories at each level, recursively. Within a level, files and
subdirectories are each sorted alphabetically.

For example:

```
       true:                             false (default):
       #include "x.h"             vs.    #include "bar/alpha/e.h"
       #include "y.h"                    #include "bar/alpha/f.h"
       #include "z.h"                    #include "bar/beta/d.h"
       #include "bar/g.h"                #include "bar/g.h"
       #include "bar/h.h"                #include "bar/h.h"
       #include "bar/i.h"                #include "bar/i.h"
       #include "bar/alpha/e.h"          #include "foo/a.h"
       #include "bar/alpha/f.h"          #include "x.h"

    [4 lines not shown]
DeltaFile
+118-0clang/unittests/Format/SortIncludesTest.cpp
+42-6clang/lib/Format/Format.cpp
+24-1clang/include/clang/Format/Format.h
+23-0clang/docs/ClangFormatStyleOptions.md
+9-4clang/unittests/Format/ConfigParseTest.cpp
+216-115 files

LLVM/project 1315e04compiler-rt/lib/sanitizer_common sanitizer_common_interceptors.inc, compiler-rt/test/sanitizer_common/TestCases/Posix opendir_null.cpp

[memprof] check path in opendir interceptor (#221309)

The sanitizer `opendir` interceptor unconditionally calls
`internal_strlen(path)` before forwarding to the real function.
Passing `nullptr` therefore causes the sanitizer runtime itself to
dereference address zero.

Add a unit test using a `LD_PRELOAD` shim to verify that a null path
reaches the real implementation without crashing the interceptor.

---------

Co-authored-by: Sharon Xu <sharonxu at fb.com>
DeltaFile
+19-0compiler-rt/test/sanitizer_common/TestCases/Posix/opendir_null.cpp
+2-1compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
+21-12 files

FreeNAS/freenas 67b4226src/middlewared/middlewared/api/v26_0_0 s3.py, src/middlewared/middlewared/api/v27_0_0 s3.py

NAS-143103 / 26.0.0-RC.1 / add s3 service (#19610)

Adds the s3 service with associated tests. All of the tests pass locally
and without issue but they are disabled until the s3 binary is included
in the TrueNAS image.

(cherry picked from commit c94c6e4d37260bdff8fa6d13dbe8b1caddb053e8)
DeltaFile
+696-0tests/api2/test_s3_bucket.py
+423-0src/middlewared/middlewared/plugins/truenas_s3/bucket_crud.py
+401-0src/middlewared/middlewared/plugins/truenas_s3/config.py
+325-0tests/api2/test_s3_config.py
+311-2src/middlewared/middlewared/api/v27_0_0/s3.py
+311-2src/middlewared/middlewared/api/v26_0_0/s3.py
+2,467-422 files not shown
+3,198-2928 files

FreeBSD/src 9aff62dusr.bin/fortune/datfiles freebsd-tips

freebsd-tips: documentation inside the bugs

Reviewed by:    ziaee
Event:          Berlin Hackathon 202609
DeltaFile
+4-0usr.bin/fortune/datfiles/freebsd-tips
+4-01 files

Linux/linux 654ae5ddrivers/dma-buf dma-heap.c, drivers/gpu/drm drm_pagemap.c

Merge tag 'drm-fixes-2026-09-05' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "Lots of scattered fixes: nouveau has a bunch of display fixes for
  blackwell GPUs that should mean we light up monitors properly and fix
  some desktop rendering problems, amdgpu and intel display changes as
  usual.

  There also changes to the core pagemap, then the usual amouny of AI
  inspired validation fixes.

  core:
   - Fix drm_crtc_commit leak when PAGE_FLIP_EVENT is used

  dma-buf:
   - Publish the dma-buf only after copy_to_user succeeds
   - fix some kernel-doc warnings

  atomic-state-helpers:

    [106 lines not shown]
DeltaFile
+233-37drivers/gpu/drm/drm_pagemap.c
+191-0drivers/gpu/drm/nouveau/nvkm/engine/disp/gb202.c
+52-73drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
+112-1tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
+85-1drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c
+40-40drivers/dma-buf/dma-heap.c
+713-15279 files not shown
+1,210-31785 files

Linux/linux 3f17a52arch/arm64/include/asm cpufeature.h, arch/arm64/kernel cpuinfo.c cpu_errata.c

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fixes from Will Deacon:
 "Nothing Earth-shattering, but worthwhile fixes nonetheless:

   - Disable interrupts during page-table walk in show_pte()

   - Fix kexec_file_load() with 52-bit capable kernels on machines
     without 52-bit addressing

   - Fix MIDR matching in CPU errata handling for KVM guests

   - Avoid reading MTE-specific ID registers when MTE support is
     disabled"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: Don't read GMID_EL1 when MTE is disabled
  arm64: errata: pass REVIDR when matching target implementation CPUs
  arm64: trans_pgd: clone only the linear map that exists at runtime
  arm64: mm: Fix the lockless page-table walk in show_pte()
DeltaFile
+29-4arch/arm64/kernel/cpufeature.c
+8-4arch/arm64/mm/fault.c
+0-7arch/arm64/include/asm/cpufeature.h
+2-1arch/arm64/kernel/machine_kexec.c
+1-1arch/arm64/kernel/cpuinfo.c
+1-1arch/arm64/kernel/cpu_errata.c
+41-181 files not shown
+42-187 files

LLVM/project a0348d9flang/lib/Semantics resolve-names.cpp, flang/test/Lower/CUDA cuda-gpu-pinned2.f90

[flang][cuda] Make sure that CUDA is enabled when adding PINNED implicit attribute (#221334)

PINNED was not guarded like MANAGED. Just make a general guard for both.
DeltaFile
+11-10flang/lib/Semantics/resolve-names.cpp
+16-0flang/test/Lower/CUDA/cuda-gpu-pinned2.f90
+27-102 files

NetBSD/pkgsrc WJHw22Jsysutils/gatus Makefile

   gatus: Require Go version 1.26, won't compile so far with 1.27
VersionDeltaFile
1.6+3-1sysutils/gatus/Makefile
+3-11 files

Linux/linux 408802ffs/ceph mds_client.h mds_client.c, net/ceph messenger.c

Merge tag 'ceph-for-7.3-rc2' of https://github.com/ceph/ceph-client

Pull ceph fixes from Ilya Dryomov:
 "A small fixup for the new nearfull_sync mount option, a potential
  use-after-free fix (marked for stable) and a patch that eliminates
  the last use of PageWriteback macro in the tree"

* tag 'ceph-for-7.3-rc2' of https://github.com/ceph/ceph-client:
  ceph: apply nearfull_sync option on remount
  libceph: remove pinning assertion in ceph_msg_data_iter_next()
  ceph: lock mutex in ceph_mds_check_access()
DeltaFile
+5-0fs/ceph/super.c
+4-0fs/ceph/mds_client.c
+0-1net/ceph/messenger.c
+1-0fs/ceph/mds_client.h
+10-14 files

LLVM/project 3b0bb49compiler-rt/lib/sanitizer_common sanitizer_symbolizer_report.cpp, compiler-rt/test/ubsan/TestCases/Integer summary.cpp

[compiler-rt][ubsan] Fix trailing whitespace in SUMMARY line when function is unknown (#221335)

Fixes #30851. ReportErrorSummary always rendered "%L %F", but %F expands
to nothing when the function name is unknown, leaving a dangling space
at the end of the line. Instead, oly add the function name if it is
known.
DeltaFile
+2-2compiler-rt/test/ubsan/TestCases/Integer/summary.cpp
+1-1compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
+3-32 files

NetBSD/pkgsrc ypqqfFUgames/warzone2100 Makefile

   warzone2100: mark as not-for-bulk-build on NetBSD

   ../3rdparty/basis_universal_host_tool/basis_install/bin/basisu -ktx2 -uastc -uastc_level 3 -uastc_rdo_m -mipmap -resample 256 256
   tends to hang a lot
VersionDeltaFile
1.110+5-1games/warzone2100/Makefile
+5-11 files

FreeNAS/freenas 8549acatests/api2 test_s3_bucket.py test_s3_config.py

NAS-143161 / 26.0.0 / Run the S3 service suites unconditionally (by yocalebo) (#19630)

The daemon is in the TrueNAS image now, so the two suites that start it
no longer wait for TRUENAS_S3_DAEMON to say a box has one. The access
key suite never needed it.

Original PR: https://github.com/truenas/middleware/pull/19629

Co-authored-by: caleb <yocalebo at gmail.com>
DeltaFile
+0-9tests/api2/test_s3_config.py
+0-8tests/api2/test_s3_bucket.py
+0-172 files

LLVM/project 707bfbbllvm/lib/Target/ARM ARMInstrInfo.td ARMInstrNEON.td, llvm/test/CodeGen/ARM fp16-fusedMAC.ll fusedMAC.ll

ARM: Form fused VFMA/VFMS from the contract flag

Select the fused VFMA/VFMS/VFNMA/VFNMS from the per-node contract fast-math
flag instead of the global AllowFPOpFusion == Fast. This is one of the
few remaining consumers of the TargetOption field.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+132-30llvm/test/CodeGen/ARM/cortex-a57-misched-vfma.ll
+107-28llvm/test/CodeGen/ARM/fusedMAC.ll
+22-26llvm/test/CodeGen/ARM/fp16-fusedMAC.ll
+22-22llvm/lib/Target/ARM/ARMInstrVFP.td
+13-11llvm/lib/Target/ARM/ARMInstrNEON.td
+19-0llvm/lib/Target/ARM/ARMInstrInfo.td
+315-1171 files not shown
+317-1237 files

OpenZFS/src 154290ctests/runfiles common.run, tests/zfs-tests/tests Makefile.am

zfs-tests: add zhack mos leak/reclaim coverage

- Add a new cli_root zhack test for the mos leak/scan/reclaim flow.
- Verify dry-run leak/reclaim do not change reclaimable leak counts.
- Verify write-mode leak adds the expected reclaimable clone and
  space map objects, and write-mode reclaim removes them.
- Verify reclaim idempotency by running write reclaim twice and
  asserting the second pass reports "nothing to reclaim".
- Export/import the pool around write-mode operations to match the
  zhack mos command import requirements.
- Register the new test in tests/zfs-tests/tests/Makefile.am and
  tests/runfiles/common.run.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Martin Minkus <martin.minkus at gmail.com>
Closes #18907
DeltaFile
+197-0tests/zfs-tests/tests/functional/cli_root/zhack/zhack_mos_scan_reclaim.ksh
+2-1tests/runfiles/common.run
+1-0tests/zfs-tests/tests/Makefile.am
+200-13 files

OpenZFS/src e74cde0cmd zhack.c, man/man1 zhack.1

zhack: add mos leak subcommand for local repro

- Add `zhack mos leak` to create synthetic leaked MOS objects for
  testing scan/reclaim behavior on disposable pools, mirroring the
  existing `zhack metaslab leak`.
- Support `-c` and `-s` counts for leaked DSL clone maps and
  leaked SPA space maps, with dry-run default and `-w` apply.
- Print the created object IDs so test scripts can assert expected
  candidates and post-reclaim cleanup.
- Document the new subcommand in zhack.1.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Martin Minkus <martin.minkus at gmail.com>
Closes #18907
DeltaFile
+154-1cmd/zhack.c
+24-0man/man1/zhack.1
+178-12 files

OpenZFS/src fe95257cmd zhack.c, man/man1 zhack.1

zhack: add mos scan/reclaim for leaked MOS objects

- Add `zhack mos scan` to enumerate reclaim candidates for
  unreferenced empty DSL clone maps and zeroed space maps.
- Add `zhack mos reclaim` with dry-run by default; `-w` applies
  frees in sync context using `zap_destroy` and `space_map_free_obj`.
- Enable readable spacemaps during readonly analysis to avoid
  false positives when counting referenced metaslab space maps.
- Document the new subcommands in zhack.1.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Martin Minkus <martin.minkus at gmail.com>
Closes #18907
DeltaFile
+501-1cmd/zhack.c
+32-1man/man1/zhack.1
+533-22 files

LLVM/project b84b2d7llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 minbw-node-used-twice.ll minbitwidth-icmp-mixed-extends.ll

[SLP]Fix narrowing of icmp with mismatched operand extensions

Keep the narrow compare only if the predicate matches the operand
signedness; otherwise extend the operands back to the original
compared type.

Fixes #221240

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/221336
DeltaFile
+44-7llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+13-5llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-icmp-mixed-extends.ll
+1-1llvm/test/Transforms/SLPVectorizer/X86/minbw-node-used-twice.ll
+58-133 files

LLVM/project f94b3d1llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 pr48727.ll vector-fshr-rot-128.ll

[X86] combineX86ShuffleChain - only fold to truncate(concat(v1,v2)) if the concat is free (#221280)

Ensure we don't increase the shuffle chain depth
DeltaFile
+8-50llvm/test/CodeGen/X86/vector-trunc-nowrap.ll
+4-25llvm/test/CodeGen/X86/vector-trunc.ll
+13-9llvm/lib/Target/X86/X86ISelLowering.cpp
+6-6llvm/test/CodeGen/X86/vector-fshr-rot-128.ll
+3-3llvm/test/CodeGen/X86/pr48727.ll
+34-935 files

NetBSD/pkgsrc-wip af9b8cd. Makefile, pmonitor PLIST DESCR

pmonitor: add new package
DeltaFile
+20-0pmonitor/Makefile
+5-0pmonitor/distinfo
+4-0Makefile
+4-0pmonitor/DESCR
+3-0pmonitor/PLIST
+36-05 files

LLVM/project d69cde1llvm/test/Transforms/SLPVectorizer/X86 minbitwidth-icmp-mixed-extends.ll

[SLP][NFC]Add a test with incorrect comparison after vectorization, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/221332
DeltaFile
+346-0llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-icmp-mixed-extends.ll
+346-01 files

LLVM/project f1e6b2ellvm/test/Transforms/LoopVectorize induction-cost.ll

[VPlan] Extend induction cost test coverage (NFC). (#221323)

Widen induction-cost.ll's filter to cover all induction recipes and the
canonical IV increment, run it for two VFs, and add the FP and pointer
induction shapes it was missing entirely: scalarized
FAdd/FSub/invariant-step inductions, a dead induction in the vector
loop, one with both wide and scalar users, one inside a replicate
region, a fully unrolled one, and FP-plus-pointer and pointer-only
loops.
DeltaFile
+448-31llvm/test/Transforms/LoopVectorize/induction-cost.ll
+448-311 files

LLVM/project a65128ellvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp

[DAG] SplitVecRes_VECTOR_COMPRESS - rename MaskVT -> LoMaskVT. NFC. (#221285)

MaskVT refers to LoMask's type not the original Mask type.

Noticed in #215772 - avoids some potential Wshadow confusion.
DeltaFile
+6-6llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+6-61 files

LLVM/project c921457clang/lib/Driver/ToolChains AMDGPU.cpp, clang/lib/Headers/llvm_offload_wrappers/gpu __clang_gpu_libclc_declares.h __clang_gpu_math.h

add libclc math declarations
DeltaFile
+244-0clang/test/CodeGenCUDA/offload_via_llvm_math.cu
+212-0clang/lib/Headers/llvm_offload_wrappers/gpu/__clang_gpu_math.h
+164-0clang/lib/Headers/llvm_offload_wrappers/gpu/__clang_gpu_libclc_declares.h
+107-0offload/test/offloading/language/math.cpp
+35-0clang/test/Driver/llvmoffload-libclc.c
+7-5clang/lib/Driver/ToolChains/AMDGPU.cpp
+769-57 files not shown
+804-1213 files

LLVM/project ca1d8a8clang/lib/Headers __clang_gpu_builtin_vars.h CMakeLists.txt, clang/lib/Headers/llvm_offload_wrappers/gpu __clang_gpu_intrinsics.h __clang_gpu_device_functions.h

unify -foffload-via-llvm wrappers
DeltaFile
+0-358clang/lib/Headers/__clang_gpu_device_functions.h
+358-0clang/lib/Headers/llvm_offload_wrappers/gpu/__clang_gpu_device_functions.h
+0-230clang/lib/Headers/__clang_gpu_intrinsics.h
+230-0clang/lib/Headers/llvm_offload_wrappers/gpu/__clang_gpu_intrinsics.h
+55-28clang/lib/Headers/CMakeLists.txt
+0-62clang/lib/Headers/__clang_gpu_builtin_vars.h
+643-67817 files not shown
+867-85623 files

LLVM/project e0cfbdeoffload/test/offloading/CUDA blocking_stream_semantics.cu, offload/test/offloading/HIP blocking_stream_semantics.hip

unify tests
DeltaFile
+0-131offload/test/offloading/CUDA/blocking_stream_semantics.cu
+129-0offload/test/offloading/language/blocking_stream_semantics.cpp
+0-125offload/test/offloading/HIP/blocking_stream_semantics.hip
+106-0offload/test/offloading/language/stream_api.cpp
+102-0offload/test/offloading/language/get_errs.cpp
+100-0offload/test/offloading/language/devicesync_streams.cpp
+437-25646 files not shown
+1,112-1,94752 files

FreeNAS/freenas 8f5f3cc

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas b9b0f23tests/api2 test_s3_bucket.py test_s3_config.py

Run the S3 service suites unconditionally

The daemon is in the TrueNAS image now, so the two suites that start
it no longer wait for TRUENAS_S3_DAEMON to say a box has one. The
access key suite never needed it.

(cherry picked from commit b600cb68314579ad97c1f096c1ba0d4ad5462ed0)
DeltaFile
+0-9tests/api2/test_s3_config.py
+0-8tests/api2/test_s3_bucket.py
+0-172 files

FreeNAS/freenas 114f27btests/api2 test_s3_bucket.py test_s3_config.py

NAS-143161 / 26.0.0-RC.1 / Run the S3 service suites unconditionally (#19629)

The daemon is in the TrueNAS image now, so the two suites that start it
no longer wait for TRUENAS_S3_DAEMON to say a box has one. The access
key suite never needed it.
DeltaFile
+0-9tests/api2/test_s3_config.py
+0-8tests/api2/test_s3_bucket.py
+0-172 files