FreeBSD/src f589d1fshare/man/man4 ixv.4, sys/dev/ixgbe if_ixv.c ixgbe_hv_vf.c

ixv: Recover E610 Hyper-V carrier without the PCI link query

Current Windows PF drivers do not emulate the E610 link-status query at
PCI configuration offset 0x209.  The installed Intel ixw 1.8.54.0 driver
returns zero even with the physical port connected, leaving the VF at
no carrier after an otherwise successful hn handoff.

When the query returns zero, use VFLINKS for carrier only.  Its speed
field is not the negotiated E610 line rate: the tested 1 Gb/s port
reports the default 10 Gb/s encoding.  Publish an unknown speed instead,
including in the verbose link-up diagnostic, and document this fallback.
Keep nonzero PCI results authoritative and reject all-ones reads.  Other
Hyper-V families and the native E610 mailbox path are unchanged.

A zero result cannot distinguish an unsupported query from a down link;
in either case this fallback relies on the legacy carrier indication.
The connected and disconnected ports reported VFLINKS.UP set and clear,
respectively, while both returned zero from the PCI query.


    [2 lines not shown]
DeltaFile
+17-0sys/dev/ixgbe/ixgbe_hv_vf.c
+7-3sys/dev/ixgbe/if_ixv.c
+4-1share/man/man4/ixv.4
+28-43 files

FreeBSD/src 9ea7bebshare/man/man4 ixv.4, sys/dev/ixgbe ixgbe_osdep.h ixgbe_osdep.c

ixv: Add Hyper-V virtual function support

Hyper-V does not expose the normal Intel PF/VF mailbox.

Import the Hyper-V operation overrides from DPDK and complete its reset
callback with the configuration-space mechanism submitted by Microsoft.
Route ixv operations through the operation table, use mailbox API 1.0,
and limit this environment to one queue pair.

Claim the 82599, X540, X550, X550EM-X, and X550EM-A Hyper-V device IDs
listed by DPDK.  Select the same path for the E610 Hyper-V subdevice
identity defined there.

For E610/Linkville, read the emulated VFLINKS-format status from PCI
configuration space at offset 0x209.  Older families retain the MMIO
VFLINKS path.

Treat receive-mode changes as host-owned no-ops and do not retry VLAN
operations that Hyper-V permanently rejects.  Limit the Hyper-V 82599

    [13 lines not shown]
DeltaFile
+277-0sys/dev/ixgbe/ixgbe_hv_vf.c
+94-40sys/dev/ixgbe/if_ixv.c
+12-0sys/dev/ixgbe/ixgbe_hv_vf.h
+9-2share/man/man4/ixv.4
+7-1sys/dev/ixgbe/ixgbe_osdep.c
+4-0sys/dev/ixgbe/ixgbe_osdep.h
+403-432 files not shown
+406-438 files

FreeBSD/src b5519c4contrib/hyperv/tools/scripts hyperv_vfup

hyperv: Configure IPv6 when setting up VF failover

The default VF-up script moves IPv4 configuration from the synthetic
interface to a failover lagg, but leaves IPv6 unconfigured on the lagg.
Adding the synthetic interface as a member can remove its IPv6 addresses,
so deleting the remaining member addresses is not sufficient.

Stop accepting router advertisements on the synthetic interface before
adding it to the lagg.  Leave its link-local address and IPv6 enable state
in place for lagg's address, prefix and default-router cleanup, then disable
IPv6 and explicitly remove any remaining addresses.  This also covers
members without a link-local address or with IPv6 already disabled.

Replay the synthetic interface's IPv6 rc.conf configuration on the lagg,
including aliases, prefix-derived addresses and legacy configuration names.
Remap the variables in a subshell and reuse network.subr's IPv6 helpers.
For SLAAC, solicit fresh router advertisements rather than copying learned
addresses as permanent ones.  Configure IPv6 independently of the IPv4
DHCP/static choice, and leave existing laggs alone on repeated invocation.

    [6 lines not shown]
DeltaFile
+75-5contrib/hyperv/tools/scripts/hyperv_vfup
+75-51 files

FreeBSD/src 90f7956contrib/hyperv/tools/scripts hyperv_vfup

hyperv: Bound IPv4 address removal when configuring VF failover

The VF-up script repeatedly deletes the first IPv4 address from hn until
ifconfig fails.  Netlink-based ifconfig returns success when no address
remains, so the script can loop forever and block subsequent devd work.

Use ipv4_down() from the already-sourced network.subr to enumerate the
addresses and delete each explicitly.  This also handles multiple
addresses without relying on the exit status of an empty deletion.  The
behavior depends on ifconfig, not the VF hardware, so no device-specific
fallback is needed.

Fixes:  c68595695679 ("hyperv: Add VF bringup scripts and devd rules.")
MFC after:      2 weeks
Sponsored by:   BBOX.io
DeltaFile
+2-8contrib/hyperv/tools/scripts/hyperv_vfup
+2-81 files

FreeBSD/src 8e816fcsys/dev/hyperv/netvsc if_hn.c, sys/net if_var.h if.c

hn: Invoke the owned VF's transmit queue flush callback

The generic if_qflush() only clears if_snd.  Calling it directly for a
transparent VF bypasses the driver's callback and its private software
transmit queues.  Add if_getqflushfn(), matching the existing callback
accessors, and invoke the registered callback while hn_vf_lock protects
the VF pointer.

Flush an attached VF whenever transparent mode owns it, not only while
the VF datapath is enabled.  Disabling transmit during handoff does not
discard packets already queued to the VF.  This also covers the inactive
interval after fallback.  Non-transparent VFs remain independently owned
and are not flushed by hn.  Synthetic queue flushing is unchanged.

MFC after:      2 weeks
Sponsored by:   BBOX.io
DeltaFile
+6-0sys/net/if.c
+3-2sys/dev/hyperv/netvsc/if_hn.c
+1-0sys/net/if_var.h
+10-23 files

FreeBSD/src 6b3b1d6sys/dev/hyperv/netvsc if_hn.c

hn: Serialize VF link events with datapath handoff

Hold hn_vf_lock across the VF identity/state check and link publication.
Otherwise an event can observe an enabled VF, pause during fallback, then
overwrite the freshly reported synthetic carrier with stale VF state.
Ignore events while switching or after the association generation changes.
The link notification only queues further work, so the callback does not
need the sleepable hn lock.

Document that association serial numbers are currently diagnostic:
hn_ismyvf() matches the VF by MAC, while notifications gate availability.

MFC after:      2 weeks
Sponsored by:   BBOX.io
DeltaFile
+8-1sys/dev/hyperv/netvsc/if_hn.c
+8-11 files

FreeBSD/src a64205bsys/dev/hyperv/netvsc hn_nvs.h if_hnreg.h

hn: Track VF association and wait for datapath switch completion

Handle the host's VF association notifications instead of ignoring them.
Require an allocated association before switching to the MAC-matched VF,
and track notification generations so a withdrawal during initialization
cannot enable an obsolete handoff.  Defer association and address-event
work to the VF taskqueue; the receive channel must remain available to
deliver switch completions.

Request and wait for the empty VMBus completion for SET_DATAPATH, checking
submission and channel-revocation failures.  Enable transparent VF
transmit and select its link status only after the switch completes.
Use the existing transaction lifetime and revocation handling, without a
timeout that could leave a late completion referencing a freed request.

Restore synthetic capabilities, TSO limits and hardware-assist flags on
fallback, targeting hn rather than the departing VF.  Block transparent
transmit during handoff and after association withdrawal.  Separate the
attach delay from saved-setting readiness, permit delayed association to

    [6 lines not shown]
DeltaFile
+242-93sys/dev/hyperv/netvsc/if_hn.c
+42-6sys/dev/hyperv/netvsc/hn_nvs.c
+9-1sys/dev/hyperv/netvsc/if_hnvar.h
+7-1sys/dev/hyperv/netvsc/if_hnreg.h
+1-1sys/dev/hyperv/netvsc/hn_nvs.h
+301-1025 files

FreeBSD/src ddcf8besys/dev/hyperv/pcib vmbus_pcib.c

hyperv: Stop bus relations handling from falling through to eject

The PCI_BUS_RELATIONS2 case lacks a break after queuing the reported
devices.  It consequently processes the same packet as PCI_EJECT,
interpreting device_count as the slot number.  If that value matches an
existing child, the callback schedules an unintended device eject.

End the relations case after processing the device list, matching the
original PCI_BUS_RELATIONS handling.

Fixes:  ea11861e434a ("arm64: Hyper-V: vPCI: Enabling v-PCI in FreeBSD in ARM64 Hyper-V")
MFC after:      2 weeks
Sponsored by:   BBOX.io
DeltaFile
+1-0sys/dev/hyperv/pcib/vmbus_pcib.c
+1-01 files

FreeBSD/src 7c43b91sys/dev/hyperv/netvsc if_hn.c

hn: Refresh VF offloads after bringing it up

VF readiness can precede its first initialization.  In particular,
iflib populates if_hwassist during init, so copying it while the VF is
still down can leave hn advertising checksum and TSO capabilities with
no hardware-assist flags.  The stack then uses software segmentation
until a capability ioctl happens to refresh the copied state.

Synchronize enabled capabilities and hardware-assist flags after the VF
up ioctl succeeds, before switching the datapath and enabling transparent
VF transmit.  Use the existing helper in the common initialization path,
covering both normal bring-up and delayed VF initialization.

MFC after:      2 weeks
Sponsored by:   BBOX.io
DeltaFile
+6-0sys/dev/hyperv/netvsc/if_hn.c
+6-01 files

FreeBSD/ports 0d90b34math/octave-forge-pkg-octave-doc Makefile distinfo

math/octave-forge-pkg-octave-doc: Update to 0.8.4.
DeltaFile
+3-3math/octave-forge-pkg-octave-doc/distinfo
+1-1math/octave-forge-pkg-octave-doc/Makefile
+4-42 files

FreeBSD/ports 530a5e2math/octave-forge-datatypes Makefile distinfo

math/octave-forge-datatypes: Update to 1.4.1.
DeltaFile
+3-3math/octave-forge-datatypes/distinfo
+1-1math/octave-forge-datatypes/Makefile
+4-42 files

OpenBSD/src Op1uTs1sys/dev/pci/drm/i915 i915_pci.c

   match on dg2, Intel Arc A-Series (Alchemist) graphics cards

   Some functions are still stubbed out, but what is there now can run
   accelerated X.
VersionDeltaFile
1.27+0-1sys/dev/pci/drm/i915/i915_pci.c
+0-11 files

FreeBSD/src 8895b13etc/mtree BSD.include.dist, include Makefile

ufshci: install the ioctl header

The passthrough ioctl has a userland ABI header, but nothing installed
it. A program that wanted to use the ioctl had to copy the headers out
of the source tree by hand.

Install ufshci.h and ufshci_ioctl.h under /usr/include/dev/ufshci, the
way nvme installs nvme.h. The ioctl header pulls in ufshci.h, so both
go. Add the directory to the include mtree so installworld creates it.

Reviewed by:    imp (mentor)
Sponsored by:   Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D59560
DeltaFile
+6-0include/Makefile
+2-0etc/mtree/BSD.include.dist
+8-02 files

FreeBSD/src 28fefc4sys/dev/ufshci ufshci.h ufshci_private.h, sys/modules/ufshci Makefile

ufshci: add a control device node

The driver only exposed a CAM SIM. Userland had no way to reach the
device for anything that is not a SCSI command, so reading a descriptor
or an attribute was impossible.

Add /dev/ufshci%d as a root only node and the ioctl ABI header for it.
The node answers no ioctl yet. The header pulls in ufshci.h, which
declares bool only under _KERNEL, so include stdbool.h for userland the
way nvme.h already does.

Reviewed by:    imp (mentor)
Sponsored by:   Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D59558
DeltaFile
+67-0sys/dev/ufshci/ufshci_ioctl.c
+54-0sys/dev/ufshci/ufshci_ioctl.h
+6-0sys/dev/ufshci/ufshci_private.h
+6-0sys/dev/ufshci/ufshci_ctrlr.c
+3-0sys/dev/ufshci/ufshci.h
+1-0sys/modules/ufshci/Makefile
+137-06 files

FreeBSD/src ae31f29sys/dev/ufshci ufshci_private.h ufshci_uic_cmd.c

ufshci: add a passthrough ioctl

This ioctl is for a port of ufs-utils:
https://github.com/SanDisk-Open-Source/ufs-utils

The driver only exposed a CAM SIM. Reading a descriptor, an attribute
or a flag needs a query request, and a UniPro attribute needs a DME
command. The driver built both only for its own setup, so userland
could reach neither.

Add two ioctls on the control node. UFSHCI_PASSTHROUGH_CMD sends a
UPIU the caller built, sizes the request from its transaction code,
and copies the response UPIU back. UFSHCI_PASSTHROUGH_UIC carries the
four attribute commands and refuses the rest, which can drop the link
or power the device off. It keeps the raw argument2 so the caller can
read the result code the device reported, not just a failure.

Validate the input and bound it by what the controller can map. The
descriptor has no request length, so the controller reads it from the

    [10 lines not shown]
DeltaFile
+236-0sys/dev/ufshci/ufshci_ioctl.c
+10-4sys/dev/ufshci/ufshci_ioctl.h
+8-2sys/dev/ufshci/ufshci.h
+3-2sys/dev/ufshci/ufshci_uic_cmd.c
+2-0sys/dev/ufshci/ufshci_private.h
+259-85 files

FreeBSD/src d3e5082sys/dev/ufshci ufshci_req_queue.c

ufshci: tell the controller how long the EHS is

The transfer request descriptor has a field for the total Extra Header
Segment length. The driver left it at zero. A request that carried an
EHS went out as the bare command UPIU, and the device answered a request
it had only seen part of.

Fill the field from the request UPIU header, which already carries the
same length. Every other path sets it to zero, so nothing else changes.
An EHS is the first thing that makes a request vary in size, so assert
that the request and the response still fit in the command descriptor.

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

LLVM/project 40ab38aclang/test/Driver modules-driver-depscan-log.cpp

Use -fsyntax-only for modules-driver-depscan-log.cpp test (#223014)

The modules-driver-depscan-log.cpp is failing after PR#222209 was landed
on mac when building LLVM with libcxx. This patch changed the `-o` flag
to `-fsyntax-only` to mitigate this issue.
DeltaFile
+1-1clang/test/Driver/modules-driver-depscan-log.cpp
+1-11 files

OpenBSD/src D3pDfi5sys/dev/pci/drm/i915/gem i915_gem_ttm.c

   unstub i915_ttm_tt_unpopulate() i915_ttm_tt_shmem_unpopulate()
VersionDeltaFile
1.16+4-5sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
+4-51 files

OpenBSD/src ndtHK7ysys/dev/pci/drm/i915/gem i915_gem_ttm.c

   unstub i915_ttm_tt_get_st()
VersionDeltaFile
1.15+0-4sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
+0-41 files

LLVM/project d6b0c1bbolt/include/bolt/Core BinaryFunction.h BinaryContext.h, bolt/lib/Core BinaryFunction.cpp BinaryContext.cpp

[BOLT] Prevent missing ExternalBranch validation (#221927)

#165406 introduced validation to check whether a branch target is a
valid instruction to detect corrupted CFGs. However, as described in
[165406#discussion](https://github.com/llvm/llvm-project/pull/165406#discussion_r2601459105),
it can miss validations when a function contains multiple invalid
ExternalBranches.
Therefore, this patch introduces a branch-level set to prevent duplicate
validations while ensuring no branches are missed.
DeltaFile
+37-23bolt/lib/Core/BinaryContext.cpp
+11-1bolt/lib/Core/BinaryFunction.cpp
+11-0bolt/test/AArch64/validate-branch-target.s
+8-2bolt/include/bolt/Core/BinaryContext.h
+8-0bolt/test/X86/validate-branch-target.s
+0-4bolt/include/bolt/Core/BinaryFunction.h
+75-306 files

OpenBSD/src Jw6PC0Esys/dev/pci/drm/i915/gem i915_gem_ttm.c

   unstub i915_ttm_tt_shmem_populate()

   in struct i915_ttm_tt, change file pointer to uobj
VersionDeltaFile
1.14+65-8sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
+65-81 files

OpenBSD/src ukhzLBEsys/dev/pci/drm drm_linux.c, sys/dev/pci/drm/include/linux scatterlist.h

   add sg_alloc_table_from_pages_segment()

   used by xe_tt_map_sg() in xe and i915_ttm_tt_get_st() in inteldrm
VersionDeltaFile
1.148+33-1sys/dev/pci/drm/drm_linux.c
1.13+4-1sys/dev/pci/drm/include/linux/scatterlist.h
+37-22 files

OpenBSD/src olg7aLusys/dev/pci/drm drm_linux.c

   add empty dma_map_sgtable() and dma_unmap_sgtable()

   prototypes were added in dma-mapping.h rev 1.7
VersionDeltaFile
1.147+14-1sys/dev/pci/drm/drm_linux.c
+14-11 files

OpenBSD/src kdYHyKlsys/dev/pci/drm/i915/gem i915_gem_object.h i915_gem_shmem.c

   change shmem_sg_alloc_table() arg from bo to uobj for ttm
VersionDeltaFile
1.17+10-9sys/dev/pci/drm/i915/gem/i915_gem_shmem.c
1.10+2-2sys/dev/pci/drm/i915/gem/i915_gem_object.h
+12-112 files

LLVM/project 0d91c10lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.h ProcessGDBRemote.cpp

[lldb] Fix use-after-free in jThreadsInfo stop info cache (#223488)

WillPublicStop iterates over the array borrowed from m_jthreadsinfo_sp
while WillResume concurrently resets the pointer on another thread,
freeing the array during the walk.

Protect the cached stop info with a mutex and copy the shared pointer
out before processing. Also modernize m_shared_cache_info to Guarded.

rdar://186776438
DeltaFile
+25-20lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+14-8lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+39-282 files

FreeBSD/ports 73dd2e4games/freeciv21 Makefile distinfo

games/freeciv21: Update 3.1.2 => 3.1.3

Changelog:
https://github.com/longturn/freeciv21/releases/tag/v3.1.3

PR:             298444
Sponsored by:   UNIS Labs (vvd, commit patch)
MFH:            2026Q3

(cherry picked from commit ab9b0dae6a5e47f58aee3fe0f123e558c869ee25)
DeltaFile
+3-3games/freeciv21/distinfo
+1-1games/freeciv21/Makefile
+4-42 files

FreeBSD/ports aa52691games/freeciv21 distinfo Makefile

games/freeciv21: Update 3.1.1 => 3.1.2

While here, drop the custom variable FC21_VERSION and use standard
variables instead.

Changelog: https://github.com/longturn/freeciv21/releases/tag/v3.1.2

PR:             297212
Reported by:    Tobias Rehbein <tobias.rehbein at web.de> (maintainer)

(cherry picked from commit 66168c364250bb2d978740f89aa046befc65547a)
DeltaFile
+4-5games/freeciv21/Makefile
+3-3games/freeciv21/distinfo
+7-82 files

FreeBSD/ports ab9b0dagames/freeciv21 Makefile distinfo

games/freeciv21: Update 3.1.2 => 3.1.3

Changelog:
https://github.com/longturn/freeciv21/releases/tag/v3.1.3

PR:             298444
Sponsored by:   UNIS Labs (vvd, commit patch)
MFH:            2026Q3
DeltaFile
+3-3games/freeciv21/distinfo
+1-1games/freeciv21/Makefile
+4-42 files

LLVM/project 45c113dbolt/runtime common.h instr.cpp

[BOLT][AArch64] Make Android instrumentation runtime fail safe (#223110)

Profiling failure in BOLT instrumentation runtime should not kill the
host app on Android. Under `ANDROID_AARCH64`, we now handle failures
in instrumentation setup, memory allocation, hash table operations,
data dumping, opening profile output file, zero-counter binary, etc..
Since the first failure, we will disable profiling and directly return
from various instrumentation entry points, instead of assert/exit.

Only for Android AArch64; the behavior is unchanged otherwise.
DeltaFile
+231-38bolt/runtime/instr.cpp
+6-2bolt/runtime/common.h
+237-402 files

LLVM/project 86dfc32clang/lib/CIR/CodeGen CIRGenAtomic.cpp, clang/test/CIR/CodeGen atomic-libcall.c

[CIR] Atomic compare-and-exchange via libcall (#206073)

This patch adds support for atomic compare-and-exchange operations via libcall.

Assisted-by: Codex / gpt-5.5 xhigh
DeltaFile
+87-9clang/test/CIR/CodeGen/atomic-libcall.c
+22-8clang/lib/CIR/CodeGen/CIRGenAtomic.cpp
+109-172 files