FreeBSD/src 3c3f886tests/sys/pmc pmc_detach_test.c Makefile

hwpmc: add regression tests for detaching a live process-mode PMC

Attach a process-mode counting PMC to the current process, start it,
then detach and release it while it is still loaded on the hardware -
the case that previously leaked the PMC's runcount reference and
wedged pmc_wait_for_pmc_idle() at release.  A second case does the same
from a multi-threaded process so the sibling threads' references have
to be drained too.

The tests need an allocatable process-mode counting event and skip
where none is available (hwpmc(4) not loaded, or a VM without a vPMU).

Reviewed by:            adrian
MFC after:              2 weeks
Assisted-by:            Claude Code (Fable 5)
Differential Revision:  https://reviews.freebsd.org/D58343
DeltaFile
+178-0tests/sys/pmc/pmc_detach_test.c
+2-0tests/sys/pmc/Makefile
+180-02 files

FreeBSD/src 86fa065sys/dev/hwpmc hwpmc_mod.c

hwpmc: drain a process-mode PMC's runcount when a live target detaches

A process-mode PMC's runcount tracks how many CPUs currently have it
loaded in hardware.  It is decremented only by the context-switch-out
and process-exit reclaim paths, both of which the scheduler invokes
only for processes flagged P_HWPMC.  Detaching a target that still has
the PMC live in hardware dropped the target and cleared P_HWPMC without
taking the PMC off the hardware or dropping the runcount reference, so
the reference leaked.  A subsequent release then spun in
pmc_wait_for_pmc_idle() forever waiting for the runcount to reach zero:
on an INVARIANTS kernel this panics ("waiting too long for pmc to be
free"), otherwise it is an unkillable loop holding the hwpmc lock.  Any
process able to allocate a PMC can trigger this by attaching a counting
PMC to itself and detaching it before releasing.

Take the PMC off the hardware and drop the runcount reference as part
of detaching, before P_HWPMC is cleared: reclaim it from the detaching
thread's own CPU directly, and, when the detach removes the PMC's last
target, wait for any references held by the target's other threads to

    [6 lines not shown]
DeltaFile
+88-0sys/dev/hwpmc/hwpmc_mod.c
+88-01 files

FreeBSD/src 2cfd82fetc/mtree BSD.tests.dist, tests/sys Makefile

hwpmc: add regression tests for counting-PMC counter wraparound

Exercise a process-mode counting PMC whose accumulated count crosses,
or already exceeds, the range of the underlying hardware counter.
Before the previous commit, the first context switch after the
hardware counter wrapped panicked INVARIANTS kernels with "negative
increment" and silently corrupted the accumulated count on other
kernels.

The tests need a hardware counting event backed by a counter narrower
than 64 bits and skip where none is available (hwpmc(4) not loaded,
or a VM without a vPMU).

Reviewed by:            adrian
MFC after:              2 weeks
Assisted-by:            Claude Code (Fable 5)
Differential Revision:  https://reviews.freebsd.org/D58341
DeltaFile
+216-0tests/sys/pmc/pmc_wrap_test.c
+7-0tests/sys/pmc/Makefile
+2-0etc/mtree/BSD.tests.dist
+1-0tests/sys/Makefile
+226-04 files

FreeBSD/src e42703fsys/dev/hwpmc hwpmc_mod.c

hwpmc: handle counter wraparound for process-mode counting PMCs

The accumulated count of a process-mode counting PMC is kept in a
64-bit software counter and seeded into the hardware counter at every
context switch in.  Hardware counters are narrower than that - each
PMC class discovers and records its own counter width, e.g. 48 bits
on current x86 (queried from CPUID on Intel, architectural on AMD) -
so once the accumulated count approaches the end of the hardware
counter range, the counter wraps during a time slice and the value
read back at switch out is smaller than the value seeded.  The
increment was computed assuming a full 64-bit counter: on INVARIANTS
kernels a long enough counting run panics with "negative increment"
the moment the accumulated count first crosses the hardware counter
range, and on other kernels the totals silently lose a full counter
range per wrap.

Compute the increment modulo the per-class hardware counter width
instead, in both places that accumulate switch-out deltas.


    [4 lines not shown]
DeltaFile
+30-16sys/dev/hwpmc/hwpmc_mod.c
+30-161 files

LLVM/project 195df3dmlir/lib/Dialect/OpenACC/Utils OpenACCUtilsCG.cpp, mlir/test/Dialect/OpenACC acc-cg-to-gpu-worker-reduction-private.mlir

[mlir][OpenACC] Privatize worker reduction accumulators per worker (#210456)

Example:
```fortran
!$acc parallel
!$acc loop gang reduction(+:sum)
do k = 1, p
  !$acc loop worker reduction(+:sum)
  do j = 1, n
    !$acc loop vector reduction(+:sum)
    do i = 1, m
      sum = sum + a(i,j,k)
    end do
  end do
end do
```

In this code, the worker accumulator is both gang- and worker-scoped.
Shared

    [4 lines not shown]
DeltaFile
+47-3mlir/unittests/Dialect/OpenACC/OpenACCUtilsCGTest.cpp
+41-0mlir/test/Dialect/OpenACC/acc-cg-to-gpu-worker-reduction-private.mlir
+6-9mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsCG.cpp
+94-123 files

LLVM/project fdecb09llvm/include/llvm/IR RuntimeLibcalls.td RuntimeLibcallsImpl.td, llvm/lib/IR RuntimeLibcalls.cpp

RuntimeLibcalls: Migrate to dag libcall predicates

Switch to using dag predicates instead of free-form code predicates.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+237-112llvm/include/llvm/IR/RuntimeLibcalls.td
+21-10llvm/test/TableGen/RuntimeLibcallEmitter.td
+8-20llvm/include/llvm/IR/RuntimeLibcallsImpl.td
+0-26llvm/include/llvm/IR/RuntimeLibcalls.h
+11-6llvm/test/TableGen/RuntimeLibcallEmitter-calling-conv.td
+0-17llvm/lib/IR/RuntimeLibcalls.cpp
+277-1917 files not shown
+314-21513 files

NetBSD/pkgsrc-wip 155d508just distinfo cargo-depends.mk

Update devel/just to v.1.57.0
DeltaFile
+99-102just/distinfo
+32-33just/cargo-depends.mk
+4-1just/COMMIT_MSG
+1-1just/Makefile
+136-1374 files

LLVM/project 35c8e92llvm/lib/Target/AMDGPU SIMemoryLegalizer.cpp SIDefines.h, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp

[NFC][AMDGPU] Use SIInstrFlags predicates in SIMemoryLegalizer and AMDGPUBaseInfo. (#209821)

Part of a series following the introduction of SIInstrFlags predicates.
DeltaFile
+16-20llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+6-6llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+3-0llvm/lib/Target/AMDGPU/SIDefines.h
+25-263 files

LLVM/project 6d76d69llvm/docs LangRef.md, llvm/lib/AsmParser LLParser.cpp

[IR] Add elementwise modifier to atomic stores
DeltaFile
+111-0llvm/unittests/IR/VerifierTest.cpp
+56-0llvm/test/Assembler/invalid-load-store-atomic-elementwise.ll
+26-4llvm/lib/AsmParser/LLParser.cpp
+19-10llvm/docs/LangRef.md
+21-4llvm/lib/IR/Verifier.cpp
+12-8llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+245-269 files not shown
+305-3715 files

OPNSense/core 17b6f5csrc/opnsense/mvc/app/models/OPNsense/Interfaces/FieldTypes VlanInterfaceField.php

interfaces: permit a vlan device as bridge member
DeltaFile
+0-1src/opnsense/mvc/app/models/OPNsense/Interfaces/FieldTypes/VlanInterfaceField.php
+0-11 files

NetBSD/pkgsrc hNe7jzSdoc CHANGES-2026 TODO

   doc: Updated chat/gurk to 0.10.0
VersionDeltaFile
1.4603+2-1doc/CHANGES-2026
1.27620+1-2doc/TODO
+3-32 files

NetBSD/pkgsrc v5WKefdchat/gurk distinfo cargo-depends.mk

   gurk: update to 0.10.0.

   ## [0.10.0] - 2026-07-19

   This release significantly improves startup time and memory usage: messages
   are no longer loaded into memory all at once at startup, but fetched in a
   window around the current selection directly from the database. As a result,
   the app starts fast regardless of the size of the message history.

   ### 🚀 Features

   - Add XDG, env var, and CLI support for config/data paths (#523)
   - Replace text with emoji while typing (#549)
   - Support tab to autocomplete emoji (#558)

   ### 🐛 Bug Fixes

   - Assure data dir exists (#547)
   - Don't clear unread messages when navigating channels (#534)

    [15 lines not shown]
VersionDeltaFile
1.3+67-43chat/gurk/distinfo
1.3+21-13chat/gurk/cargo-depends.mk
1.6+2-3chat/gurk/Makefile
+90-593 files

LLVM/project 4caba63lldb/test/API/commands/gui/spawn-threads TestGuiSpawnThreads.py

[lldb][test] Double the timeout for TestGuiSpawnThreads.py (#210043)

If the host machine is overloaded, spawning threads may be delayed due
to lack of resources. I'm pretty sure this is the cause of failures in
GitHub CI reported in
https://github.com/llvm/llvm-project/issues/209874.

For what the test is doing, we unfortunately cannot get around needing
to wait on the test program.

We could perhaps come up with a lit mode that runs some tests in serial,
but this is a larger project than I want to get into now.

For now, let's try doubling the timeout. This test is unlikely to fail
for real, so if it's taking a long time, it'll be due to system
resources. In 99% of cases, it'll pass in a few seconds still.
DeltaFile
+4-0lldb/test/API/commands/gui/spawn-threads/TestGuiSpawnThreads.py
+4-01 files

LLVM/project ded79d9llvm/lib/Target/SPIRV SPIRVGlobalRegistry.cpp, llvm/test/CodeGen/SPIRV/constant fp128-unsupported.ll

[SPIR-V] Reject fp128 and ppc_fp128 types with a diagnostic (#208397)

Introduced as a part of discussion in
https://github.com/llvm/llvm-project/pull/208219
DeltaFile
+10-0llvm/test/CodeGen/SPIRV/constant/fp128-unsupported.ll
+2-0llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+12-02 files

LLVM/project ec1e524llvm/docs LangRef.md, llvm/lib/AsmParser LLParser.cpp

[IR] Add elementwise modifier to atomic stores
DeltaFile
+111-0llvm/unittests/IR/VerifierTest.cpp
+56-0llvm/test/Assembler/invalid-load-store-atomic-elementwise.ll
+26-4llvm/lib/AsmParser/LLParser.cpp
+19-10llvm/docs/LangRef.md
+21-4llvm/lib/IR/Verifier.cpp
+12-8llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+245-269 files not shown
+305-3715 files

NetBSD/pkgsrc 221CJUvdoc TODO CHANGES-2026

   doc: Updated textproc/rumdl to 0.2.37
VersionDeltaFile
1.27619+3-2doc/TODO
1.4602+2-1doc/CHANGES-2026
+5-32 files

NetBSD/pkgsrc n7lT0d7textproc/rumdl distinfo Makefile

   rumdl: update to 0.2.37.

   Added

       reflow: add atomic_spans configuration and refactor inline wrapping (#742) (aeabec1)

   Changed

       BREAKING: the MD013 emphasis-spans option is renamed to atomic-spans (default true), with inverted meaning (emphasis-spans = true is now atomic-spans = false). Configs setting the old key should migrate; it is no longer recognized

   Fixed

       reflow: keep code spans atomic when wrapping would collapse whitespace (d43618b)
VersionDeltaFile
1.43+4-4textproc/rumdl/distinfo
1.45+2-2textproc/rumdl/Makefile
+6-62 files

FreeNAS/freenas 5dd86a4src/middlewared/middlewared/api/v27_0_0 vm.py, src/middlewared/middlewared/plugins/vm clone.py crud.py

Stop a VM before destroying its backing zvols on delete

Deleting a VM with `zvols=true` tore down the backing zvols before stopping the domain, so ZFS could be pulled out from under a live qemu process — risking in-flight corruption and leaving zvols that fail to destroy with EBUSY. The `force` option also didn't really gate deleting a running VM despite what its description implied.

Reject deleting an active (running/suspended) VM unless `force` is set, and stop/undefine the domain before touching its zvols so the block devices are released first; the `force` field description now matches that behaviour. Picked up a few smaller VM-plugin tidy-ups along the way: clone rollback unwinds the snapshots/clones (and half-created VM record) it made if something fails partway, the disk-convert guard treats suspended VMs like running ones, and the convert path check looks at the real destination directory rather than its parent — with unit tests for the convert checks.
DeltaFile
+107-0src/middlewared/middlewared/pytest/unit/plugins/vm/test_convert_validation.py
+29-25src/middlewared/middlewared/plugins/vm/clone.py
+15-6src/middlewared/middlewared/plugins/vm/crud.py
+5-3src/middlewared/middlewared/plugins/vm/vm_device_convert.py
+6-1src/middlewared/middlewared/api/v27_0_0/vm.py
+1-1tests/vm/test_vm.py
+163-366 files

FreeBSD/ports 94d708dmail/py-resend distinfo Makefile

mail/py-resend: Update to 2.34.0

Changelog: https://github.com/resend/resend-python/compare/v2.33.0...v2.34.0

Reported by:    Repology
DeltaFile
+3-3mail/py-resend/distinfo
+1-1mail/py-resend/Makefile
+4-42 files

OPNSense/src 0720bcesys/dev/igc if_igc.c if_igc.h

igc: introduce debug verbosity toggle, replace existing prints
DeltaFile
+22-4sys/dev/igc/if_igc.c
+7-0sys/dev/igc/if_igc.h
+29-42 files

LLVM/project e1db2c0llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64ISelLowering.h

Address comments
DeltaFile
+23-16llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-2llvm/lib/Target/AArch64/AArch64ISelLowering.h
+24-182 files

LLVM/project c340737llvm/docs LangRef.md, llvm/lib/AsmParser LLParser.cpp

[IR] Add elementwise modifier to atomic stores
DeltaFile
+111-0llvm/unittests/IR/VerifierTest.cpp
+56-0llvm/test/Assembler/invalid-load-store-atomic-elementwise.ll
+26-4llvm/lib/AsmParser/LLParser.cpp
+19-10llvm/docs/LangRef.md
+21-4llvm/lib/IR/Verifier.cpp
+12-8llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+245-269 files not shown
+302-3515 files

FreeBSD/ports bc6a148multimedia/libmatroska distinfo Makefile

multimedia/libmatroska: Update to upstream release 1.7.2

MFH:            2026Q3
(cherry picked from commit 987e3c9608399ffcf3412ebb30534716f2fc3a3e)
DeltaFile
+3-3multimedia/libmatroska/distinfo
+1-1multimedia/libmatroska/Makefile
+4-42 files

LLVM/project 9cb6db4llvm/include/llvm/Transforms/Scalar GVN.h, llvm/lib/Transforms/Scalar GVN.cpp

Revert "[GVN] Remove the "private" `llvm::gvn` namespace (NFC)" (#210666)

Reverts llvm/llvm-project#210323

FAILED: lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/GVN.cpp.o 


/var/llvm-compile-time-tracker/llvm-project/llvm/lib/Transforms/Scalar/GVN.cpp:4001:27:
error: qualified name does not name a class before ‘:’ token
 4001 | class llvm::GVNLegacyPass : public FunctionPass {
DeltaFile
+13-6llvm/include/llvm/Transforms/Scalar/GVN.h
+4-6llvm/lib/Transforms/Scalar/GVN.cpp
+17-122 files

LLVM/project 39a2c6alibcxx/test/libcxx/atomics builtin_clear_padding.pass.cpp, libcxx/test/std/numerics/numeric.ops/numeric.ops.sat saturating.bitint.pass.cpp

[libc++][test][NFC] Removed unsupported compilers from tests (#210413)
DeltaFile
+2-4libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/saturating.bitint.pass.cpp
+1-1libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp
+3-52 files

FreeBSD/ports dc29678ports-mgmt/pkg Makefile distinfo, ports-mgmt/pkg/files patch-src_Makefile.autosetup

ports-mgmt/pkg: update to 2.8.0

Major Changes:
==============

Database & performance
- better read/write concurrency on the local DB
- Schema bumped to v42: 15 redundant single-column indexes dropped, flavors VIEW added, shlib_id indexes added
- Read-only databases opened with SQLITE_OPEN_READONLY, falling back to immutable=1
- Binary repositories: 16K pages and synchronous=OFF during bulk catalog updates
- Implicit SQL-89 JOINs converted to explicit JOIN syntax, several queries optimized
- Some database concurrency issues fixed

New features
- pkg-checksum(8): new command to generate and validate checksums
- Blake2b used everywhere possible for checksums; repositories use blake2 instead of sha256
- rwhich: file tracking and search for remote repositories (requires repositories to be built with -l)
- pkg delete -G/--exclude-glob: exclude packages by glob pattern
- Repositories: enable/disable/reset support

    [51 lines not shown]
DeltaFile
+0-11ports-mgmt/pkg/files/patch-src_Makefile.autosetup
+4-4ports-mgmt/pkg/Makefile
+3-3ports-mgmt/pkg/distinfo
+2-0ports-mgmt/pkg/pkg-plist
+9-184 files

LLVM/project eec2f09libcxx/include/__configuration availability.h

[libc++][NFC] Removed duplicated `_LIBCPP_INTRODUCED_IN_LLVM_23` macros (#210602)

Removed the redundant macros, which apparently were added by two
different patches.
DeltaFile
+0-2libcxx/include/__configuration/availability.h
+0-21 files

NetBSD/src G140LgBdoc CHANGES-11.0

   Tickets #388 - #391
VersionDeltaFile
1.1.2.136+27-1doc/CHANGES-11.0
+27-11 files

LLVM/project ead8fd8libcxx/include/__ranges lazy_split_view.h

[libc++][ranges][NFC] Format `lazy_split_view` (#210644)

Pre-requisite for: https://github.com/llvm/llvm-project/pull/193891
DeltaFile
+7-7libcxx/include/__ranges/lazy_split_view.h
+7-71 files

NetBSD/src pFYjBLClibexec/ld.elf_so xmalloc.c rtld.c

   Pull up following revision(s) (requested by riastradh in ticket #391):

        libexec/ld.elf_so/rtld.c: revision 1.228
        libexec/ld.elf_so/xmalloc.c: revision 1.27

   ld.elf_so: Fix reversed sense of previous change to ASSERT macro.

   Had tested the part of the change replacing botch("p") by botch(#p);
   then didn't test the change from `if (!(p)) botch(#p)' to
   `(__predict_false(p) ?  botch(#p) : (void)0)'.  Oops.

   Now I have tested this with MALLOC_DEBUG enabled in ld.elf_so.
   PR lib/59751: dlclose is not MT-safe depending on the libraries
   unloaded


   ld.elf_so: Set _rtld_objself.refcount = 1.

   This is the object for ld.elf_so itself.  It can be opened with

    [17 lines not shown]
VersionDeltaFile
1.12.44.3+3-3libexec/ld.elf_so/xmalloc.c
1.221.2.5+3-2libexec/ld.elf_so/rtld.c
+6-52 files