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

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

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

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

FreeBSD/ports 987e3c9multimedia/libmatroska distinfo Makefile

multimedia/libmatroska: Update to upstream release 1.7.2

MFH:            2026Q3
DeltaFile
+3-3multimedia/libmatroska/distinfo
+1-1multimedia/libmatroska/Makefile
+4-42 files

FreeBSD/ports 3fc2dd7x11-fonts Makefile, x11-fonts/bedstead Makefile pkg-descr

x11-fonts/bedstead: New port: SAA5050 teletext outline font
DeltaFile
+39-0x11-fonts/bedstead/Makefile
+9-0x11-fonts/bedstead/pkg-descr
+3-0x11-fonts/bedstead/distinfo
+1-0x11-fonts/Makefile
+52-04 files

FreeBSD/ports 29e66d2sysutils/usermin distinfo pkg-plist

sysutils/usermin: Update to 2.551.
DeltaFile
+3-3sysutils/usermin/distinfo
+5-0sysutils/usermin/pkg-plist
+1-1sysutils/usermin/Makefile
+9-43 files

FreeBSD/ports 789b3f8print/publisher modules.txt Makefile, print/publisher/files modules.txt patch-src_go_sp_sp_sp.go

print/publisher: Update 5.4.3 => 5.6.0

News:
https://github.com/speedata/publisher/blob/v5.6.0/News.md

Commit log:
https://github.com/speedata/publisher/compare/v5.4.3...v5.6.0

Improve port:
- Fix COMMENT.
- Fix warnings from portclippy.
- Use SP_LIBDIR in USE_LDCONFIG instead of a literal path.
- Replace "RM lib" with "EXTRACT_AFTER_ARGS=--exclude lib".
- Merge INSTALL_LIBs, INSTALL_DATAs, COPYTREE_SHAREs.
- Samplify "etc/speedata/publisher.cfg.sample".

PR:             296714
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+114-33print/publisher/modules.txt
+56-87print/publisher/Makefile
+12-62print/publisher/files/modules.txt
+48-0print/publisher/files/patch-src_go_sp_sp_sp.go
+15-27print/publisher/distinfo
+12-6print/publisher/pkg-plist
+257-2151 files not shown
+272-2177 files

FreeBSD/ports 707539eaudio/libsidplayfp distinfo Makefile

audio/libsidplayfp: update to 3.0.2 release (+)

Release notes:  https://github.com/libsidplayfp/libsidplayfp/releases/tag/v3.0.2
DeltaFile
+3-3audio/libsidplayfp/distinfo
+2-2audio/libsidplayfp/Makefile
+5-52 files

FreeBSD/ports 5f0428eaudio/libresidfp Makefile distinfo

audio/libresidfp: update to 1.1.2 release, adopt (+)

Release notes:  https://github.com/libsidplayfp/libresidfp/releases/tag/v1.1.0 \
                https://github.com/libsidplayfp/libresidfp/releases/tag/v1.1.1 \
                https://github.com/libsidplayfp/libresidfp/releases/tag/v1.1.2
Approved by:    multimedia (jhale via IRC)
DeltaFile
+1-1audio/libresidfp/Makefile
+1-1audio/libresidfp/distinfo
+2-22 files

FreeBSD/src b8f1972usr.bin/hexdump odsyntax.c

hexdump: Support octal and hex for -N option

GNU hexdump supports octal and hex, we add supports for BSD style
hexdump for better compatibility.

See: https://github.com/llvm/llvm-project/pull/206581/

MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58074
DeltaFile
+1-1usr.bin/hexdump/odsyntax.c
+1-11 files

FreeBSD/src 7fc2c9fsys/dev/acpica apeivar.h

apei: Fix i386 build over bus read, write function

bus_{read,write}_8 are macro wrappers around the corresponding bus_space
functions in sys/bus.h, so implementing bus_{read,write}_8 won't work.
Implement the underlying bus_space function instead.

Reviewed by:    jrtc27, rlibby
Fixes:          9313f6b01485
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58301
DeltaFile
+7-6sys/dev/acpica/apeivar.h
+7-61 files

FreeBSD/ports 8a2d477security/vuxml/vuln 2026.xml

security/vuxml: Document new mailpit vulnerability
DeltaFile
+33-0security/vuxml/vuln/2026.xml
+33-01 files

FreeBSD/ports 6d99a56chinese/wordpress-zh_CN distinfo, chinese/wordpress-zh_TW distinfo

*/wordpress*: upgrade to 7.0.2
DeltaFile
+3-3german/wordpress/distinfo
+3-3japanese/wordpress/distinfo
+3-3russian/wordpress/distinfo
+3-3www/wordpress/distinfo
+3-3chinese/wordpress-zh_CN/distinfo
+3-3chinese/wordpress-zh_TW/distinfo
+18-182 files not shown
+22-228 files

FreeBSD/src 84eec65share/man/man9 sbintime.9 Makefile

Add sbintime.9 manual page

sbintime.9 is a manual page that documents the usage of sbintime_t and
its helper functions.

MFC after:      1 week
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D57931

(cherry picked from commit c3f6c655dd155f4c84ce743c86e07d9f0b6b348a)
DeltaFile
+171-0share/man/man9/sbintime.9
+14-0share/man/man9/Makefile
+3-2share/man/man9/callout.9
+2-1share/man/man9/microtime.9
+190-34 files

FreeBSD/src b4711ceshare/man/man9 sbintime.9 Makefile

Add sbintime.9 manual page

sbintime.9 is a manual page that documents the usage of sbintime_t and
its helper functions.

MFC after:      1 week
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D57931

(cherry picked from commit c3f6c655dd155f4c84ce743c86e07d9f0b6b348a)
DeltaFile
+171-0share/man/man9/sbintime.9
+14-0share/man/man9/Makefile
+3-2share/man/man9/callout.9
+2-1share/man/man9/microtime.9
+190-34 files

FreeBSD/ports 1ece35dmath/ignition-math distinfo pkg-plist

math/ignition-math: update 9.0.0 → 9.2.0

(cherry picked from commit 3d71948694c651be3a129de93754f5bc19675db5)
DeltaFile
+3-3math/ignition-math/distinfo
+2-1math/ignition-math/pkg-plist
+1-1math/ignition-math/Makefile
+6-53 files

FreeBSD/ports fe252e9misc/ignition-fuel-tools pkg-plist Makefile, misc/ignition-fuel-tools/files patch-src_CMakeLists.txt patch-CMakeLists.txt

misc/ignition-fuel-tools: update 1.2.0 → 11.0.0

(cherry picked from commit e09c1f5a8d52a6eb3f205404f5a45a148f2ded1f)
DeltaFile
+35-33misc/ignition-fuel-tools/pkg-plist
+17-12misc/ignition-fuel-tools/Makefile
+0-25misc/ignition-fuel-tools/files/patch-src_CMakeLists.txt
+0-22misc/ignition-fuel-tools/files/patch-CMakeLists.txt
+3-3misc/ignition-fuel-tools/distinfo
+55-955 files

FreeBSD/ports 0fb471adevel/ignition-common pkg-plist distinfo

devel/ignition-common: update 7.0.0 → 7.2.0

(cherry picked from commit 9905045afbff4e2330bf6761caf8c05864520ebe)
DeltaFile
+8-8devel/ignition-common/pkg-plist
+3-3devel/ignition-common/distinfo
+2-1devel/ignition-common/Makefile
+13-123 files

FreeBSD/ports d1dcd32devel/ignition-msgs distinfo pkg-plist

devel/ignition-msgs: update 12.0.0 → 12.0.2

(cherry picked from commit 2d54ebea1b9aebeff65c3d0a4ce4e351924d2fbd)
DeltaFile
+3-3devel/ignition-msgs/distinfo
+1-1devel/ignition-msgs/pkg-plist
+1-1devel/ignition-msgs/Makefile
+5-53 files

FreeBSD/ports 2614061devel/ignition-cmake distinfo Makefile

devel/ignition-cmake: update 5.0.0 → 5.1.1

(cherry picked from commit 1a05b364d2ec51aa351c25502082dbd7a5bbe6d3)
DeltaFile
+3-3devel/ignition-cmake/distinfo
+1-1devel/ignition-cmake/Makefile
+4-42 files

FreeBSD/ports 2d54ebedevel/ignition-msgs distinfo pkg-plist

devel/ignition-msgs: update 12.0.0 → 12.0.2
DeltaFile
+3-3devel/ignition-msgs/distinfo
+1-1devel/ignition-msgs/pkg-plist
+1-1devel/ignition-msgs/Makefile
+5-53 files

FreeBSD/ports 3d71948math/ignition-math distinfo pkg-plist

math/ignition-math: update 9.0.0 → 9.2.0
DeltaFile
+3-3math/ignition-math/distinfo
+2-1math/ignition-math/pkg-plist
+1-1math/ignition-math/Makefile
+6-53 files

FreeBSD/ports e09c1f5misc/ignition-fuel-tools pkg-plist Makefile, misc/ignition-fuel-tools/files patch-src_CMakeLists.txt patch-CMakeLists.txt

misc/ignition-fuel-tools: update 1.2.0 → 11.0.0
DeltaFile
+35-33misc/ignition-fuel-tools/pkg-plist
+17-12misc/ignition-fuel-tools/Makefile
+0-25misc/ignition-fuel-tools/files/patch-src_CMakeLists.txt
+0-22misc/ignition-fuel-tools/files/patch-CMakeLists.txt
+3-3misc/ignition-fuel-tools/distinfo
+55-955 files

FreeBSD/ports 1a05b36devel/ignition-cmake distinfo Makefile

devel/ignition-cmake: update 5.0.0 → 5.1.1
DeltaFile
+3-3devel/ignition-cmake/distinfo
+1-1devel/ignition-cmake/Makefile
+4-42 files

FreeBSD/ports 9905045devel/ignition-common pkg-plist distinfo

devel/ignition-common: update 7.0.0 → 7.2.0
DeltaFile
+8-8devel/ignition-common/pkg-plist
+3-3devel/ignition-common/distinfo
+2-1devel/ignition-common/Makefile
+13-123 files

FreeBSD/ports 7f152bex11/hyprlock distinfo Makefile, x11/hyprlock/files patch-pam_hyprlock

x11/hyprlock: Update to 0.9.6

Changelog: https://github.com/hyprwm/hyprlock/releases/tag/v0.9.6

Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11/hyprlock/distinfo
+3-3x11/hyprlock/files/patch-pam_hyprlock
+1-2x11/hyprlock/Makefile
+7-83 files