FreeBSD/src 95f994e — usr.sbin/makefs/tests makefs_zfs_tests.sh

makefs: tests: Double the timeout of ZFS file_extend test

The test makefs_zfs_tests:file_extend is timing out on ci.freebsd.org.
Double the default timeout to allow it to finish.

Reported by:    Jenkins
Reviewed by:    asomers
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54425

(cherry picked from commit 065f02174f76a49fbf537ee51ed8068d3d398b08)
DeltaFile
+6-0usr.sbin/makefs/tests/makefs_zfs_tests.sh
+6-01 files

FreeBSD/src ec5fcc7 — usr.sbin/makefs/tests makefs_zfs_tests.sh

makefs: tests: Double the timeout of ZFS compression test

The test makefs_zfs_tests:compression is timing out on ci.freebsd.org.
Double the default timeout to allow it to finish.

While here, check if the file exists before cleaning up, otherwise, cat
may fail.

Reported by:    Jenkins
Reviewed by:    asomers
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54424

(cherry picked from commit 9f28e92637e9a29124f407b74d7665a921865a53)
DeltaFile
+16-6usr.sbin/makefs/tests/makefs_zfs_tests.sh
+16-61 files

FreeBSD/src 97fd69b — stand/libsa environment.c

libsa add boot_serial to is_restricted_var allow list

NOTE: variables that get passed by boot_setenv() will not have '='
so for these we need to leave that out.
It doesn't matter much unless the variable we want to allow is
also a prefix for something we do not.

Sponsored by:   Hewlett Packard Enterprise Development LP

Reviewed by:    kevans, imp
Differential Revision:  https://reviews.freebsd.org/D61856
DeltaFile
+7-8stand/libsa/environment.c
+7-81 files

FreeBSD/src 17ebd95 — sys/dev/acpica acpivar.h acpi.c, sys/dev/iicbus acpi_iicbus.c

acpi_iicbus: Return _DSD properties of the I2C children

acpi_iicbus has no bus_get_property method, so device_get_property()
on one of its children reaches acpi(4) through
bus_generic_get_property().  acpi_bus_get_prop() then takes the
child's acpi_iicbus ivars for a struct acpi_device and follows garbage
pointers: on an HP ZBook Ultra G1a, a driver reading _DSD of its I2C
device froze the machine.

Answer for the I2C children from their own ACPI handle, with a _DSD
cache in the ivars, through a helper split out of acpi_bus_get_prop().

Reviewed by:    wulf, imp
Approved by:    wulf, imp
MFC after:      1 week
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/117
DeltaFile
+22-4sys/dev/acpica/acpi.c
+21-0sys/dev/iicbus/acpi_iicbus.c
+3-0sys/dev/acpica/acpivar.h
+46-43 files

FreeBSD/src 92a634d — sys/dev/iicbus iicbus.h iicbus.c

acpi_iicbus: Free the ivars of deleted children

acpi_iicbus_child_deleted() replaces iicbus_child_deleted() but only
detached the ACPI data, so the ivars and their resource list leaked
with every deleted child.  It also used the ivars without checking
them, while iicbus_add_child_common() can leave a child without any.
Check them and call iicbus_child_deleted() at the end.

Reviewed by:    wulf, imp
Approved by:    wulf, imp
Fixes:          9b7938dcf338 ("iicbus(4): Add support for ACPI-based children enumeration")
MFC after:      1 week
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/117
DeltaFile
+3-0sys/dev/iicbus/acpi_iicbus.c
+1-1sys/dev/iicbus/iicbus.c
+1-0sys/dev/iicbus/iicbus.h
+5-13 files

FreeBSD/src d5ad797 — sys/dev/acpica acpi.c

acpi: Return the handle of a reference property, not its target

acpi_bus_get_prop() copied the first bytes of the namespace node a
_DSD reference points to, instead of the handle itself, when a caller
asked for such a property with a type other than DEVICE_PROP_HANDLE.

Reviewed by:    wulf, imp
Approved by:    wulf, imp
Fixes:          99e6980fcf5e ("device_get_property: add a HANDLE case")
MFC after:      1 week
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/117
DeltaFile
+1-1sys/dev/acpica/acpi.c
+1-11 files

FreeBSD/ports 7063b07 — graphics/graphviz Makefile

graphics/graphviz: remove duplicate lang/tcl BUILD_DEPENDS, for the third time

When ${TCLTK_DEFAULT} != 8.6:
(graphics/graphviz): Error: graphics/graphviz depends on nonexistent
origin lang/tcl91; Please contact maintainer of the port to fix
this.

PR: 300092
DeltaFile
+0-1graphics/graphviz/Makefile
+0-11 files

FreeBSD/src 44c85f6 — sys/dev/amdgpio amdgpio.c

amdgpio: Add PNP info for devmatch

amdgpio is not in GENERIC and exports no PNP info, so devmatch(8)
never loads it, and GPIO consumers on AMD systems find no controller
unless amdgpio is in kld_list.

Export the ACPI ids so devmatch(8) loads the module at boot.

Reviewed by:    imp
Approved by:    imp
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/116
DeltaFile
+4-2sys/dev/amdgpio/amdgpio.c
+4-21 files

FreeBSD/src 11ba27a — sys/dev/ichiic ig4_var.h ig4_acpi.c

ig4: Add an AMD generation with a 150 MHz clock

AMDI0010 controllers attached as Atom, whose timings assume a 100 MHz
input clock, but they run from 150 MHz (Linux drivers/acpi/acpi_apd.c),
so the bus runs above the 400 kHz of fast mode and the SDA hold time
is a third short.  The median of 200 timed 1 KB reads on an HP ZBook
Ultra G1a gives an effective 472 kHz before and 348 kHz after.

Give them their own generation: the Atom timings with a 150 MHz clock,
and of the Atom register handling only the DesignWare FIFO depth and
component version checks, not the Intel LPSS private registers.  It
sorts before IG4_SKYLAKE, so IG4_HAS_ADDREGS() stays false.

Reviewed by:    wulf, imp
Approved by:    wulf, imp
MFC after:      1 week
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/114
DeltaFile
+12-2sys/dev/ichiic/ig4_iic.c
+2-0sys/dev/ichiic/ig4_acpi.c
+1-0sys/dev/ichiic/ig4_var.h
+15-23 files

FreeBSD/src 5172cc8 — sys/x86/iommu amd_iommu.h amd_drv.c

amdiommu: Skip the invalidation after PTE-only maps

amdiommu_map_buf() waited for an invalidation after every map, so each
busdma load cost a command round trip and a completion interrupt.  A
128 KB NVMe read raised 51 IOMMU interrupts on a Ryzen 7 7735HS and 66
on a Ryzen AI Max+ PRO 395, where reads ran at 200 MB/s instead of
900 MB/s without the IOMMU.

Filling non-present PTEs needs no invalidation unless the capability
header reports NpCache, which is how Linux handles it.  A new PDE still
does: unmap frees empty page table pages and clears their PDE before
the deferred invalidation runs, and skipping the flush then produced
IO_PAGE_FAULTs from nvme(4).  A concurrent map that uses such a PDE
before its flush completes flushes too.

With this change the same reads raise 19 and 33 interrupts, and the
second machine reads at 400 to 440 MB/s.

Reviewed by:    kib, kbowling

    [3 lines not shown]
DeltaFile
+35-13sys/x86/iommu/amd_idpgtbl.c
+2-0sys/x86/iommu/amd_iommu.h
+2-0sys/x86/iommu/amd_drv.c
+39-133 files

FreeBSD/src 014091f — sys/dev/iommu busdma_iommu.c

iommu: Identity-map contexts when DMA remapping is disabled

With hw.amdiommu.enable=1 alone, interrupt remapping is on and DMA
remapping is off.  amdiommu_ir_find() still instantiates a context for
each MSI source, and it got a translating domain with an empty page
table while busdma kept handing out physical addresses, so every DMA
from these devices faulted.  On a Ryzen 7 7735HS the USB devices
attached in an endless loop.

Treat a unit with DMA remapping disabled like a device with remapping
disabled: give the context the identity mapping.

Reviewed by:    kib, kbowling
Approved by:    kib, kbowling
Fixes:          0f5116d7efe3 ("AMD IOMMU driver")
MFC after:      1 week
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/113
DeltaFile
+6-3sys/dev/iommu/busdma_iommu.c
+6-31 files

FreeBSD/src 244a39a — sys/x86/iommu amd_intrmap.c

amdiommu: Free and align interrupt remapping entries

amdiommu_ir_free_irte() cleared the IRTE but never returned its index,
so a device's 32 default entries run out: a driver using 32 MSI-X
vectors gets ENOMEM from pci_alloc_msix() on its second attach.  Free
the block with vmem_xfree(), now that msi_release() hands a group over
whole, and allocate it with vmem_xalloc() aligned on its size, since
the device ORs the message number into the MSI data, which is the IRTE
index.

As the entries are now reused, invalidate the interrupt table under the
DeviceID it is installed at, the IVRS-resolved ctx->context.rid, not
the PCI requester ID, which differs for aliased devices.

Reviewed by:    kib, kbowling, imp
Approved by:    kib, kbowling
Fixes:          0f5116d7efe3 ("AMD IOMMU driver")
MFC after:      1 week
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/112
DeltaFile
+33-35sys/x86/iommu/amd_intrmap.c
+33-351 files

FreeBSD/src bafddca — sys/x86/iommu x86_iommu.h iommu_intrmap.h, sys/x86/x86 msi.c

x86: Release the IOMMU entries of an MSI group at once

msi_alloc() takes the interrupt remapping entries of a multiple-message
MSI group as one block, but msi_release() returned them one message at
a time.  The DMAR driver frees each with vmem_free(cookie, 1): the
extra messages, released first, do not start a vmem segment, so
releasing a group with interrupt remapping on fails an assertion or
dereferences a NULL segment.

Pass the whole group to iommu_unmap_msi_intr() with its count, and free
the block at once in the DMAR driver, with one interrupt entry cache
invalidation for the range, its index mask capped at the unit's MHMV.
The AMD driver keeps clearing each entry for now.

Reviewed by:    kib, kbowling, imp
Approved by:    kib, kbowling
Fixes:          0a110d5b172e ("Use VT-d interrupt remapping block (IR) to perform FSB messages translation.")
MFC after:      1 week
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/112
DeltaFile
+15-12sys/x86/iommu/intel_intrmap.c
+8-11sys/x86/x86/msi.c
+3-3sys/x86/iommu/iommu_utils.c
+3-2sys/x86/iommu/amd_intrmap.c
+1-1sys/x86/iommu/x86_iommu.h
+1-1sys/x86/iommu/iommu_intrmap.h
+31-303 files not shown
+34-339 files

FreeBSD/ports d89badf — mail/tidemail Makefile distinfo

mail/tidemail: Update to 1.10.2
DeltaFile
+5-5mail/tidemail/distinfo
+1-1mail/tidemail/Makefile
+6-62 files

FreeBSD/ports 7dc4813 — finance/odoo16 distinfo Makefile, finance/odoo16/files patch-odoo__models.py

finance/odoo16: Update to 16.0.20261119
DeltaFile
+36-0finance/odoo16/files/patch-odoo__models.py
+3-3finance/odoo16/distinfo
+3-3finance/odoo16/Makefile
+42-63 files

FreeBSD/ports 680af75 — finance/odoo17 distinfo Makefile, finance/odoo17/files odoo.conf odoo.conf.in

finance/odoo17: Update to 17.0.20261123
DeltaFile
+0-53,122finance/odoo17/pkg-plist
+18-16finance/odoo17/Makefile
+10-0finance/odoo17/files/odoo.conf.in
+0-7finance/odoo17/files/odoo.conf
+3-3finance/odoo17/distinfo
+31-53,1485 files

FreeBSD/ports 1cf9172 — finance/odoo18 distinfo Makefile, finance/odoo18/files odoo.conf odoo.conf.in

finance/odoo18:  Update to 18.0.20261123
DeltaFile
+0-58,559finance/odoo18/pkg-plist
+18-16finance/odoo18/Makefile
+10-0finance/odoo18/files/odoo.conf.in
+0-7finance/odoo18/files/odoo.conf
+3-3finance/odoo18/distinfo
+31-58,5855 files

FreeBSD/ports 93222d3 — finance/odoo19 pkg-descr Makefile, finance/odoo19/files odoo.conf.in patch-setup.py

finance/odoo19: New port: Suite of web based open source business apps

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce,
Warehouse Management, Project Management, Billing & Accounting, Point of Sale,
Human Resources, Marketing, Manufacturing, etc

Odoo Apps can be used as stand-alone applications, but they also integrate
seamlessly so you get a full-featured Open Source ERP when you install several
Apps.
DeltaFile
+115-0finance/odoo19/files/odoo.in
+109-0finance/odoo19/Makefile
+44-0finance/odoo19/files/pkg-message.in
+19-0finance/odoo19/files/patch-setup.py
+10-0finance/odoo19/files/odoo.conf.in
+9-0finance/odoo19/pkg-descr
+306-02 files not shown
+310-08 files

FreeBSD/ports 9d274fb — finance/odoo distinfo Makefile, finance/odoo/files pkg-message.in

finance/odoo: Update to 20.0.20261123
DeltaFile
+6-5finance/odoo/Makefile
+3-3finance/odoo/files/pkg-message.in
+3-3finance/odoo/distinfo
+12-113 files

FreeBSD/ports 0b6599b — databases/py-asyncpg distinfo Makefile, databases/py-asyncpg/files patch-pyproject.toml

databases/py-asyncpg: Update to 0.32.0

PR:             299898
Reported by:    Patrick Crandol <patrick at crandol.com>
DeltaFile
+7-6databases/py-asyncpg/Makefile
+5-5databases/py-asyncpg/files/patch-pyproject.toml
+3-3databases/py-asyncpg/distinfo
+15-143 files

FreeBSD/ports 2550da1 — sysutils/gomi Makefile distinfo

sysutils/gomi: Update to 1.11.0

ChangeLog: https://github.com/babarot/gomi/releases/tag/v1.11.0
DeltaFile
+5-5sysutils/gomi/distinfo
+3-4sysutils/gomi/Makefile
+8-92 files

FreeBSD/ports 55b4d9d — multimedia/py-guessit Makefile distinfo

multimedia/py-guessit: Update to 4.5.5

ChangeLog: https://github.com/guessit-io/guessit/releases/tag/v4.5.5
DeltaFile
+3-3multimedia/py-guessit/distinfo
+2-2multimedia/py-guessit/Makefile
+5-52 files

FreeBSD/ports c618875 — devel/py-rebulk Makefile distinfo

devel/py-rebulk: Update to 6.0.3

ChangeLog: https://github.com/Toilal/rebulk/releases/tag/v6.0.3
DeltaFile
+3-3devel/py-rebulk/distinfo
+1-1devel/py-rebulk/Makefile
+4-42 files

FreeBSD/src cb354d6 — crypto/openssl BSDmakefile

crypto/openssl: correct messages printed out when copying manpages

Prior to this change section 1's message applied to 3/5/7 and vice
versa. Now the right message is printed out by the Makefile with its
respective operation.

MFC after:      1 week
DeltaFile
+6-6crypto/openssl/BSDmakefile
+6-61 files

FreeBSD/src a1c255f — secure/lib/libcrypto/man/man3 SSL_shutdown.3 ENGINE_add.3, secure/lib/libcrypto/man/man5 x509v3_config.5 fips_config.5

crypto/openssl: sync manpages with current release

The content in the manpages matches 3.5.4 today and we're on 3.5.9.
Update to 3.5.9's content so the manpages reflect the shipped release.

MFC after:      1 week
DeltaFile
+49-46secure/lib/libcrypto/man/man3/ENGINE_add.3
+34-31secure/lib/libcrypto/man/man7/EVP_PKEY-EC.7
+34-31secure/lib/libcrypto/man/man5/config.5
+33-30secure/lib/libcrypto/man/man5/fips_config.5
+32-29secure/lib/libcrypto/man/man5/x509v3_config.5
+32-29secure/lib/libcrypto/man/man3/SSL_shutdown.3
+214-196713 files not shown
+5,792-3,637719 files

FreeBSD/src 9ef73e4 — include search.h, lib/libc/stdlib tdestroy.c

tdestroy(3): Take posix_tnode * like the other tsearch(3) functions

tdestroy(3) was originally a glibc extension. glibc does not use
posix_tnode (yet), and when tdestroy(3) was pulled in its signature was
not updated to match the other tsearch(3) functions.

Fixes:          b8c99e7d912f ("libc: add glibc-compatible tdestroy(3)")
Sponsored by:   Klara, Inc.
DeltaFile
+1-1lib/libc/stdlib/tdestroy.c
+1-1include/search.h
+2-22 files

FreeBSD/src 9051201 — tests/sys/fs/fusefs xattr.cc

fusefs tests: Use memcpy to work around a -Wstrlcpy-strlcast-size warning

tests/sys/fs/fusefs/xattr.cc:572:50: error: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Werror,-Wstrlcpy-strlcat-size]
  572 |                         strlcpy((char*)out.body.bytes, attrs1, sizeof(attrs1));
      |                                                                ~~~~~~~^~~~~~~

The warning is correct in that the size is the size of the source, but
that is intended in this case.  Use memcpy() instead of strlcpy() to
match the same code in the size_only_race_smaller test above.

Differential Revision:  https://reviews.freebsd.org/D49786

(cherry picked from commit faae895fec6571242ae05b11bc7eba0dff83fa49)
DeltaFile
+1-1tests/sys/fs/fusefs/xattr.cc
+1-11 files

FreeBSD/ports bd08efd — deskutils/xdg-desktop-portal Makefile

deskutils/xdg-desktop-portal: remove shims for EOL FreeBSD 15.0

Missed in 3bcc752b87a2adce2c2cc389687c2d058c514882

PR:             301059
Approved by:    arrowd (maintainer)
DeltaFile
+1-12deskutils/xdg-desktop-portal/Makefile
+1-121 files

FreeBSD/src 1660d69 — sys/dev/usb usbdevs, sys/dev/usb/quirk usb_quirk.c

Add USB quirk for WCH-Link adapter

WCH-Link is a debug adapter from QinHeng Electronics that features a
(proprietary) debug bridge for their RISC-V MCUs, as well as a serial
gateway, implemented as a CDC device.  The CDC's call management
descriptor declares the data interface to be 1, but it is actually
interface 2. UQ_IGNORE_CDC_CM has already been implemented before to
handle this kind of firmware bug, so just add this quirk for WCH-Link.

Reported by:    Holm Tiffe
MFC after:      1 week
DeltaFile
+1-0sys/dev/usb/usbdevs
+1-0sys/dev/usb/quirk/usb_quirk.c
+2-02 files

FreeBSD/ports 0b948e4 — converters/p5-Sereal Makefile distinfo

converters/p5-Sereal: update 7.002 -> 7.003

Changelog: https://metacpan.org/dist/Sereal/changes
DeltaFile
+3-3converters/p5-Sereal/distinfo
+1-1converters/p5-Sereal/Makefile
+4-42 files