LLVM/project 7920821llvm/include/llvm/IR IntrinsicsNVVM.td, llvm/lib/Target/NVPTX NVPTXLowerArgs.cpp

[NVPTX] Rewrite kernel signatures in param AS (#204192)

Rewrite the kernel signatures moving byval parameters directly into
entry parameter address space (similar to how ExpandVariadics handles
va_arg functions). This avoids the need for the somewhat hacky
nvvm_internal_addrspace_wrap intrinsic and enables better support for
parameter short pointers.
DeltaFile
+140-210llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
+177-142llvm/test/CodeGen/NVPTX/lower-byval-args.ll
+43-47llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
+45-0llvm/test/CodeGen/NVPTX/lower-byval-args-dbg.ll
+21-0llvm/test/CodeGen/NVPTX/lower-byval-args-idempotent.ll
+0-15llvm/include/llvm/IR/IntrinsicsNVVM.td
+426-4146 files not shown
+443-43112 files

FreeBSD/src 2586f9fsys/dev/virtio/p9fs virtio_p9fs.c

virtio/p9fs: Define the channel list mutex as static

No functional change intended.

MFC after:      1 week
DeltaFile
+1-1sys/dev/virtio/p9fs/virtio_p9fs.c
+1-11 files

FreeBSD/src 9498924sys/dev/virtio/p9fs virtio_p9fs.c, sys/fs/p9fs p9_transport.h

p9fs: Remove the "cancel" transport method

Nothing calls it, and the existing virtio transport doesn't implement
it.  No functional change intended.

MFC after:      1 week
DeltaFile
+0-8sys/dev/virtio/p9fs/virtio_p9fs.c
+0-2sys/fs/p9fs/p9_transport.h
+0-102 files

LLVM/project 8ae6b68compiler-rt/lib/instrumentor-tools/fp-precision-analysis fp_precision_analysis_runtime.cpp CMakeLists.txt, compiler-rt/test/instrumentor-tools precision_fp16_overflow.c precision_detailed.c

[Instrumentor] Add runtime examples: [2/N] A FP precision analysis

Second example:
Check all floating point operations and track if they could be done at
lower precision.

Partially developped by Claude (AI), tested and verified by me.
DeltaFile
+603-0compiler-rt/lib/instrumentor-tools/fp-precision-analysis/fp_precision_analysis_runtime.cpp
+92-0compiler-rt/test/instrumentor-tools/precision_fp16_overflow.c
+76-0compiler-rt/test/instrumentor-tools/precision_detailed.c
+67-0compiler-rt/lib/instrumentor-tools/fp-precision-analysis/CMakeLists.txt
+66-0compiler-rt/test/instrumentor-tools/precision_mixed.c
+56-0compiler-rt/test/instrumentor-tools/simple_precision.c
+960-04 files not shown
+1,014-410 files

FreeBSD/src 2226481contrib/ldns configure configure.ac, contrib/ldns/ldns util.h config.h

ldns: Update to 1.9.2

Merge commit '3750aed65c1f5a610b44d29c92236ca119b62780'

(cherry picked from commit 63442ceae5ed31ad45e401f5fe0010b824bc2b38)
DeltaFile
+13-12contrib/ldns/configure
+4-3contrib/ldns/configure.ac
+2-2contrib/ldns/ldns/util.h
+4-0contrib/ldns/Changelog
+2-2contrib/ldns/ldns/config.h
+25-195 files

FreeBSD/src a878e7bcontrib/ldns configure config.guess, contrib/ldns/ldns config.h

ldns: Update to 1.9.1

Merge commit '026e5b88eb0cde54d9fc22b9a1ebc79ea0f67aec'

(cherry picked from commit 4593470d16714d83ac06a3ccc319f998a02ced07)
DeltaFile
+15-13contrib/ldns/configure
+11-6contrib/ldns/config.guess
+6-5contrib/ldns/config.sub
+6-4contrib/ldns/configure.ac
+4-0contrib/ldns/Changelog
+2-2contrib/ldns/ldns/config.h
+44-301 files not shown
+46-327 files

FreeBSD/src c31042acontrib/ldns configure configure.ac, contrib/ldns/ldns config.h util.h

ldns: Update to 1.9.2

Merge commit '3750aed65c1f5a610b44d29c92236ca119b62780'

(cherry picked from commit 63442ceae5ed31ad45e401f5fe0010b824bc2b38)
DeltaFile
+13-12contrib/ldns/configure
+4-3contrib/ldns/configure.ac
+2-2contrib/ldns/ldns/config.h
+4-0contrib/ldns/Changelog
+2-2contrib/ldns/ldns/util.h
+25-195 files

FreeBSD/src a1977a1contrib/ldns configure config.guess, contrib/ldns/ldns config.h

ldns: Update to 1.9.1

Merge commit '026e5b88eb0cde54d9fc22b9a1ebc79ea0f67aec'

(cherry picked from commit 4593470d16714d83ac06a3ccc319f998a02ced07)
DeltaFile
+15-13contrib/ldns/configure
+11-6contrib/ldns/config.guess
+6-5contrib/ldns/config.sub
+6-4contrib/ldns/configure.ac
+4-0contrib/ldns/Changelog
+2-2contrib/ldns/ldns/config.h
+44-301 files not shown
+46-327 files

OpenZFS/src 2ea519cmodule/os/freebsd/zfs zfs_dir.c zfs_znode_os.c

FreeBSD: avoid lookup overhead for nonexistent xattr directories

Port the z_xattr_dir_absent cache to FreeBSD.  As on Linux, a
getextattr that misses in the SA otherwise falls through to
zfs_get_xattrdir(), which takes the "" ZXATTR dirlock and reads
SA_ZPL_XATTR only to find the file has no xattr directory.  The
in-core znode now caches that: after an SA miss zfs_getextattr_impl()
skips the directory lookup when the flag is set, zfs_get_xattrdir()
sets it when no directory is found and clears it when one is found,
and zfs_make_xattrdir() clears it on creation, which also covers the
TX_MKXATTR ZIL replay path.

The flag is serialized by the base file's vnode lock.
zfs_make_xattrdir(), the only path that creates the directory and
clears the flag, runs with the vnode held exclusive, while every
reader that sets the flag holds it shared, so a set can never race
the clear.  ASSERT_VOP_ELOCKED() in zfs_make_xattrdir() and
ASSERT_VOP_LOCKED() in zfs_get_xattrdir() enforce this, both skipped
during ZIL replay since it is single threaded with no locked vnode.

    [8 lines not shown]
DeltaFile
+27-1module/os/freebsd/zfs/zfs_dir.c
+4-0module/os/freebsd/zfs/zfs_znode_os.c
+1-1module/os/freebsd/zfs/zfs_vnops_os.c
+32-23 files

OpenZFS/src 04092e8include/sys zfs_znode.h, module/os/linux/zfs zfs_dir.c zpl_xattr.c

Avoid lookup overhead for nonexistent xattr directories

A getxattr that misses in the file's SA falls through to
zfs_get_xattrdir(), which takes the "" ZXATTR dirlock and issues an
sa_lookup(SA_ZPL_XATTR), only to find the file has no xattr directory at
all. security.capability is the common trigger: the kernel probes it on
file access (get_vfs_caps_from_disk()), so for the many files that carry
no extended attributes the same fruitless lookup repeats constantly.
Profiling an SMB metadata workload showed roughly 6% of CPU spent in
zfs_get_xattrdir(), every call missing and returning ENOENT.

Cache the result in the in-core znode: a new boolean marks a file as
having no xattr directory. When it is set, a getxattr that misses in the
SA returns ENODATA from __zpl_xattr_get() without the zfs_lookup into
zfs_get_xattrdir, so neither the "" ZXATTR dirlock nor the SA_ZPL_XATTR
lookup runs. The flag is set when the directory lookup finds nothing and
cleared in zfs_make_xattrdir() whenever a directory is created, so the
setxattr and TX_MKXATTR ZIL replay paths are both covered. It is updated
under the existing z_xattr_lock and defaults to the real lookup, so

    [9 lines not shown]
DeltaFile
+16-0module/os/linux/zfs/zfs_dir.c
+6-0module/os/linux/zfs/zpl_xattr.c
+4-0module/os/linux/zfs/zfs_znode_os.c
+1-0module/os/linux/zfs/zfs_ctldir.c
+1-0include/sys/zfs_znode.h
+28-05 files

LLVM/project f4a8eb0offload/liboffload/API Memory.td, offload/plugins-nextgen/amdgpu/src rtl.cpp

[offload] add support for aligned allocations (#203353)

This patch is the first step towards introducing alignment support in
memory allocations using liboffload, in order to enable SYCL
implementation of aligned allocations.

At the level of device allocators, it does not modify the Level Zero
code except for forwarding the alignment parameter, since Level Zero
already allows for specifying the alignment in its device allocator
implementation. For AMD and CUDA, it checks whether the alignment passed
by the caller is supported by the given backend; the reasoning behind
this verification is described in the following paragraphs. At the API
level, it adds a new function olMemAllocAligned, which is expected to
work similarly to olMemAlloc, with the difference that the buffers
returned by olMemAllocAligned should be aligned to the alignment passed
by the user. At the level of the plugin interface internal abstractions,
it adds a new argument Alignment to existing functions and delegates
memory allocation between olMemAllocAligned and olMemAlloc
implementations by using a common helper function.

    [37 lines not shown]
DeltaFile
+211-0offload/unittests/OffloadAPI/memory/olMemAllocAligned.cpp
+54-9offload/plugins-nextgen/amdgpu/src/rtl.cpp
+39-1offload/plugins-nextgen/cuda/src/rtl.cpp
+19-14offload/plugins-nextgen/common/include/MemoryManager.h
+27-0offload/liboffload/API/Memory.td
+14-10offload/plugins-nextgen/common/src/PluginInterface.cpp
+364-346 files not shown
+393-4612 files

OPNSense/plugins 2e2abacnet/frr/src/opnsense/mvc/app/models/OPNsense/Quagga General.xml

net/frr: Better force a migration for manual_config to ensure its always there
DeltaFile
+5-2net/frr/src/opnsense/mvc/app/models/OPNsense/Quagga/General.xml
+5-21 files

OpenZFS/src 520eeeamodule/zfs vdev.c

Improve performance of "zpool offline" for log devices

When offlining a log device, if it's part of a mirror that would still
be available after the offline operation, skip replaying the ZIL for
every dataset.  This drastically improves the performance of "zpool
offline" for one log device of a mirrored pair.

Sponsored by: ConnectWise
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alek Pinchuk <alek.pinchuk at connectwise.com>
Signed-off-by:  Alan Somers <asomers at gmail.com>
Closes #18664
DeltaFile
+8-5module/zfs/vdev.c
+8-51 files

OpenZFS/src 1fbd5e3tests/zfs-tests/tests/functional/events events_common.kshlib

honor file argument in file_wait_event

grep the log path passed by the caller instead of always using
ZED_DEBUG_LOG.

Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alek Pinchuk <Alek.Pinchuk at connectwise.com>
Closes #18700
DeltaFile
+1-1tests/zfs-tests/tests/functional/events/events_common.kshlib
+1-11 files

LLVM/project 618edfalibcxx/include/__ranges transform_view.h, libcxx/test/libcxx/ranges/range.adaptors/range.transform nodiscard.verify.cpp adaptor.nodiscard.verify.cpp

[libc++][ranges] Applied [[nodiscard]] to `transform_view` (#204014)

[[nodiscard]] should be applied to functions where discarding the return
value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/range.transform

Towards https://github.com/llvm/llvm-project/issues/172124

---------

Co-authored-by: A. Jiang <de34 at live.cn>
Co-authored-by: Hristo Hristov <zingam at outlook.com>
DeltaFile
+103-0libcxx/test/libcxx/ranges/range.adaptors/range.transform/nodiscard.verify.cpp
+32-21libcxx/include/__ranges/transform_view.h
+0-23libcxx/test/libcxx/ranges/range.adaptors/range.transform/adaptor.nodiscard.verify.cpp
+135-443 files

LLVM/project 768ad61mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-wsloop-linear.mlir

[mlir][OpenMP] Don't use label prefixes on linear variable rewrite (#200900)

This is a follow-up to #194623. After that PR, matching specific label
prefixes became unnecessary. In fact, doing so could potentially lead
to missed linear variables in the rewrite, if they appear in basic
blocks with unexpected label prefixes.
DeltaFile
+17-43mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+32-0mlir/test/Target/LLVMIR/openmp-wsloop-linear.mlir
+49-432 files

OPNSense/plugins bc38525net/frr/src/opnsense/mvc/app/library/OPNsense/System/Status FrrManualConfigStatus.php, net/frr/src/opnsense/mvc/app/models/OPNsense/Quagga/Menu Menu.php Menu.xml

net/frr: Hide daemon specific menu entries when manual_config is enabled
DeltaFile
+86-0net/frr/src/opnsense/mvc/app/models/OPNsense/Quagga/Menu/Menu.php
+0-57net/frr/src/opnsense/mvc/app/library/OPNsense/System/Status/FrrManualConfigStatus.php
+0-6net/frr/src/opnsense/mvc/app/models/OPNsense/Quagga/Menu/Menu.xml
+86-633 files

LLVM/project 74282bfcompiler-rt/lib/instrumentor-tools instrumentor_runtime.h, compiler-rt/lib/instrumentor-tools/flop-counter flop_counter_runtime.cpp README.md

[Instrumentor] Add runtime examples: [1/N] A flop counter

This adds a instrumentor-tools folder into compiler RT to showcase
use cases of the instrumentor. The initial example is a program that,
via instrumentation, counts the number of flops performed. Call and
intrinsic support will follow after #198042.

Partially developped by Claude (AI), tested and verified by me.
DeltaFile
+295-0compiler-rt/lib/instrumentor-tools/instrumentor_runtime.h
+169-0compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_runtime.cpp
+77-0compiler-rt/lib/instrumentor-tools/flop-counter/README.md
+75-0compiler-rt/test/instrumentor-tools/lit.cfg.py
+67-0compiler-rt/lib/instrumentor-tools/flop-counter/CMakeLists.txt
+54-0compiler-rt/test/instrumentor-tools/CMakeLists.txt
+737-010 files not shown
+948-116 files

LLVM/project 9d96499

empty commit
DeltaFile
+0-00 files

Linux/linux f0e6f20fs/ntfs3 file.c fslog.c

Merge tag 'ntfs3_for_7.2' of https://github.com/Paragon-Software-Group/linux-ntfs3

Pull ntfs3 updates from Konstantin Komarov:
 "Added:
   - depth limit to indx_find_buffer() to prevent stack overflow
   - validate split-point offset in indx_insert_into_buffer()
   - bounds check to run_get_highest_vcn()
   - fileattr_get() and fileattr_set() support
   - zero stale pagecache beyond valid data length
   - handle delayed allocation overlap in run lookup
   - validate lcns_follow in log_replay() conversion
   - cap RESTART_TABLE free-chain walker at rt->used
   - resize log->one_page_buf when adopting on-disk page size
   - reject direct userspace writes to reserved $LX* xattrs

  Fixed:
   - out-of-bounds read in decompress_lznt()
   - avoid -Wmaybe-uninitialized warnings
   - hold ni_lock across readdir metadata walk

    [45 lines not shown]
DeltaFile
+160-175fs/ntfs3/file.c
+140-19fs/ntfs3/fslog.c
+101-18fs/ntfs3/index.c
+32-46fs/ntfs3/inode.c
+71-4fs/ntfs3/run.c
+24-14fs/ntfs3/frecord.c
+528-2767 files not shown
+591-30313 files

LLVM/project 2f0b11cllvm/lib/Transforms/Scalar LoopInterchange.cpp

[LoopInterchange] Remove some early exits in transform phase (NFCI)
DeltaFile
+6-10llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+6-101 files

OpenBSD/src 0e90cuPsys/dev/ata wd.c, sys/kern kern_pledge.c

   More prep for 52 disk partitions.

   Remove O_disklabel and O_DIOCGDINFO now that the ABI
   crossover should be complete. Lest these XXX bits take
   root.
VersionDeltaFile
1.136+1-7sys/dev/ata/wd.c
1.343+1-7sys/scsi/sd.c
1.15+1-5sys/sys/dkio.h
1.359+1-2sys/kern/kern_pledge.c
+4-214 files

LLVM/project 44409a0flang/cmake/caches PGO.cmake PGO-stage2-instrumented.cmake, flang/test CMakeLists.txt bolt.lit.cfg

[flang][cmake][perf-training] Optimize flang with PGO and BOLT (#198863)

This is an attempt to replicate similar fearture already available to
clang. The changes in this patch were made with an intent to reuse as
much of existing infrastructure as possible. Namely, two-stage build
arrangement, perf-helper.py script and the means for building of the
instrumented binaries have all been incorporated into this approach.

It was deliberately chosen to optimize clang along with flang as they
are mostly working together in the final toolchain.

See the `llvm/docs/AdvancedBuilds.rst` documentation for more details.

Note that the attempt to optimize flang has exceeded one of the BOLT
limitations. The size of one of the statically allocated buffers needed
to be extended in this patch.
DeltaFile
+210-0flang/test/CMakeLists.txt
+82-6llvm/docs/AdvancedBuilds.rst
+37-0flang/cmake/caches/PGO.cmake
+31-0flang/test/bolt.lit.cfg
+28-0flang/cmake/caches/PGO-stage2-instrumented.cmake
+26-0flang/cmake/caches/BOLT-PGO.cmake
+414-68 files not shown
+496-2414 files

LLVM/project 55b4570bolt/runtime common.h

[BOLT] Increase BufSize in runtime/common.h (#204607)

During my work towards bolring the flang binary, I've encountered a
frequently occuring problem with running out of the buffer space.

The problem affects C++ programs with a decent number of very long
symbol names, which is inevitable when using template metaprogramming.
As one can clearly see, flang is one of such programs.

The proposed BufSize value is an effect of the trial-and-error process
aiming at finiding the smallest reasonable increase.
DeltaFile
+1-1bolt/runtime/common.h
+1-11 files

FreeBSD/src bd1c0ffinclude fts.h, lib/libc/gen fts.c

Revert "fts: refactor to use fd-relative operations internally"

This reverts commit e03ed9daeb49fffa1d16b8d00240c65e92650d01.

The change to the size of struct FTSENT is breaking backwards
compatibility for some binaries.  Jitendra is working on a new version
that will move the new field into a private struct.

Reported by:    bdrewery
Fixes:          e03ed9daeb4 ("fts: refactor to use fd-relative operations")
Sponsored by:   ConnectWise
DeltaFile
+11-27lib/libc/gen/fts.c
+0-1include/fts.h
+11-282 files

FreeBSD/ports bf82d17misc Makefile, misc/grok-build Makefile pkg-message

misc/grok-build: New port: CLI for xAI Grok AI platform
DeltaFile
+54-0misc/grok-build/Makefile
+14-0misc/grok-build/pkg-message
+5-0misc/grok-build/distinfo
+4-0misc/grok-build/pkg-descr
+1-0misc/Makefile
+78-05 files

OPNSense/plugins 3ed50d8net/frr/src/opnsense/mvc/app/controllers/OPNsense/Quagga/forms general.xml, net/frr/src/opnsense/mvc/app/models/OPNsense/Quagga General.php

net/frr: Simplify hiding logic in general.volt, make sweep
DeltaFile
+3-21net/frr/src/opnsense/mvc/app/views/OPNsense/Quagga/general.volt
+10-10net/frr/src/opnsense/mvc/app/models/OPNsense/Quagga/General.php
+3-8net/frr/src/opnsense/mvc/app/controllers/OPNsense/Quagga/forms/general.xml
+16-393 files

FreeNAS/freenas ac83ce2src/middlewared/middlewared/plugins/zfs snapshot_rollback_impl.py, tests/api2 test_zfs_resource_snapshot_rollback.py

Use `truenas_pylibzfs.MoreRecentSnapshotsExist` for more user-friendly error message
DeltaFile
+20-0tests/api2/test_zfs_resource_snapshot_rollback.py
+6-2src/middlewared/middlewared/plugins/zfs/snapshot_rollback_impl.py
+26-22 files

NetBSD/src TRXS1PLdoc CHANGES-11.0

   Ticket #324
VersionDeltaFile
1.1.2.103+9-1doc/CHANGES-11.0
+9-11 files

NetBSD/src dkZUQP5usr.sbin/sysinst util.c

   Pull up the following revisions, requested by martin in ticket #324:

   usr.sbin/sysinst/util.c                              1.82,1.83

   PR 60354: move the test and new message about optional sets missing
   into the correct place so it only shows the message when we really
   can not find the set.
   This only applies to local files.
VersionDeltaFile
1.77.4.3+17-14usr.sbin/sysinst/util.c
+17-141 files