FreeBSD/src 4b17776sys/compat/freebsd32 freebsd32_misc.c

compat/freebsd32: set uio_rw for trailer's uio in freebsd32_sendfile()

PR:     297516
Reported by:    asomers
Fixes:  dfad790c8cca ("sendfile: stop abusing kern_writev()")
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+2-0sys/compat/freebsd32/freebsd32_misc.c
+2-01 files

FreeBSD/src 01d4e3csys/netipsec xform_ipcomp.c

netipsec/xform_ipcomp.c: fix sockaddr type set in ipcomp6_nonexp_encapcheck()

Noted and reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58646
DeltaFile
+1-1sys/netipsec/xform_ipcomp.c
+1-11 files

FreeBSD/src cba481asys/netipsec key.c

PF_KEY socket: limit the length of copied socket address

for SADB_UPDATE op SADB_X_EXT_NEW_ADDRESS_SRC/DST extensions, by
checking the sa_len matching the address family requirements before
doing the copy.

Also convert KEY_SETSECASIDX() and KEY_SETSECSPIDX() to functions and
apply the sa_len clamping there.

See https://github.com/0xdeadbeefnetwork/pfkey-sadb-overflow

PR:     297264
Tested by:      Wafa Hamzah <wafah at nvidia.com> (previous version)
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58646
DeltaFile
+69-59sys/netipsec/key.c
+69-591 files

FreeBSD/src fbe9aa7sys/netipsec key.c

netipsec/key.c::key_checksockaddrs(): constify src/dst address buffer pointers

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58646
DeltaFile
+4-1sys/netipsec/key.c
+4-11 files

FreeBSD/src 1a71d24sys/kern sys_process.c

kern/sys_process.c: make vmspace_rwmem() similar to io functions

In particular, if there were any bytes moved, and then vm_fault()
faulted, do not return an error, but report the short io instead.

PR:     297512
Reviewed by:    markj
Tested by:      Stéphane D'Alu <sdalu at sdalu.com>
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58838
DeltaFile
+5-4sys/kern/sys_process.c
+5-41 files

FreeBSD/src f6000e9sys/kern kern_proc.c

kern/kern_proc.c: do not throw out read data in get_ps_strings()

Since vmspace_iop()/proc_readmem() might return -1 on error from
vmspace_rwmem(), account for this and stop reading but return already
accumulated data if any, instead of returning an error.

PR:     297512
Reported and tested by: Stéphane D'Alu <sdalu at sdalu.com>
Reviewed by:    markj
Fixes:  e1b0d051bbf7 ("proc: Allow to make proc_rwmem() operate on a consistent address space")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58838
DeltaFile
+4-1sys/kern/kern_proc.c
+4-11 files

FreeBSD/ports 36f20b6www/lua-stream-nginx-module Makefile pkg-plist, www/lua-stream-nginx-module/files patch-src_ngx__stream__lua__module.c

www/{nginx,nginx-devel,freenginx}: 3rd-party modules management

Rename www/lua-stream-nginx-module to www/nginx-module-lua-stream
to follow the nginx-module-* naming scheme for dedicated 3rd-party
module ports and adjust the consumers. Relax the BUILD_DEPENDS to
an unversioned dependency while here, matching the LUA option.

While here, rename the internal NJS_QJS_CFLAGS variable to
_NJS_QJS_CFLAGS so it is no longer treated as an option helper.

Sponsored by:   Netzkommune GmbH
DeltaFile
+0-89www/lua-stream-nginx-module/pkg-plist
+89-0www/nginx-module-lua-stream/pkg-plist
+0-30www/lua-stream-nginx-module/Makefile
+30-0www/nginx-module-lua-stream/Makefile
+0-20www/lua-stream-nginx-module/files/patch-src_ngx__stream__lua__module.c
+20-0www/nginx-module-lua-stream/files/patch-src_ngx__stream__lua__module.c
+139-13916 files not shown
+184-18322 files

FreeBSD/src d9cf2a8usr.bin/login login.conf

Increase the default mlock limit from 64k to 256k

The current default has been unchanged for 14 years.  Increase it to
keep pace with modern hardware and software.  security/pinentry-gnome,
in particular, can sometimes need 112 kB.

PR:             297452
MFC after:      2 weeks
Sponsored by:   ConnectWise
Reviewed by:    cye, emaste
Differential Revision: https://reviews.freebsd.org/D58811
DeltaFile
+1-1usr.bin/login/login.conf
+1-11 files

FreeBSD/ports bd5e0b7devel/hs-ormolu Makefile.cabal Makefile

devel/hs-ormolu: Update 0.8.1.1 => 0.8.2.0

* Remove workaround for building ghc-lib-parser
  https://github.com/haskell/cabal/issues/10963

Approved by:            haskell@ (alven@)
Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+5-5devel/hs-ormolu/distinfo
+1-4devel/hs-ormolu/Makefile
+2-1devel/hs-ormolu/Makefile.cabal
+8-103 files

LLVM/project 2184774clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp, clang/test/CIR/CodeGen call-conv-lowering-x86_64-abi-compat.c call-conv-lowering-x86_64.c

[CIR] Accept fixed-width vectors in x86_64 callconv lowering (#215118)

The CallConvLowering bridge rejects a vector in a parameter or return
position, so a function taking one fails the pass. It also never reads
the AVX level, which is what decides whether a vector wider than 128
bits reaches a register.

A vector is accepted now where the classifier and clang size it the same
way, which means a whole-byte element and a power-of-two width. Scalable
vectors and the other widths stay rejected. The module's AVX level comes
from the target ABI name, as `CodeGenModule` does. A classifier per
level lets a target attribute raise it for one function. An ABI older
than the rule pins every function back to the module's level. A direct
call takes its callee's level, and an indirect call the level of the
function containing it.

CIRGen records target features on a definition but not on a declaration,
so a declaration carrying the attribute is classified at the module's
level until [#214986](https://github.com/llvm/llvm-project/pull/214986)

    [4 lines not shown]
DeltaFile
+165-0clang/test/CIR/CodeGen/call-conv-lowering-x86_64-avx.c
+129-33clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+77-0clang/test/CIR/CodeGen/call-conv-lowering-x86_64.c
+69-6clang/test/CIR/Transforms/abi-lowering/x86_64-vector.cir
+43-28clang/test/CIR/Transforms/abi-lowering/x86_64-variadic-call.cir
+56-6clang/test/CIR/CodeGen/call-conv-lowering-x86_64-abi-compat.c
+539-734 files not shown
+613-8510 files

FreeBSD/ports 6670b66lang/mono5.10 Makefile

lang/mono5.10: Fix EXPIRATION_DATE and bump PORTREVISION

Reported by:    FreshPorts Sanity Daemon
Pointy hat to:  arrowd
DeltaFile
+2-2lang/mono5.10/Makefile
+2-21 files

LLVM/project 3de6fefmlir/include/mlir/Dialect/SCF/Utils Utils.h, mlir/lib/Dialect/SCF/Utils Utils.cpp

[mlir] Add shouldPromoteIfSingleIteration option to loopUnrollByFactor (#215080)

Add a shouldPromoteIfSingleIteration parameter to loopUnrollByFactor to
control whether single-iteration loops are promoted during unrolling.
When set to false, the function skips calls to promoteIfSingleIteration
on the main loop, epilogue loop, and the unroll-factor-1 early-exit
path.

The parameter defaults to true to preserve existing behavior.
DeltaFile
+40-0mlir/test/Dialect/SCF/loop-unroll.mlir
+9-5mlir/lib/Dialect/SCF/Utils/Utils.cpp
+9-2mlir/test/lib/Dialect/SCF/TestLoopUnrolling.cpp
+4-1mlir/include/mlir/Dialect/SCF/Utils/Utils.h
+62-84 files

LLVM/project e3b0d11llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp

[reviews] Remove helper.
DeltaFile
+3-5llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+0-2llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+3-72 files

LLVM/project 0a9d67bllvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp

[reviews] Remove state variable.
DeltaFile
+1-4llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+0-2llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+1-62 files

LLVM/project 3b7142clldb/test/API/tools/lldb-dap/launch TestDAP_launch_stdio_redirection_and_console.py, lldb/test/API/tools/lldb-dap/launch/io TestDAP_launch_io_integratedTerminal.py

[lldb-dap][NFC] Use wildcard imports for test decorators (#216235)

Replace explicit imports `from ... import (a, b, c)` with wildcard
imports `from ... import *` for `lldbsuite.test.decorators`,

This lets downstream forks introduce extra decorators (e.g. to skip
tests on private configurations) without needing to patch each test's
import list.

[Related
discourse](https://discourse.llvm.org/t/do-we-want-to-tighten-up-imports-in-the-api-testcases/91557/3)
DeltaFile
+2-8lldb/test/API/tools/lldb-dap/module/TestDAP_module.py
+1-8lldb/test/API/tools/lldb-dap/launch/TestDAP_launch_stdio_redirection_and_console.py
+1-7lldb/test/API/tools/lldb-dap/stopped-events/TestDAP_stopped_events.py
+1-7lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_console.py
+1-7lldb/test/API/tools/lldb-dap/launch/io/TestDAP_launch_io_integratedTerminal.py
+2-6lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
+8-4357 files not shown
+70-14763 files

FreeBSD/ports e0a8544science/ALPSCore distinfo Makefile

science/ALPSCore: Update 2.3.2 => 2.3.3

* Clarify LICENSE
* Fix build with current HDF5 versions instead of hardcoded one

PR:                     297478
Co-authored by:         alven@
Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+7-8science/ALPSCore/Makefile
+3-3science/ALPSCore/distinfo
+10-112 files

FreeBSD/ports 2752154science/ALPSCore Makefile

science/ALPSCore: Lint the port (cosmetic improvements)

* Pet portclippy(1) and portfmt(1)
DeltaFile
+5-5science/ALPSCore/Makefile
+5-51 files

LLVM/project cbf19fdllvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/Transforms/LoopVectorize/AArch64 partial-reduce-add-sdot-i16-i32.ll vector-reverse.ll

[AArch64][CostModel] Adjust the cost of pure partial add reductions. (#214723)

These reductions can lower to a [SU]ADALP rather than a widening add
pair, so using partial reductions becomes profitable for two-way
widening reduction loops such as (https://godbolt.org/z/v8vr9Pzqb):
```c
long sadalp(const int *a, long n) {
  long s = 0;
  for (long i = 0; i < n; i++)
    s += (long)a[i];
  return s;
}
```
DeltaFile
+18-18llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce.ll
+14-4llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-costs.ll
+9-7llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-usabs.ll
+4-4llvm/test/Transforms/LoopVectorize/AArch64/vector-reverse.ll
+3-2llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+2-2llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-add-sdot-i16-i32.ll
+50-371 files not shown
+51-387 files

FreeBSD/ports 50d5529lang/mono5.10 Makefile

lang/mono5.10: Workaround the build failure with libtool 2.6

PR:             296964
DeltaFile
+2-1lang/mono5.10/Makefile
+2-11 files

FreeBSD/ports 16454e9lang/mono5.10 Makefile

lang/mono5.10: Mark DEPRECATED
DeltaFile
+3-0lang/mono5.10/Makefile
+3-01 files

LLVM/project 8d95903clang/test/Analysis lifetime-bound.cpp

Correct CHECK-NEXT lines.
DeltaFile
+4-4clang/test/Analysis/lifetime-bound.cpp
+4-41 files

LLVM/project 6b04339clang/docs ReleaseNotes.md, clang/lib/Sema SemaDeclCXX.cpp

[Clang][Sema] Fix an ICE where structured binding packs within a lambda were not added to the CapturingScopeInfo (#214716)

Fixed a bug where structured binding packs within a lambda were not
added to the `CapturingScopeInfo` during `ActOnDecompositionDeclarator`,
which also led to invalid expressions being considered for delayed
lambda diagnostics, when they should have been diagnosed immediately.

Fixes #214160

Signed-off-by: Baba Dan Constantin <babadany2999 at gmail.com>
DeltaFile
+42-0clang/test/SemaCXX/cxx2c-binding-pack.cpp
+5-0clang/lib/Sema/SemaDeclCXX.cpp
+1-0clang/docs/ReleaseNotes.md
+48-03 files

FreeBSD/ports 0b13bc1www/code-server Makefile.install Makefile

www/code-server: Update to 4.132.0

Update to code-server 4.132.0, which bundles VS Code 1.132.0.

Changelog: https://github.com/coder/code-server/releases

Sponsored by:   Netzkommune GmbH
DeltaFile
+85-28www/code-server/pkg-plist
+13-13www/code-server/distinfo
+3-3www/code-server/Makefile
+3-0www/code-server/Makefile.install
+104-444 files

LLVM/project e6be2fdclang/lib/CodeGen BackendUtil.cpp, llvm/include/llvm/Analysis RuntimeLibcallInfo.h

CodeGen: Remove TargetOptions::FloatABIType

This is now fully replaced with the "float-abi" module flag.
If the module flag is not present, the default is computed
from the triple. Consumers are updated to read the module flag.

RuntimeLibraryAnalysis now defers analysis until run() on a Module,
instead of during the pass constructor as before. This requires copying
all of the remaining relevant TargetOptions so they are available
when the module is seen.

Unfortunately, ARM still depends on TargetOptions for determining
the float-abi. -target-abi=aapcs16 still changes the default float-abi,
but an explicit module flag wins.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+45-0llvm/test/LTO/ARM/float-abi-module-flag.ll
+19-17llvm/include/llvm/Analysis/RuntimeLibcallInfo.h
+15-20llvm/lib/Target/ARM/ARMTargetMachine.cpp
+28-0llvm/test/Transforms/Util/DeclareRuntimeLibcalls/float-abi-module-flag.ll
+5-18llvm/lib/Analysis/RuntimeLibcallInfo.cpp
+3-14clang/lib/CodeGen/BackendUtil.cpp
+115-6923 files not shown
+174-12629 files

LLVM/project 9c7fa49llvm/lib/CodeGen CommandFlags.cpp, llvm/test/CodeGen/ARM float-abi-synthesize-flag.ll

CodeGen: Synthesize "float-abi" module flag from -float-abi

Avoid annoying test updates when the corresponding TargetOptions
field is removed. Make the -float-abi llc/opt option a lit test
convenience that records the floating-point ABI in the IR,
mirroring how -mcpu/-mattr are recorded as function attributes.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+32-0llvm/test/CodeGen/ARM/float-abi-synthesize-flag.ll
+11-1llvm/lib/CodeGen/CommandFlags.cpp
+43-12 files

LLVM/project 0a6f574llvm/lib/CodeGen CommandFlags.cpp, llvm/test/CodeGen/ARM float-abi-module-flag.ll float-abi-synthesize-flag.ll

Error on -float-abi conflicting with the "float-abi" module flag
DeltaFile
+17-5llvm/lib/CodeGen/CommandFlags.cpp
+5-3llvm/test/CodeGen/ARM/float-abi-module-flag.ll
+6-2llvm/test/CodeGen/ARM/float-abi-synthesize-flag.ll
+3-2llvm/test/CodeGen/CSKY/float-abi-module-flag.ll
+31-124 files

LLVM/project 6d7e249llvm/lib/CodeGen CommandFlags.cpp

Remove opt description change
DeltaFile
+1-3llvm/lib/CodeGen/CommandFlags.cpp
+1-31 files

LLVM/project 52c14ccllvm/include/llvm/ExecutionEngine/Orc LLJIT.h, llvm/lib/ExecutionEngine/Orc LLJIT.cpp

lli: Record the host triple on triple-less modules (#216132)

The JIT compiles for the host, but modules without a target triple kept
an empty triple, which module-triple-based analyses (e.g. runtime
libcall selection) cannot resolve. Set the resolved JIT triple on the
module. This defends against jit test regressions when
RuntimeLibraryInfo
starts getting computed from the module instead of TargetOptions.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+6-3llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
+6-1llvm/tools/lli/lli.cpp
+1-1llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
+13-53 files

LLVM/project ff5e780llvm/lib/Target/AMDGPU GCNSubtarget.h SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU fdot2.ll

[AMDGPU] Fix performFMACombine FDOT2 fold for subnormal handling (#205101)

The fold from v_fma_mix_f32 pairs to v_dot2_f32_f16/v_dot2c_f32_f16
was gated only on fp-contract flags, ignoring how each instruction
handles f16 subnormal inputs under different denormal modes.

Hardware testing across multiple GPU generations shows that gfx90a
(CDNA2) is the sole outlier: v_dot2c unconditionally flushes f16
subnormal inputs to zero in all MODE configurations, while v_fma_mix_f32
preserves them when ieee=1 (the default compute kernel mode). All other
tested GPUs with dot2 instruction do not flush f16 subnormal inputs.
Add GCNSubtarget::dot2UnconditionalFlush() to capture this hardware
quirk.

Gate the fold on the function's f32 denormal mode:
- dot2UnconditionalFlush(): allow fold only when f32 denorm =
  PreserveSign, so both instructions flush f16 subnormals.
- All other GPUs: allow fold only when f32 denorm = IEEE, so both
  instructions preserve f16 subnormals. Dynamic mode is also rejected

    [9 lines not shown]
DeltaFile
+89-6llvm/test/CodeGen/AMDGPU/fdot2.ll
+32-3llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+6-0llvm/lib/Target/AMDGPU/GCNSubtarget.h
+127-93 files

FreeBSD/ports 4c5a943devel/jetbrains-clion pkg-plist

devel/jetbrains-clion: fix plist (+)

Autogenerated substitution of "make makeplist" needs more eyes and care.

%%PYTHON_SUFFIX%%. %%SQLITE_ARCH%% and %%ARCH%% macros applied mostly in wrong places

Reported by:    bulk -t
Approved by:    portmgr blanket
DeltaFile
+27-27devel/jetbrains-clion/pkg-plist
+27-271 files