FreeBSD/src 926a8ba — sys/dev/netmap netmap_generic.c netmap_freebsd.c

netmap: Handle TX buffers larger than MCLBYTES

The generic netmap TX pool always allocates standard clusters
(zone_clust), even though the buffer size may be larger.

INVARIANTS kernels panic in nm_os_get_mbuf() on first transmit through a
non-native NIC (e.g. re or epair) using netmap with jumbo frames
configured.  Release kernels silently truncate frames in
nm_os_generic_xmit_frame().

Implement cluster zone selection based on the requested size.  Catch
oversized requests in nm_os_catch_tx() and return EINVAL.  Add a KASSERT
before the truncation fallback in xmit.  Make nm_os_get_mbuf() take a
uint32_t size, matching the type of the value passed to it.

Tested using epair, pkt-gen, and tcpdump on release (15.1) and
INVARIANTS (main) kernels at buffer sizes 2048/4096/9216/16384.

Reviewed by:    vmaffione, kevans, markj

    [2 lines not shown]
DeltaFile
+21-9sys/dev/netmap/netmap_kern.h
+10-0sys/dev/netmap/netmap_freebsd.c
+2-2sys/dev/netmap/netmap_generic.c
+33-113 files

FreeBSD/src 7004693 — lib/libutil Symbol.map Makefile

libutil: Introduce fhexdump(3)

Extend hexdump(3) to write to a given stream.

Reviewed by:    kevans
Approved by:    kevans (mentor)
Differential Revision:  https://reviews.freebsd.org/D61177
DeltaFile
+17-12lib/libutil/hexdump.c
+15-4lib/libutil/hexdump.3
+2-0lib/libutil/libutil.h
+1-0lib/libutil/Symbol.map
+1-0lib/libutil/Makefile
+36-165 files

FreeBSD/src 8bb34ce — lib/liblua luaconf.local.h

liblua: Accept + and e in io.popen mode

Our popen(3) accepts more than the historical "r" and "w" types.  Define
the appropriate macro to provide a custom mode check accepting all valid
pipe types.

Reviewed by:    kevans
Approved by:    kevans (mentor)
Differential Revision:  https://reviews.freebsd.org/D61175
DeltaFile
+4-0lib/liblua/luaconf.local.h
+4-01 files

FreeBSD/src 3e297e9 — lib/libifconfig libifconfig_sfp_tables.tpl.h libifconfig_sfp_tables.tpl.c

libifconfig: Fix SFP table generators for Lua 5.5

This fixes Lua 5.5 compat in the .c template, where the first loop
variable '_' becomes const in Lua 5.5.  Use select() to discard inside
the loop instead.

While here, fix a mismatched variable name in the corresponding header
template.

Reported by:    Austin Horstman <khaneliman12 at gmail.com>
Reviewed by:    kevans
Approved by:    kevans (mentor)
Closes:         https://github.com/freebsd/freebsd-src/pull/2473
Differential Revision:  https://reviews.freebsd.org/D61455
DeltaFile
+1-1lib/libifconfig/libifconfig_sfp_tables.tpl.h
+1-1lib/libifconfig/libifconfig_sfp_tables.tpl.c
+2-22 files

FreeBSD/src a6b57c4 — lib/liblua luaconf.h, stand/liblua luaconf.h

lua: Prune unused luaconf.h copies

Both stand and lib use luaconf.h from contrib and make local
customizations in their respective luaconf.local.h files since
8c784bb8cf36.

Reviewed by:    kevans, imp
Approved by:    kevans (mentor)
Fixes:          8c784bb8cf36 ("lua: Update to 5.4.4")
MFC after:      3 days
MFC to:         stable/14, stable/15
Differential Revision:  https://reviews.freebsd.org/D61456
DeltaFile
+0-786stand/liblua/luaconf.h
+0-769lib/liblua/luaconf.h
+0-1,5552 files

FreeBSD/ports 8403956 — sysutils/vm-bhyve-devel Makefile pkg-plist

sysutils/vm-bhyve-devel: Fix plist

$ make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PORTEXAMPLES%%%%EXAMPLESDIR%%/freebsd-arm64.conf
Error: Orphaned: %%PORTEXAMPLES%%%%EXAMPLESDIR%%/linux-arm64.conf
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q4

(cherry picked from commit d69aa9260797b99a95351f586e632c70dcb3c421)
DeltaFile
+5-3sysutils/vm-bhyve-devel/pkg-plist
+1-0sysutils/vm-bhyve-devel/Makefile
+6-32 files

FreeBSD/ports d69aa92 — sysutils/vm-bhyve-devel Makefile pkg-plist

sysutils/vm-bhyve-devel: Fix plist

$ make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PORTEXAMPLES%%%%EXAMPLESDIR%%/freebsd-arm64.conf
Error: Orphaned: %%PORTEXAMPLES%%%%EXAMPLESDIR%%/linux-arm64.conf
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q4
DeltaFile
+5-3sysutils/vm-bhyve-devel/pkg-plist
+1-0sysutils/vm-bhyve-devel/Makefile
+6-32 files

NetBSD/pkgsrc TIkNBg2 — doc CHANGES-2026

   doc: Updated net/tailscale to 1.104.7
VersionDeltaFile
1.7985+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc vM1s4RW — net/tailscale Makefile distinfo

   tailscale: update to 1.104.7

   Go is updated to Go 1.27.4, to explicitly resolve an issue in TLS
   ClientHello where some middleboxes break connections to the Tailscale
   control plane.
VersionDeltaFile
1.20+4-4net/tailscale/distinfo
1.44+3-3net/tailscale/Makefile
+7-72 files

FreeBSD/src 74d72b3 — contrib/llvm-project/clang/lib/Headers arm_acle.h

clang: Fix warnings in ARM GCS ACLE header

Including <arm_acle.h> in C code compiled with -Wstrict-prototypes
results in warnings (or errors if -Werror is in effect) due to missing
parameter lists for __gcspr() and __gcspopm().

Submitted upstream as PR#242286.

MFC after:      1 week
Reported by:    Pete French <pete at twisted.org.uk>
Reviewed by:    dim
Differential Revision:  https://reviews.freebsd.org/D61503
DeltaFile
+2-2contrib/llvm-project/clang/lib/Headers/arm_acle.h
+2-21 files

LLVM/project 5b42107 — libcxx/test/std/ranges/coro.generator/promise lwg3894.pass.cpp

fix test
DeltaFile
+47-47libcxx/test/std/ranges/coro.generator/promise/lwg3894.pass.cpp
+47-471 files

LLVM/project 0188980 — libc/shared/math dmulf128.h, libc/src/__support/math dmulf128.h

[libc] add emulated f128 support for dmulf128 (#242498)

this pr implements support for dmulf128 to use the emulated f128 type

addresses https://github.com/llvm/llvm-project/issues/234601
DeltaFile
+19-0libc/test/src/math/dmulf128_test.cpp
+17-0libc/test/src/math/CMakeLists.txt
+16-0libc/test/src/math/smoke/CMakeLists.txt
+4-7libc/src/__support/math/dmulf128.h
+10-0utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
+0-6libc/shared/math/dmulf128.h
+66-1324 files not shown
+106-2930 files

LLVM/project 3c92c2f — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 zero_extend_vector_inreg.ll zero_extend_vector_inreg_of_broadcast.ll

[X86] combineX86ShuffleChain - lower to AND(FREEZE(X),MASK) for blend-with-zero shuffle patterns. (#242405)

Ensure we freeze the input to prevent `AND(poison,M) -> poison` folds.
DeltaFile
+39-39llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast_from_memory.ll
+3-3llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast.ll
+3-2llvm/lib/Target/X86/X86ISelLowering.cpp
+2-2llvm/test/CodeGen/X86/zero_extend_vector_inreg.ll
+47-464 files

LLVM/project c78fe8a — llvm/lib/Target/LoongArch LoongArchMergeBaseOffset.cpp, llvm/test/CodeGen/LoongArch fptosi-sat.ll fp-minimum-maximum.ll

[LoongArch] Load suitable immediates with LU12I.W+SLLI.D (#242357)

In V8[^0] and (in the future) SpiderMonkey[^1], immediates with fewer
than 19 significant bits in the upper word and all zeros in the lower
word are loaded with `LU12I.W; SLLI.D`. This shortens the current
loading sequence by 1 instruction. It especially benefits large
constants like NaN, floating-point constants, large addresses, etc.

A bonus effect is that many FP loads that originally go through constant
pools can now enjoy immediate loading with `LU12I.W; SLLI.D; MOVGR2FR.D`
and others. (See also the test changes for this.)

[^0]:
https://github.com/v8/v8/blob/cd5440417ebc15558b3fc626fb7c0cf1b6f97c66/src/codegen/loong64/macro-assembler-loong64.cc#L2083-L2085
[^1]: https://phabricator.services.mozilla.com/D342533
DeltaFile
+47-48llvm/test/CodeGen/LoongArch/vector-fp-imm.ll
+64-0llvm/test/CodeGen/LoongArch/imm.ll
+35-25llvm/test/CodeGen/LoongArch/fsqrt-reciprocal-estimate.ll
+35-12llvm/lib/Target/LoongArch/LoongArchMergeBaseOffset.cpp
+7-7llvm/test/CodeGen/LoongArch/fptosi-sat.ll
+8-6llvm/test/CodeGen/LoongArch/fp-minimum-maximum.ll
+196-989 files not shown
+219-11015 files

LLVM/project d0f7de2 — llvm/lib/Target/LoongArch LoongArchMergeBaseOffset.cpp, llvm/test/CodeGen/LoongArch merge-base-offset.ll

[LoongArch] Properly mask bits of LU{32,52}I.D in foldLargeOffset() (#242356)

`LU32I.D` sets the upper 32 bits by sign extension, and `LU52I.D` sets
the upper 12 bits[^0]. However, the current code only *toggles* bits
32--51 for `LU32I.D`, and bits 52--63 for `LU52I.D`. This leads to two
problems:

1. `LU32I.D` under-masks.
2. Bits toggled off by any of these two instructions that come first
will be toggled back on by the next.

Since the ranges of `LU32I.D` and `LU52I.D` overlap, both problems would
manifest.

Fix this by extending the upper bound of `LU32I.D`'s range to bit 63,
and using `Mask &= ~PATTERN`.

Fixes: #242341

[^0]:
https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_lu12i_w_lu32i_d_lu52i_d
DeltaFile
+29-0llvm/test/CodeGen/LoongArch/merge-base-offset.ll
+2-2llvm/lib/Target/LoongArch/LoongArchMergeBaseOffset.cpp
+31-22 files

FreeBSD/src 8a73282 — sys/dev/ixgbe ixgbe.h if_ix.c

ixgbe: Classify missed packets only as input drops

Missed packets should be counted as drops, not as both drops
and errors.  Errors should be reserved for things like link level
crc errors.

Reviewed by: kbowling
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D61523
DeltaFile
+1-2sys/dev/ixgbe/if_ix.c
+0-1sys/dev/ixgbe/ixgbe.h
+1-32 files

FreeBSD/doc d269b1d — website/data/en/events events2027.toml

website: Revert events with undefined dates

The website build fails because the added EuroBSDCon 2027 and
November 2027 FreeBSD Vendor Summit entries use placeholder dates
(""2027-09-xx"", ""2027-11-xx"") which cannot be parsed.

Revert these events for now. They should be re-added once the
exact dates are known.
DeltaFile
+0-24website/data/en/events/events2027.toml
+0-241 files

FreeBSD/ports 73c91fd — devel/opentelemetry-cpp Makefile, emulators/pcsx2 Makefile

*: Bump PORTREVISION of devel/c4core and devel/rapidyaml consumers

PR:             298299
DeltaFile
+1-1emulators/pcsx2/Makefile
+1-0devel/opentelemetry-cpp/Makefile
+2-12 files

FreeBSD/ports 954628a — devel/rapidyaml pkg-plist Makefile

devel/rapidyaml: Update to 0.10.0

- Update the c4core cmake submodule to 469017f to match c4core 0.2.7.

This is the rapidyaml version that devel/jsonnet 0.22.0 requires.

PR:             298299
Changelog:      https://github.com/biojppm/rapidyaml/releases/tag/v0.10.0
DeltaFile
+5-5devel/rapidyaml/distinfo
+2-2devel/rapidyaml/Makefile
+1-1devel/rapidyaml/pkg-plist
+8-83 files

FreeBSD/ports d2177b4 — devel/jsonnet distinfo Makefile, devel/jsonnet/files patch-core_CMakeLists.txt patch-third__party_rapidyaml_ryml__all.hpp

devel/jsonnet: Update to 0.22.0

- Build with USE_SYSTEM_RAPIDYAML, so jsonnet keeps the system
  rapidyaml and c4core. The rapidyaml release download is no longer
  necessary.
- Add two upstream fixes for USE_SYSTEM_RAPIDYAML: the find_package()
  call for ryml, and the ryml_std.hpp include in vm.cpp.
- Remove the patches for files that upstream removed or changed.
- Do not build the man pages. They need help2man.

The new CMakeLists.txt requires CMake 3.15 or later, so the port builds
with CMake 4.

PR:             298299
Changelog:      https://github.com/google/jsonnet/releases/tag/v0.22.0
DeltaFile
+15-12devel/jsonnet/files/patch-core_vm.cpp
+15-9devel/jsonnet/files/patch-CMakeLists.txt
+0-20devel/jsonnet/files/patch-third__party_rapidyaml_ryml__all.hpp
+5-13devel/jsonnet/Makefile
+0-11devel/jsonnet/files/patch-core_CMakeLists.txt
+3-5devel/jsonnet/distinfo
+38-701 files not shown
+39-717 files

FreeBSD/ports 6f8ad39 — devel/c4core Makefile distinfo

devel/c4core: Update to 0.2.7

This is the c4core version that rapidyaml 0.10.0 requires.

PR:             298299
Changelog:      https://github.com/biojppm/c4core/releases/tag/v0.2.7
DeltaFile
+5-5devel/c4core/distinfo
+2-2devel/c4core/Makefile
+7-72 files

LLVM/project 9ce8918 — mlir/lib/Dialect/SCF/Transforms ParallelLoopFusion.cpp, mlir/test/Dialect/SCF parallel-loop-fusion.mlir

[mlir][scf] Compare vector reads and writes fully in parallel loop fusion (#241398)

`scf-parallel-loop-fusion` fuses a loop that writes a buffer with a later loop that reads it, when each iteration reads only what the same iteration of the first loop wrote. For vector reads it didn't check this fully: it ignored the vector types, the permutation maps, and a `vector.mask` around the write. A scalar `memref.load` after a masked `vector.transfer_write` had the same gap. After fusion, such a read can see elements before another iteration writes them.

For example, a `vector<1xf32>` write and then a `vector<4xf32>` read at the same index:

```mlir
func.func @xfer_type(%A: memref<8xf32>, %B: memref<8xf32>) {
  %c0 = arith.constant 0 : index
  %c1 = arith.constant 1 : index
  %c5 = arith.constant 5 : index
  %pad = arith.constant 0.0 : f32
  %one = arith.constant dense<1.0> : vector<1xf32>
  scf.parallel (%i) = (%c0) to (%c5) step (%c1) {
    vector.transfer_write %one, %A[%i] {in_bounds = [true]} : vector<1xf32>, memref<8xf32>
    scf.reduce
  }
  scf.parallel (%i) = (%c0) to (%c5) step (%c1) {
    %r = vector.transfer_read %A[%i], %pad {in_bounds = [true]} : memref<8xf32>, vector<4xf32>

    [14 lines not shown]
DeltaFile
+149-0mlir/test/Dialect/SCF/parallel-loop-fusion.mlir
+11-0mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
+160-02 files

LLVM/project c9a5d70 — libc/shared/math coshbf16.h, libc/src/__support/math coshbf16.h

[libc][math] Add coshbf16 math function (#240859)

Closes #233065. Part of #177259.

Adds `coshbf16`, built on the shared `sinhcoshbf16_utils.h` helpers that
landed with `sinhbf16` (#224645). It computes
`eval_sinh_or_cosh</*IsSinh=*/false>` in the middle range and
`exp_half(|x|)` for |x| >= 6.875, and handles these cases directly:
- |x| <= 0x1.68p-4 rounds to 1 (or to the next value above 1 in RU).
- |x| >= 89.5 overflows to +Inf.
- NaN and Inf.

Testing:
- The exhaustive MPFR test (all bf16 inputs, all rounding modes, 0.5
ULP) passes.
- The smoke and shared-math tests pass.

Bazel targets are included, mirroring `sinhbf16`, but I haven't built
them locally.

    [2 lines not shown]
DeltaFile
+110-0libc/test/src/math/smoke/coshbf16_test.cpp
+107-0libc/src/__support/math/coshbf16.h
+46-0libc/test/src/math/coshbf16_test.cpp
+28-0libc/shared/math/coshbf16.h
+26-0libc/src/math/coshbf16.h
+23-0libc/src/math/generic/coshbf16.cpp
+340-027 files not shown
+454-033 files

LLVM/project ee92ebf — flang/include/flang/Lower PFTBuilder.h HostAssociations.h, flang/lib/Lower Bridge.cpp HostAssociations.cpp

[flang] Cache host variable lists for global captures (#240308)

This change addresses redundant work when lowering internal procedures
that access host globals: each internal procedure rebuilds the same host
variable list and reruns dependency analysis.

It caches the ordered variable list and selects the captured globals and
their EQUIVALENCE storage once per host. The list is reused when
lowering the host, and the selected bindings are reused by its internal
procedures in their original list order.

The cached host list and binding pointers are released after all entry
points and internal procedures have been lowered to bound retained
memory.

Tests cover host-associated scalar and EQUIVALENCE bindings across MAIN
and procedure scopes, including module storage, multiple internal
procedures and ENTRY points, zero-sized storage collisions, and mixed
EQUIVALENCE/THREADPRIVATE captures.

Assisted by GPT-6
DeltaFile
+101-2flang/test/Lower/host-associated-globals.f90
+51-20flang/lib/Lower/HostAssociations.cpp
+39-22flang/lib/Lower/Bridge.cpp
+22-6flang/include/flang/Lower/HostAssociations.h
+7-1flang/test/Lower/OpenMP/threadprivate-host-association.f90
+4-2flang/include/flang/Lower/PFTBuilder.h
+224-531 files not shown
+226-557 files

FreeBSD/ports fbe08ce — emulators/bobbin Makefile pkg-plist

emulators/bobbin: Add forgotten option for EXAMPLES

* Also fix examplesdir.

PR:    300766
DeltaFile
+8-8emulators/bobbin/pkg-plist
+5-3emulators/bobbin/Makefile
+13-112 files

FreeBSD/ports 6adebf6 — emulators/bobbin pkg-plist Makefile, emulators/bobbin/files pkg-message.in

emulators/bobbin: Exclude non-redistributable disk images from the package

PR:     300766
DeltaFile
+14-0emulators/bobbin/files/pkg-message.in
+5-3emulators/bobbin/Makefile
+0-5emulators/bobbin/pkg-plist
+19-83 files

LLVM/project ea66fbe — llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-deinterleave8-i64.ll

[X86] Enable SlotIndexes compaction by default

Compacting SlotIndexes before greedy allocation drops the entries of
erased instructions, so live range sizes and instruction distances
reflect the code being allocated rather than how much was erased
before it. AMDGPU has done this since #235806; do the same for X86.

Codegen changes only through allocation: no new crashes, verifier
errors or allocation failures in the lit suites, including
EXPENSIVE_CHECKS, and a stage-2 build of LLVM, clang and lld with
-verify-machineinstrs passes its own tests. On llvm-test-suite at -O3,
spills drop 0.3% and .text 0.06%, with compile time unchanged.

Most test updates are regenerated checks. misched-matmul now inserts
20 spills instead of 24. live-debug-vars-stale-slotindexes.mir gets
one more use of %27 so that accumulate_fit still reaches the stale
index path it was written for.
DeltaFile
+20,796-20,889llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+17,854-17,989llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+17,166-17,229llvm/test/CodeGen/X86/vector-interleave6-i16.ll
+15,403-15,465llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+13,897-13,898llvm/test/CodeGen/X86/vector-deinterleave8-i64.ll
+13,329-13,243llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+98,445-98,713506 files not shown
+675,272-677,820512 files

LLVM/project 533d840 — llvm/test/CodeGen/X86/apx reloc-opt.ll

[X86][APX] Test the relocation of an NF add

test_regclass_not_updated_by_regalloc_2 only produced an NDD/NF add
with a GOT operand because the allocator happened to give the add a
destination different from its source. With SlotIndexes compaction it
picks the same register, so the add is compressed to the legacy form
and the CODE_6 TODO lost its test.

Add a function whose add keeps its source live, so it stays NDD and
becomes NF under any allocation.
DeltaFile
+20-1llvm/test/CodeGen/X86/apx/reloc-opt.ll
+20-11 files

FreeBSD/ports 65c2e65 — lang/gnat13 pkg-plist Makefile

lang/gnat13: Update to 13.5.0

 https://gcc.gnu.org/gcc-13/changes.html#ada

 PR:            300757
DeltaFile
+3-3lang/gnat13/distinfo
+1-2lang/gnat13/Makefile
+2-0lang/gnat13/pkg-plist
+6-53 files

FreeBSD/ports 1038769 — lang/gnat12 pkg-plist Makefile

lang/gnat12: Update to 12.5.0

 https://gcc.gnu.org/gcc-12/changes.html#ada
 PR:            300756
DeltaFile
+3-3lang/gnat12/distinfo
+1-2lang/gnat12/Makefile
+2-0lang/gnat12/pkg-plist
+6-53 files