FreeBSD/src f98d856sys/netpfil/ipfilter/netinet fil.c

ipfilter(4): Fix a typo in a source code comment

- s/pointr/pointer/

Obtained from:  NetBSD
MFC after:      3 days
DeltaFile
+1-1sys/netpfil/ipfilter/netinet/fil.c
+1-11 files

FreeBSD/src e779914sys/dev/ixl virtchnl.h ixl_pf_iov.c

ixl: Validate VF virtchnl configuration

Bound variable-length virtchnl messages before computing their expected
length, following the newer Intel virtchnl implementation.

Validate VF ring sizes and alignments before programming HMC contexts.
DPDK uses 128-byte ring alignment and 64 through 8160 descriptors;
the virtchnl ABI further specifies TX multiples of 8 and RX multiples
of 32.  Preserve the 4096-descriptor limit on X722.

Validate queue bitmaps before changing any rings, validate all queue
and interrupt contexts before applying a request, and reject invalid
RSS table entries.  Also avoid sending an ACK after VLAN-strip setup
fails and reply to delete-VLAN errors with the correct opcode.

These checks prevent malformed or oversized requests from an untrusted
VF from partially programming resources outside its allocation.

MFC after:      2 weeks
DeltaFile
+108-48sys/dev/ixl/ixl_pf_iov.c
+57-13sys/dev/ixl/virtchnl.h
+165-612 files

FreeBSD/src 4b195f1sys/dev/pci pci_iov.c

pci_iov: Roll back failed VF enumeration

pci_iov_enumerate_vfs() logged a failed VF creation or driver
configuration but still reported the whole SR-IOV configuration as
successful.  The PF remained enabled with the requested NumVFs and
driver state even though one or more VF children were absent.

Make VF enumeration atomic.  Delete children created by the failed
attempt, invoke the PF driver cleanup, disable VF memory space and VF
Enable, release the IOV resources, and return the original error to
iovctl.  Also treat failure to create a VF child as an error instead
of silently accepting a partial configuration.

MFC after:      2 weeks
DeltaFile
+26-7sys/dev/pci/pci_iov.c
+26-71 files

FreeBSD/src ae122c5sys/dev/ixl ixl_pf_iov.c

ixl: Initialize VF sysctl contexts before use

The VF array is zeroed at allocation, but its sysctl contexts were
only populated after each VF was successfully added.  If VF setup
failed, IOV teardown still passed every requested VF context to
sysctl_ctx_free().  An untouched context is not an initialized empty
TAILQ and caused a page fault during teardown.

Initialize every VF context with the array so both successful setup
and partial-failure cleanup have a valid lifetime.

MFC after:      2 weeks
DeltaFile
+3-1sys/dev/ixl/ixl_pf_iov.c
+3-11 files

FreeBSD/src 8eb4403sys/dev/iavf iavf_txrx_iflib.c

iavf: Honor iflib transmit completion batching

iavf uses descriptor writeback by default.  Hardware writes completion
status into a transmit descriptor only when it completes a descriptor
marked RS.  iavf marked every packet RS even though its report-status
queue recorded and inspected only descriptors selected by iflib.  The
other completion writes could not help reclaim descriptors.

iflib marks selected packets with IPI_TX_INTR as completion
checkpoints.  It forces a checkpoint as deferred work or ring pressure
grows.  Retain EOP on every packet, but set RS only at those
checkpoints.

The deprecated head-writeback option on 700-series VFs gets the same
batching: each RS checkpoint permits hardware to publish the completed
ring head.

DPDK uses the same sparse RS design.  Let iflib choose the adaptive
interval for FreeBSD.  This is a PCIe/memory bandwidth savings.

    [2 lines not shown]
DeltaFile
+5-4sys/dev/iavf/iavf_txrx_iflib.c
+5-41 files

FreeBSD/src dd32931sys/dev/ixl ixl_txrx.c

ixl: Honor iflib transmit completion batching

ixl uses head writeback by default.  Hardware publishes the transmit
ring head through DMA only after completing a descriptor marked RS.
Marking every packet requested much more frequent head updates than
iflib needs to reclaim descriptors.

iflib marks selected packets with IPI_TX_INTR as completion
checkpoints.  It forces a checkpoint as deferred work or ring pressure
grows.  Retain EOP on every packet, but set RS only at those
checkpoints.  This batches head writebacks while preserving bounded
descriptor reclamation.

The optional descriptor writeback mode benefits as well.  ixl already
recorded only IPI_TX_INTR descriptors in its report-status queue, so
status written for every other packet was not inspected.

DPDK uses the same sparse RS design.  Let iflib choose the adaptive
interval for FreeBSD.  This is a PCIe/memory bandwidth savings.

    [2 lines not shown]
DeltaFile
+5-4sys/dev/ixl/ixl_txrx.c
+5-41 files

FreeBSD/ports d12faf0net/zapret2 Makefile distinfo

net/zapret2: Update 1.0.3 => 1.0.4

Approved by:            yuri@ (maintainer, Mentor)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58752
DeltaFile
+3-3net/zapret2/distinfo
+1-1net/zapret2/Makefile
+4-42 files

FreeBSD/doc 90fc64edocumentation/content/ru/books/handbook/jails _index.adoc _index.po

update translation of books/handbook/jails to Russian

Differential Revision: https://reviews.freebsd.org/D58751
DeltaFile
+4,294-598documentation/content/ru/books/handbook/jails/_index.po
+1,046-50documentation/content/ru/books/handbook/jails/_index.adoc
+5,340-6482 files

FreeBSD/doc d71d251website/content/ru/internal conduct-reporting.adoc photos.adoc

website: internal pages - translation to Russian

Differential Revision: https://reviews.freebsd.org/D58750
DeltaFile
+93-0website/content/ru/internal/bylaws.adoc
+15-72website/content/ru/internal/machines.adoc
+42-37website/content/ru/internal/about.adoc
+75-0website/content/ru/internal/members.adoc
+0-74website/content/ru/internal/photos.adoc
+66-0website/content/ru/internal/conduct-reporting.adoc
+291-18322 files not shown
+737-45328 files

FreeBSD/ports 2212974multimedia/libx264 Makefile, multimedia/x264 Makefile

multimedia/x264: fix build on powerpc64*

1. Properly define macros to fix build.
2. Enable VSX on powerpc64le and on powerpc64 if it's available.
DeltaFile
+38-2multimedia/x264/files/patch-meson.build
+14-0multimedia/libx264/Makefile
+5-1multimedia/x264/Makefile
+57-33 files

FreeBSD/ports 9e8cc82sysutils/bhyvemgr pkg-descr distinfo, sysutils/bhyvemgr/files pkg-message.in

sysutils/bhyvemgr: Update to 2.0.0

ChangeLog at:   https://github.com/alonsobsd/bhyvemgr/releases/tag/v2.0.0
DeltaFile
+13-4sysutils/bhyvemgr/files/pkg-message.in
+4-3sysutils/bhyvemgr/Makefile
+3-3sysutils/bhyvemgr/distinfo
+3-1sysutils/bhyvemgr/pkg-descr
+23-114 files

FreeBSD/ports 6bc317adatabases/openldap27-server Makefile

databases/openldap27-server: fix patch target for ldap.map.in

In OpenLDAP 2.7.0, ldap.map was changed to a template (ldap.map.in)
that is processed during configure. Update the post-patch sed target
accordingly to fix build failure when DEBUG option is disabled.

Reported by:    sunpoet
DeltaFile
+1-1databases/openldap27-server/Makefile
+1-11 files

FreeBSD/ports a47d867x11-wm/hyprland Makefile distinfo

x11-wm/hyprland: Update to 0.56.2

Changelog: https://github.com/hyprwm/Hyprland/releases/tag/v0.56.2

Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11-wm/hyprland/distinfo
+1-1x11-wm/hyprland/Makefile
+4-42 files

FreeBSD/ports 14e3f4ax11/lightdm pkg-plist Makefile, x11/lightdm/files patch-src_x-server.c patch-src_session-child.c

x11/lightdm: Update to 1.33.0

- Download distribution using GITHUB
- Stop limiting portscout to even versions
- Add QT6 support option, alternative to QT5
- Remove upstreamed patches
- Fix vt multiseat support [1]

Many thanks to tijl for help and testing and finding solution for
[1], which was causing regressions with polkit integration.

Reviewed by:    tijl
Tested by:      tijl
DeltaFile
+0-147x11/lightdm/files/patch-data_Makefile.in
+6-92x11/lightdm/files/patch-src_vt.c
+14-72x11/lightdm/files/patch-src_session-child.c
+0-63x11/lightdm/files/patch-src_x-server.c
+21-10x11/lightdm/Makefile
+13-0x11/lightdm/pkg-plist
+54-3846 files not shown
+74-40512 files

FreeBSD/ports 5a82babdevel/deheader Makefile distinfo

devel/deheader: update to 1.13

See http://www.catb.org/~esr/deheader/NEWS.adoc
DeltaFile
+3-3devel/deheader/distinfo
+1-1devel/deheader/Makefile
+4-42 files

FreeBSD/ports fa37e3bdevel/janet-lsp Makefile distinfo, devel/janet-lsp/files patch-src_main.janet

devel/janet-lsp: Update to 0.0.13

Differential Revision:  https://reviews.freebsd.org/D58748
DeltaFile
+9-7devel/janet-lsp/distinfo
+6-6devel/janet-lsp/Makefile
+1-1devel/janet-lsp/files/patch-src_main.janet
+16-143 files

FreeBSD/ports 49a9755sysutils/omnibackup Makefile

sysutils/omnibackup: convert OpenLDAP dependency to USES=ldap:server

Use ldap:server via the options framework instead of manually adding
the server RUN_DEPENDS.

Note that techinically omnibackup does not require the client library
anyway.

PR:             ports/297403
Approved by:    maintainer (Mamadou Babaei)
DeltaFile
+1-4sysutils/omnibackup/Makefile
+1-41 files

FreeBSD/ports 8a88c92misc/py-litellm-proxy-extras Makefile distinfo

misc/py-litellm-proxy-extras: Update to 0.4.84

Reported by:    portscout
DeltaFile
+3-3misc/py-litellm-proxy-extras/distinfo
+1-1misc/py-litellm-proxy-extras/Makefile
+4-42 files

FreeBSD/ports 36bac7fmisc/py-litellm Makefile Makefile.crates, misc/py-litellm/files patch-pyproject.toml

misc/py-litellm: Update to 1.96.0

Changelog:
- https://github.com/BerriAI/litellm/releases/tag/v1.92.1
- https://github.com/BerriAI/litellm/releases/tag/v1.93.0
- https://github.com/BerriAI/litellm/releases/tag/v1.93.1
- https://github.com/BerriAI/litellm/releases/tag/v1.94.0
- https://github.com/BerriAI/litellm/releases/tag/v1.94.1
- https://github.com/BerriAI/litellm/releases/tag/v1.95.0

Reported by:    portscout
DeltaFile
+251-143misc/py-litellm/distinfo
+124-70misc/py-litellm/Makefile.crates
+6-7misc/py-litellm/Makefile
+2-2misc/py-litellm/files/patch-pyproject.toml
+383-2224 files

FreeBSD/ports 572d4c2sysutils/bhyvemgrd distinfo pkg-plist, sysutils/bhyvemgrd/files pkg-message.in bhyvemgrd.in

sysutils/bhyvemgrd: New port: privileged helper daemon for bhyvemgr

Bhyvemgrd exposes a JSON-based IPC interface over a UNIX domain socket,
allowing the bhyvemgr client to request privileged operations required for
bhyve virtual machines, execute system-level tasks, monitor VM process states,
and receive asynchronous state notifications.
DeltaFile
+99-0sysutils/bhyvemgrd/files/bhyvemgrd.in
+43-0sysutils/bhyvemgrd/Makefile
+18-0sysutils/bhyvemgrd/files/pkg-message.in
+4-0sysutils/bhyvemgrd/pkg-descr
+3-0sysutils/bhyvemgrd/distinfo
+3-0sysutils/bhyvemgrd/pkg-plist
+170-03 files not shown
+173-29 files

FreeBSD/src e9a4d39sys/dev/iavf iavf_vc_common.h iavf_lib.h

iavf: Recover when PF communication is unavailable

A PF reset or loss of virtchnl service can make visible interface
initialization wait up to ten seconds and then return from the void
ifdi_init callback.  Iflib consequently marks the interface running even
though its queues were not initialized, and no retry is scheduled when
the PF returns.

Check reset readiness without polling during reinitialization, propagate
queue-message submission errors, and bound a silent enable or disable to
one mailbox timeout.  Report unsuccessful initialization to iflib and
publish link-down state without polling the stopped mailbox.

A VFLR also discards the Admin Queue and permits the PF to replace the
VF VSI.  Track when full virtchnl rediscovery is required, renegotiate the
API version, refresh and validate the VF resources before using a cached
VSI ID, and replay the MAC and VLAN filters cleared by reset.  Bound each
runtime discovery attempt while preserving the existing attach-time wait.


    [5 lines not shown]
DeltaFile
+365-38sys/dev/iavf/if_iavf_iflib.c
+53-20sys/dev/iavf/iavf_vc_common.c
+36-12sys/dev/iavf/iavf_lib.c
+8-0sys/dev/iavf/iavf_iflib.h
+3-1sys/dev/iavf/iavf_lib.h
+2-0sys/dev/iavf/iavf_vc_common.h
+467-716 files

FreeBSD/src 2d32961sys/dev/ufshci ufshci_ctrlr.c

ufshci: free the taskqueue on detach

ufshci_ctrlr_destruct() never freed the taskqueue. Every load and
unload cycle leaked the taskqueue and its kernel thread. A task that
was still queued could also run after the module was gone.

Free the taskqueue in destruct. Do it after the interrupt teardown
so nothing enqueues new work. A reset task that is still queued at
this point races the queue teardown. That race is older than this
change. The planned in-flight recovery rework will close it.

Sponsored by:           Samsung Electronics
Reviewed by:            imp (mentor)
Differential Revision:  https://reviews.freebsd.org/D58670
DeltaFile
+9-0sys/dev/ufshci/ufshci_ctrlr.c
+9-01 files

FreeBSD/src a33860bsys/dev/ufshci ufshci_sim.c

ufshci: do not reset the device in the XPT_RESET_DEV handler

CAM calls the SIM action callback with the SIM lock and the CAM
device lock held. The XPT_RESET_DEV handler called
ufshci_dev_reset(), which sleeps on device commands. Sleeping there
panics when another thread contends for the lock: "panic: sleeping
thread holds CAM device lock".

Report success without touching the device, as nvme_sim(4) does.
A real device reset needs the controller reset path. That rework is
planned together with in-flight request recovery.

Sponsored by:           Samsung Electronics
Reviewed by:            imp (mentor)
Differential Revision:  https://reviews.freebsd.org/D58671
DeltaFile
+7-6sys/dev/ufshci/ufshci_sim.c
+7-61 files

FreeBSD/src c686e7dsys/dev/ufshci ufshci_req_sdb.c

ufshci: check completions under the queue lock

The completion scan held only the recovery lock. The submit path sets
a slot to SCHEDULED and then rings the doorbell, both under the queue
lock. A scan running between those two steps saw a SCHEDULED slot with
a clear doorbell and completed a command the device had not started.
The command failed with OCS 0xf, and a reused slot could return wrong
read data.

Check the slot state and the doorbell under the queue lock. The submit
path holds it across both steps, so a half-submitted slot can no
longer be seen. Found with fio randrw verify on QEMU.

Sponsored by:           Samsung Electronics
Reviewed by:            imp (mentor)
Differential Revision:  https://reviews.freebsd.org/D58668
DeltaFile
+10-3sys/dev/ufshci/ufshci_req_sdb.c
+10-31 files

FreeBSD/src aaf0e80sys/dev/ufshci ufshci_sim.c

ufshci: release the CCB after sending a start stop unit command

ufshci_sim_send_ssu() got a CCB from cam_periph_getccb() but never
returned it. Each call leaked the CCB and one slot of the device's
CCB allocation budget. When the budget runs out, the next
cam_periph_getccb() waits forever and the suspend path hangs.

Release the CCB while the periph lock is still held, as the other CAM
periph drivers do.

Sponsored by:           Samsung Electronics
Reviewed by:            imp (mentor)
Differential Revision:  https://reviews.freebsd.org/D58669
DeltaFile
+3-0sys/dev/ufshci/ufshci_sim.c
+3-01 files

FreeBSD/src 266ce89sys/dev/ufshci ufshci_uic_cmd.c

ufshci: read UIC command results while holding the lock

The UIC result registers (UICCMDARG2/3) are only valid between a
command's completion and the next command's submission. They were read
after uic_cmd_lock was dropped, so a concurrent UIC submitter could
overwrite them in between. Read them into locals before releasing the
lock.

Also mask the generic error code to its [7:0] field when checking it,
so unrelated bits in UICCMDARG2 (such as the attribute set type echoed
for DME_SET) cannot be mistaken for an error.

Sponsored by:           Samsung Electronics
Reviewed by:            imp (mentor)
Differential Revision:  https://reviews.freebsd.org/D58667
DeltaFile
+9-3sys/dev/ufshci/ufshci_uic_cmd.c
+9-31 files

FreeBSD/src af00e00sys/dev/ufshci ufshci_dev.c

ufshci: initialize desc_size for non-descriptor query requests

The flag and attribute query builders left param.desc_size
uninitialized, so stack garbage was sent as the query UPIU length
field. Devices generally ignore the length for these opcodes, which
hid the bug. Zero it explicitly.

Sponsored by:           Samsung Electronics
Reviewed by:            imp (mentor)
Differential Revision:  https://reviews.freebsd.org/D58665
DeltaFile
+5-0sys/dev/ufshci/ufshci_dev.c
+5-01 files

FreeBSD/src 50a00f1sys/dev/ufshci ufshci_dev.c ufshci_ctrlr_cmd.c

ufshci: byte-swap big-endian UPIU fields

The UPIU wire fields are big-endian. The task management and query
builders wrote host-order values into them. The completion paths also
read the results back without conversion. On a little-endian host an
ABORT_TASK carried a swapped task tag and LUN, a query carried a
swapped length, and attribute reads returned swapped values. Tolerant
devices masked most of the damage.

Convert with htobe*/be*toh at the wire boundary, as ufshci_sim.c
already does for its fields.

Sponsored by:           Samsung Electronics
Reviewed by:            imp (mentor)
Differential Revision:  https://reviews.freebsd.org/D58664
DeltaFile
+7-6sys/dev/ufshci/ufshci_req_queue.c
+5-5sys/dev/ufshci/ufshci_ctrlr_cmd.c
+1-1sys/dev/ufshci/ufshci_dev.c
+13-123 files

FreeBSD/src 456ab42sys/dev/ufshci ufshci_dev.c

ufshci: initialize alloc_units before the dedicated-buffer scan

If every unit descriptor read failed in the LU-dedicated WriteBooster
scan, alloc_units was used uninitialized. Start it at zero so that case
is treated as a zero-sized buffer and WriteBooster is disabled.

Sponsored by:           Samsung Electronics
Reviewed by:            imp (mentor)
Differential Revision:  https://reviews.freebsd.org/D58663
DeltaFile
+1-1sys/dev/ufshci/ufshci_dev.c
+1-11 files

FreeBSD/src c71705asys/dev/ufshci ufshci_sim.c

ufshci: do not free the devq twice on SIM attach failure

cam_sim_free() with free_devq set already frees the devq, so the
following cam_simq_free() call on the xpt_bus_register() and
xpt_create_path() failure paths was a double free. Also clear
ctrlr->ufshci_sim so a later ufshci_sim_detach() does not operate on
the freed SIM.

Sponsored by:           Samsung Electronics
Reviewed by:            imp (mentor)
Differential Revision:  https://reviews.freebsd.org/D58662
DeltaFile
+3-2sys/dev/ufshci/ufshci_sim.c
+3-21 files