NetBSD/pkgsrc-wip a299fb3CodeWhale Makefile cargo-depends.mk, llama.cpp Makefile PLIST

Update misc/CodeWhale to v.0.9.5
DeltaFile
+609-873CodeWhale/distinfo
+202-290CodeWhale/cargo-depends.mk
+125-0llama.cpp/AGENTS.md
+32-0llama.cpp/PLIST
+18-2llama.cpp/Makefile
+3-3CodeWhale/Makefile
+989-1,1682 files not shown
+991-1,1718 files

NetBSD/pkgsrc SWwGJ6Adoc CHANGES-2026

   doc: Updated devel/libusb1 to 1.0.30nb1
VersionDeltaFile
1.5154+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc thjJt9Fdevel/libusb1 Makefile distinfo, devel/libusb1/patches patch-libusb_os_illumos__usb.h patch-libusb_os_illumos__usb.c

   libusb1: Update illumos patches.

   Bump PKGREVISION.
VersionDeltaFile
1.2+942-797devel/libusb1/patches/patch-libusb_os_illumos__usb.c
1.2+68-38devel/libusb1/patches/patch-libusb_os_illumos__usb.h
1.25+3-3devel/libusb1/distinfo
1.38+2-1devel/libusb1/Makefile
+1,015-8394 files

OPNSense/src b3c4c1asys/dev/igc if_igc.c

igc: additionally disable PCIe ASPM for I226

Always disable PCIe ASPM for i226 type cards to improve stability
and wire sysctl calls to iflib_request_reset instead of igc_if_init
as this will stall the drivers RX path.
DeltaFile
+33-3sys/dev/igc/if_igc.c
+33-31 files

OPNSense/src 41c9ba3sys/dev/igc igc_base.h igc_base.c

igc: Disable PCIe L1.2 on I225

I225 devices can incorrectly enter L1 substates while CLKREQ# is
asserted, both while idle and in D3.  Disable ASPM and PCI-PM L1.2 on
I225 to prevent the resulting packet loss.

Keep the I226 workaround ASPM-only because it addresses a separate
traffic exit latency observation.

PR:             265714

(cherry picked from commit 4a28d390f5fbae2483e88805559881b04ccf9a80)
DeltaFile
+22-20sys/dev/igc/if_igc.c
+29-0sys/dev/igc/igc_base.c
+1-0sys/dev/igc/igc_base.h
+52-203 files

OPNSense/src c7231b5sys/dev/igc igc_base.c

igc: Apply ASPM L1.2 workaround to all I226 devices

Classify I226_LMVP and I226_BLANK_NVM as I226 silicon so they
receive the I226-specific ASPM L1.2 workaround.

PR:             279245
Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2318

(cherry picked from commit cecb0f45cb83349c60514da38fddce83ad042468)
DeltaFile
+5-0sys/dev/igc/igc_base.c
+5-01 files

OPNSense/src 664705bsys/dev/igc igc_base.h igc_base.c

igc: Disable ASPM L1.2 on I226 to prevent RX stalls

I226 parts advertise support for the PCIe L1.2 link substate, but a
hardware erratum makes the exit latency from that low-power state
longer than the packet buffer can absorb under load. This stalls the
inbound packet stream. Disabling ASPM system-wide (BIOS or OS ASPM
policy) does not fix it. The L1.2 enable bit must be cleared directly
in the device's own PCIe L1 PM extended capability.

Add igc_is_device_id_i226() to identify affected parts and
igc_disable_broken_aspm_l1_2() to clear the ASPM L1.2 enable bit
on attach and after resume, since PCIe config space can be
reset across a suspend/resume cycle.

Adapted from the Linux igc driver:

  0325143b59c6 igc: disable L1.2 PCI-E link substate to avoid
               performance issue
  1468c1f97cf3 igc: fix disabling L1.2 PCI-E link substate on I226

    [9 lines not shown]
DeltaFile
+44-0sys/dev/igc/if_igc.c
+21-0sys/dev/igc/igc_base.c
+1-0sys/dev/igc/igc_base.h
+66-03 files

OPNSense/src 7ce4c58sys/dev/pci pcireg.h

pci: Add L1 PM definitions

Add register/bit definitions for the L1 PM substates capability
(PCIZ_L1PM) to pcireg.h.

Signed-off-by: Michael Adler <madler at tapil.com>

Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2318

(cherry picked from commit 04f8a6aeeba5cbaa48be7134765ee49d5b1b9857)
DeltaFile
+14-0sys/dev/pci/pcireg.h
+14-01 files

OPNSense/src 680be42. UPDATING, sys/conf newvers.sh

Add UPDATING entries and bump version

Approved by:    so
DeltaFile
+14-0UPDATING
+1-1sys/conf/newvers.sh
+15-12 files

LLVM/project 6d1b926clang/include/clang/Sema DeclSpec.h, clang/lib/Parse ParseDecl.cpp

[Clang] Revert "Reject auto combined with type specifiers in C++ (#208552)" and follow-ups commits (#215320)

The initial fix for #164273 had several follow up commits to fix the
initial implementation. This fix induces a lot of regressions and a
refactoring of the area is required in order to fix the issue in a later
release.

This reverts the following commits (from oldest to latest):
72af746a3e19627fc1d1c40bf6eabb2887850ac5
226acaf7aeeda64a6e4e55d21f586ffe97a72fc8
d592aa5a10f44164cd403257270802eb2a4b123a
34436db53d3e4ad36e86019109fb5ceee9bb4d8c
de4b1f5572f8ff5a38a17655584ae200774551c6
DeltaFile
+1-181clang/lib/Sema/DeclSpec.cpp
+48-57clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p2.cpp
+2-51clang/include/clang/Sema/DeclSpec.h
+7-39clang/lib/Parse/ParseDecl.cpp
+2-36clang/test/SemaCXX/auto-cxx0x.cpp
+7-9clang/test/CXX/drs/cwg3xx.cpp
+67-37310 files not shown
+82-43316 files

OPNSense/src 693c51dsys/kern imgact_elf.c

coredump: Don't assume that the number of ELF segments is consistent

In an ELF coredump, each dumped vm_map_entry is represented by a
segment.  __elfN(coredump) first computes the number of segments by
looping over the vm_map entries (in each_dumpable_segment()), then
allocates a buffer to hold the ELF header and program headers, then
loops over the entries again to populate the program headers.

each_dumpable_segment() holds the vm_map read lock, but that lock is
dropped between the two calls.  If the map is shared with another
process, via rfork(), then the map can change.  cb_put_phdr() did not
account for this, and so could write out of bounds.

Add a check to prevent this; simply do not write out excess segments.

Approved by:    so
Security:       FreeBSD-SA-26:55.elf
Security:       CVE-2026-58088
Reported by:    Maik Muench of Secfault Security

    [3 lines not shown]
DeltaFile
+19-3sys/kern/imgact_elf.c
+19-31 files

OPNSense/src 0e492bcsys/kern sysv_sem.c

sysvsem: Fix a TOCTOU race in semctl({GET,SET}ALL)

These commands take a snapshot of the size of a semaphore set, then drop
the lock and malloc an appropriately sized array before reacquiring the
lock.  A comment explains why this is (probably) safe.  Unfortunately,
it's wrong; it is indeed possible for a malicious userspace to create
and destroy 2^{15} sets in the window where the lock is dropped.  This
race can lead to out-of-bounds reads and writes, and that can be
exploited to elevate privileges.

Replace the assertions with runtime checks.

Approved by:    so
Security:       FreeBSD-SA-26:54.sysvsem
Security:       CVE-2026-58087
Reported by:    Maik Muench of Secfault Security
Reviewed by:    kib
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58421
DeltaFile
+16-20sys/kern/sysv_sem.c
+16-201 files

OPNSense/src bf65e6detc/mtree BSD.tests.dist, tests/sys/net Makefile

wg(4): Add a test that the driver handles a decryption failure

The test uses a fail point to inject a decryption error in OCF while
sending a ping across the tunnel.  The driver should then fail to
respond to the ping and increment the input error counter on the
interface.

Approved by:    so
Security:       FreeBSD-SA-26:52.if_wg
Security:       CVE-2026-58085
Reviewed by:    markj
Sponsored by:   Chelsio Communications
DeltaFile
+111-0tests/sys/net/wg/if_wg_nojail.sh
+10-0tests/sys/net/wg/Makefile
+2-0etc/mtree/BSD.tests.dist
+1-0tests/sys/net/Makefile
+124-04 files

OPNSense/src ffde0b3sys/dev/wg wg_crypto.c

wg(4): Check for crypto operation errors

In particular, handle authentication errors due to bad MACs when
decrypting packets.

Since the current dispatch code assumes synchronous OCF sessions by
design, explicitly reject any created OCF session that is not
synchronous.  Software sessions are always synchronous in practice, so
this should be a nop.

Approved by:    so
Security:       FreeBSD-SA-26:52.if_wg
Security:       CVE-2026-58085
Reviewed by:    markj
Sponsored by:   Chelsio Communications
DeltaFile
+10-1sys/dev/wg/wg_crypto.c
+10-11 files

OPNSense/src 10ab0e4sys/opencrypto crypto.c

OCF: Add a fail point to inject EBADMSG decryption errors

Approved by:    so
Security:       FreeBSD-SA-26:52.if_wg
Security:       CVE-2026-58085
Reviewed by:    markj
Sponsored by:   Chelsio Communications
DeltaFile
+16-0sys/opencrypto/crypto.c
+16-01 files

OPNSense/src 0ae5cebcontrib/tzdata theory.html europe

contrib/tzdata: import tzdata 2026c

Changes: https://github.com/eggert/tz/blob/2026c/NEWS

Approved by:    so
Security:       FreeBSD-EN-26:18.tzdata

(cherry picked from commit 665bb2d9a440d33e2ec2f9151e45b8cda93433ae)
(cherry picked from commit 819af80de8e8854f5767c20d03cb7362624b0085)
DeltaFile
+32-159contrib/tzdata/africa
+107-14contrib/tzdata/northamerica
+71-8contrib/tzdata/NEWS
+17-28contrib/tzdata/Makefile
+14-7contrib/tzdata/europe
+9-9contrib/tzdata/theory.html
+250-2258 files not shown
+272-24414 files

OPNSense/src 94e4581. UPDATING

Add a missing UPDATING entry

Approved by:    so
DeltaFile
+2-0UPDATING
+2-01 files

LLVM/project fd6a100llvm/include/llvm/IR DIBuilder.h, llvm/lib/IR DIBuilder.cpp

[IR][NFC] Remove unused helpers for inserting dbg intrinsics (#212304)

As a result of the almost complete transition from debug intrinsics to
debug records, a few functions are now unused in the public API. This
patch removes those.
DeltaFile
+0-39llvm/lib/IR/DIBuilder.cpp
+0-6llvm/include/llvm/IR/DIBuilder.h
+0-452 files

FreeBSD/ports 1f37d78www/evcc Makefile distinfo

www/evcc: update to 0.313.2

Changes:        https://github.com/evcc-io/evcc/releases
DeltaFile
+7-7www/evcc/distinfo
+2-2www/evcc/Makefile
+9-92 files

LLVM/project f94c17allvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/RISCV cttz_elts.ll

[RISCV] Update TTI for llvm.experimental.cttz.elts (#214795)

This implements the CostModelling in the RISCV-TTI as discussed in:
https://github.com/llvm/llvm-project/pull/184578

It takes the legalization and non-boolean element-type lowering into
account, instead of falling back to the generic BasicTTIImpl path. This
now gets rid of the assertion-crash mentioned on the original PR.
DeltaFile
+52-8llvm/test/Analysis/CostModel/RISCV/cttz_elts.ll
+11-6llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+1-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+64-163 files

LLVM/project 0612b36llvm/test/CodeGen/AMDGPU eliminate-frame-index-flat-scratch-frame-reg-no-sgpr.ll

[AMDGPU][NFC] Pre-commit test for eliminateFI SVS fallback path crash. (#215180)

On a flat-scratch target, a frame index used by a VALU instruction
reaches the generic SGPR-scavenging path in
`SIRegisterInfo::eliminateFrameIndex`. When the function has a frame
register but no SGPR is free for the scavenger, control enters the
branch that assumes no frame register exists (the flat-scratch SVS /
fatal-error fallback), whose guard `assert(!FrameReg && "there is a
frame register!")` then fires.

This PR got a test that catches the above mentioned crash!

---------

Co-authored-by: Christudasan Devadasan <christudasan.devadasan at amd.com>
DeltaFile
+56-0llvm/test/CodeGen/AMDGPU/eliminate-frame-index-flat-scratch-frame-reg-no-sgpr.ll
+56-01 files

LLVM/project 0c611abllvm/lib/IR Verifier.cpp, llvm/test/Transforms/InstCombine bitcast-store.ll loadstore-metadata.ll

[Verifier] Reject an empty non-'distinct' !llvm.access.group node (#214703)

visitAccessGroupMetadata misses one case: a node that is empty but not
'distinct'. It is not a valid access group, and the list loop runs zero
times, so nothing is reported:

  store double %v, ptr %q, !llvm.access.group !0
  !0 = !{}

That IR reaches addToAccessGroupList(), which reads a node with no
operands as an access group and trips its isValidAsAccessGroup() assert.

Check the operand count first, so an empty node must be 'distinct'. Two
tests used !{} as an access group and now use distinct !{}.

Unlocks #214509
DeltaFile
+25-24llvm/test/Transforms/InstCombine/loadstore-metadata.ll
+7-3llvm/lib/IR/Verifier.cpp
+1-3mlir/test/Target/LLVMIR/Import/import-failure.ll
+2-2llvm/test/Transforms/InstCombine/bitcast-store.ll
+2-0llvm/test/Verifier/access_group.ll
+37-325 files

LLVM/project 0a371a6llvm/lib/Target/AMDGPU SIInstrInfo.td SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU float-to-arbitrary-fp-fp8-fnuz.ll float-to-arbitrary-fp-fp8-hw.ll

[AMDGPU] Add custom lowering of llvm.convert.to.arbitrary.fp for FP8 (#213813)

Lower ISD::CONVERT_TO_ARBITRARY_FP to the packed hardware conversions on
subtargets that have the OCP fp8 formats.

An f32 source becomes V_CVT_PK_FP8_F32 or V_CVT_PK_BF8_F32. An f16
source becomes V_CVT_PK_FP8_F16 or V_CVT_PK_BF8_F16, which only gfx1250
and later have. A scalar conversion converts one lane and leaves the
other unused, a v2 conversion fills both lanes of the packed result.

Assisted-by: Claude-Opus-5
DeltaFile
+3,763-0llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+2,383-0llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-fp8-f16-hw.ll
+1,896-0llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-fp8-hw.ll
+134-0llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-fp8-fnuz.ll
+82-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+33-0llvm/lib/Target/AMDGPU/SIInstrInfo.td
+8,291-05 files not shown
+8,346-1211 files

LLVM/project 517a960libcxx/src std_stream.h

fixup! [llvm-strings] Use small buffer instead of reading whole file
DeltaFile
+13-15libcxx/src/std_stream.h
+13-151 files

FreeBSD/ports 19f2507ports-mgmt/pkg Makefile distinfo

ports-mgmt/pkg: update to 2.8.3

Fix use after free, causing a crash on some upgrades

Reported by:    flo
DeltaFile
+3-3ports-mgmt/pkg/distinfo
+1-1ports-mgmt/pkg/Makefile
+4-42 files

FreeBSD/src 71ac7ffsys/netpfil/pf pf_if.c, tests/sys/netpfil/pf names.sh

pf: attempt to handle overlapping group and interface names

pf assumes that network groups and network interfaces share a namespace
(that is, a name is unused, a group or an interface, never both a the
same time). Unfortunately this assumption was broken when interface
renaming was introduced.
Attempt to cope with this rather than panicking. Note that this is a
band-aid, not a full solution. The correct fix is for the network stack
to go back to enforcing a single namespace for groups and interfaces.

PR:             297220
Reported by:    Robert Morris
MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit d2a5b5a86a92e86f77737273ab4b2e99da63c21d)
DeltaFile
+23-0tests/sys/netpfil/pf/names.sh
+13-6sys/netpfil/pf/pf_if.c
+36-62 files

FreeBSD/src 82255aesys/netpfil/pf pf_if.c

pf: check if a group has a kif before dereferencing it

It's possible for interface groups to not have had a pfi_kkif assigned to
them, so before we pass that pointer to pfi_kkif_update() we must check if it's
actually set.

We've seen panics such as this, where we get an address update for an interface
that belongs to a group without associated pfi_kkif:

        Tracing pid 12 tid 100034 td 0xfffff80100d2a000
        kdb_enter() at kdb_enter+0x33/frame 0xfffffe0067eed340
        panic() at panic+0x43/frame 0xfffffe0067eed3a0
        trap_pfault() at trap_pfault+0x3c9/frame 0xfffffe0067eed3f0
        calltrap() at calltrap+0x8/frame 0xfffffe0067eed3f0
        --- trap 0xc, rip = 0xffffffff8102ebd5, rsp = 0xfffffe0067eed4c0, rbp = 0xfffffe0067eed500 ---
        pfi_kkif_update() at pfi_kkif_update+0x15/frame 0xfffffe0067eed500
        pfi_kkif_update() at pfi_kkif_update+0x1fc/frame 0xfffffe0067eed550
        pfi_ifaddr_event() at pfi_ifaddr_event+0x82/frame 0xfffffe0067eed5a0
        srcaddr_change_event() at srcaddr_change_event+0xa7/frame 0xfffffe0067eed610

    [20 lines not shown]
DeltaFile
+4-2sys/netpfil/pf/pf_if.c
+4-21 files

FreeBSD/src 80d732dsys/netpfil/pf pf_if.c, tests/sys/netpfil/pf names.sh

pf: attempt to handle overlapping group and interface names

pf assumes that network groups and network interfaces share a namespace
(that is, a name is unused, a group or an interface, never both a the
same time). Unfortunately this assumption was broken when interface
renaming was introduced.
Attempt to cope with this rather than panicking. Note that this is a
band-aid, not a full solution. The correct fix is for the network stack
to go back to enforcing a single namespace for groups and interfaces.

PR:             297220
Reported by:    Robert Morris
MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit d2a5b5a86a92e86f77737273ab4b2e99da63c21d)
DeltaFile
+23-0tests/sys/netpfil/pf/names.sh
+13-6sys/netpfil/pf/pf_if.c
+36-62 files

FreeBSD/src e4e4d1bsys/netpfil/pf pf_if.c

pf: check if a group has a kif before dereferencing it

It's possible for interface groups to not have had a pfi_kkif assigned to
them, so before we pass that pointer to pfi_kkif_update() we must check if it's
actually set.

We've seen panics such as this, where we get an address update for an interface
that belongs to a group without associated pfi_kkif:

        Tracing pid 12 tid 100034 td 0xfffff80100d2a000
        kdb_enter() at kdb_enter+0x33/frame 0xfffffe0067eed340
        panic() at panic+0x43/frame 0xfffffe0067eed3a0
        trap_pfault() at trap_pfault+0x3c9/frame 0xfffffe0067eed3f0
        calltrap() at calltrap+0x8/frame 0xfffffe0067eed3f0
        --- trap 0xc, rip = 0xffffffff8102ebd5, rsp = 0xfffffe0067eed4c0, rbp = 0xfffffe0067eed500 ---
        pfi_kkif_update() at pfi_kkif_update+0x15/frame 0xfffffe0067eed500
        pfi_kkif_update() at pfi_kkif_update+0x1fc/frame 0xfffffe0067eed550
        pfi_ifaddr_event() at pfi_ifaddr_event+0x82/frame 0xfffffe0067eed5a0
        srcaddr_change_event() at srcaddr_change_event+0xa7/frame 0xfffffe0067eed610

    [20 lines not shown]
DeltaFile
+4-2sys/netpfil/pf/pf_if.c
+4-21 files

pkgng/pkgng 0420c0a. configure.def NEWS

Release 2.8.3
DeltaFile
+3-0NEWS
+1-1configure.def
+4-12 files