acpi_spmc: Fix checking expected DSMs
Previously was or'ing the indices of the DSMs directly, not their
corresponding bits. This commit rectifies this.
Reviewed by: olce
Approved by: olce
Fixes: c5daa5a4c32c ("acpi_spmc: Add system power management controller driver")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/https://reviews.freebsd.org/D56062
filesystems/gvfs: update to 1.58.4
update to 1.58.4
Major changes in 1.58.4
=======================
* Re-release of 1.58.3 due to incorrect release tag; no code changes.
Major changes in 1.58.3
=======================
* CVE-2026-28296: ftp: Reject paths with CR/LF in g_vfs_ftp_file_new_from_ftp (Ondrej Holy)
* monitor: Do not load monitors when GIO_USE_VFS=local (Ondrej Holy)
Major changes in 1.58.2
=======================
* client: Fix use-after-free when creating async proxy failed (Ondrej Holy)
* daemon: Fix race on subscribers list when on thread (Ondrej Holy)
* ftp: Validate fe_size when parsing symlink target (Ondrej Holy)
* ftp: Check localtime() return value before use (Ondrej Holy)
[71 lines not shown]
hid/hgame: Fix desync in hgame_dpad_cb()
hgame_dpad_cb() previously exited early whenever conflicting directions
were input (e.g., UP + DOWN) without saving said input to the
hgame_softc state. This led to a desync between the driver and the
gamepad.
This patch instead handles conflicting inputs by cancelling them out
with each other.
Remove early return. Calculate axis value by subtraction.
Reviewed by: obiwac
Approved by: obiwac
Differential Revision: https://reviews.freebsd.org/D55849
pf tests: verify that we handle address range rules correctly
There's been a problem where rules which differed only in address ranges
were considered duplicates and not added. Test for this.
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/RStudio: Improve Makefile by adding ELECTRON_VERSION variable
This port was a bit fragile, but it builds and works fine when
electron37 is available. (electron37 is currently broken).
net-im/deltachat-desktop: Switch to Electron 39
Upstream will continue to support Electron 39, so now we can have
Deltachat Desktop on FreeBSD package mirrors.
See PR 270565 for details about the current status of packaging Electron
apps on FreeBSD.
hwpmc.4: correct stale default values and update diagnostics
The default values documented for kern.hwpmc.logbuffersize (4KB) and
kern.hwpmc.nbuffers_pcpu (64) have been incorrect since 2981a3420cb1
(2018), which updated the compiled defaults but did not update the
man page.
- Correct logbuffersize default from 4KB to 256KB, add 16MB maximum
- Correct nbuffers_pcpu default from 64 to 32, document 32MB per-CPU
product limit with kern.hwpmc.logbuffersize
- Update DIAGNOSTICS section to reflect current warning messages
Reviewed by: mhorne
MFC after: 1 week
Sponsored by: NLINK (nlink.com.br)
Differential Revision: https://reviews.freebsd.org/D56050
hwpmc: improve diagnostic messages for invalid tunables
Replace printf() with log(LOG_WARNING, ...) in pmclog_initialize()
so that tunable validation failures are visible in dmesg and
/var/log/messages rather than only on the early console.
Also improve the messages to report both the invalid value and the
default it resets to, making it easier for users to understand why
their tunable was ignored.
While here, adjust some whitespacing/style.
Reviewed by: Ali Mashtizadeh <ali at mashtizadeh.com>, mhorne
MFC after: 1 week
Sponsored by: NLINK (nlink.com.br)
Differential Revision: https://reviews.freebsd.org/D56029
libpmc: Add support for IBS qualifiers
Add support to libpmc for parsing the IBS qualifiers and computing the
ctl register value as a function of the qualifiers and the sample rate.
This includes all of the flags available up to AMD Zen 5. Along side
these user facing changes I included the documentation for AMD IBS.
Reviewed by: mhorne
Sponsored by: Netflix
Pull Request: https://github.com/freebsd/freebsd-src/pull/2081
hwpmc: Use rdtsc instead of rdtscp for timestamps
No need for a barrier here, we are inside an NMI handler and executing a
number of serializing instructions with stronger semantics. Reducing
this overhead will increase our maximum safe sampling rate.
Tested by: Paulo Fragoso <paulo at nlink.com.br>
Reviewed by: mhorne
MFC after: 1 week
Sponsored by: Netflix
Pull Request: https://github.com/freebsd/freebsd-src/pull/2076
net/ntp: Reverse check for libmd and libmd5
When www/libwww is installed, it provides an incompatible libmd5
resulting ntp using libmd5 instead of libmd, breaking the build.
Reversing the order in which libmd and libmd5 are checked circumvents
this problem.
PR: 293949
MFH: 2026Q1
devel/py-b2: Update to 4.6.0
Changes since 4.5.1:
- Update the version command to display the installed b2sdk version
alongside the CLI version.
- Bump b2sdk version to 2.10.3.
- Fixed autocomplete parser cache on Python 3.14.2+.
- Improve command-line options formatting in CLI help text.
Reported by: github
devel/py-b2sdk: Update to 2.10.4
Update dependencies.
Changes since 2.10.2:
- Fixed a retry bug in upload_unbound_stream() small-file uploads
where a retryable upload error could cause a one-shot buffered
stream to be reopened after it was closed.
- Address backwards compatibility issue for sqlite account info
caused by the migration of schema to a new multi-bucket format.
- Avoid http-level retries during upload requests.
- Use stat.S_ISDIR check for local folder children scanning instead
of Path.is_dir to account for an api change in Python 3.14.
PR: 293748
[2 lines not shown]