LLVM/project 6b858d9clang/test/Analysis/Scalable/PointerFlow unsafe-buffer-reachable-topologies.test, clang/unittests/ScalableStaticAnalysis/WholeProgramAnalysis UnsafeBufferReachableAnalysisTest.cpp

change lit-tests to unit tests because there is no way to FileCheck json completely
DeltaFile
+394-0clang/unittests/ScalableStaticAnalysis/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+0-367clang/test/Analysis/Scalable/PointerFlow/unsafe-buffer-reachable-topologies.test
+394-3672 files

LLVM/project 48f081aclang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp, clang/test/Analysis/Scalable/PointerFlow unsafe-buffer-reachable-cast-cycle.test

fix clang-format
DeltaFile
+2-1clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+1-1clang/test/Analysis/Scalable/PointerFlow/unsafe-buffer-reachable-cast-cycle.test
+3-22 files

LLVM/project 1993e96clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp, clang/test/Analysis/Scalable/PointerFlow unsafe-buffer-reachable-cast-cycle.test unsafe-buffer-reachable-topologies.test

[SSAF][PointerFlow] Change unsafe-buffer reachability analysis back to simple graph search

Because of commit 30cd4297b, we no longer need unsafe-buffer
reachability analysis to "uncompress" pointer flow graphs. It can go
back to simple DFS. Since it deals with large data, simplicity is
important.

In addition, unit tests for the "compressed" pointer flow graphs are
moved to lit tests because they are no longer suitable as WPA unit
tests. As lit tests, they are end-to-end tests where the extractor is
involved and is responsible for generating "uncompressed" graphs.

Final step of
rdar://183529483
DeltaFile
+367-0clang/test/Analysis/Scalable/PointerFlow/unsafe-buffer-reachable-topologies.test
+0-190clang/unittests/ScalableStaticAnalysis/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+52-0clang/test/Analysis/Scalable/PointerFlow/unsafe-buffer-reachable-cast-cycle.test
+5-45clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+424-2354 files

LLVM/project 45c256bclang/include/clang/ScalableStaticAnalysis/Analyses/EntityPointerLevel EntityPointerLevel.h, clang/lib/ScalableStaticAnalysis/Analyses/EntityPointerLevel EntityPointerLevel.cpp

[SSAF][PointerFlow] A pointer assignment may yield more than one edge (#218207)

This commit is a redesign of #198889, which introduced a non-termination
bug.

Problem:
The current pointer-flow graph has exactly one edge corresponding to an
assignment in the source code. For example, a pointer assignment p = q;
results in an edge `(p, i) -> (q, j)` for some pointer levels i and j.
In unsafe buffer propagation, the edge encodes the meaning that if `p`
is bounded, so must `q` be; additionally, if `*p (or p[x])` is bounded,
so must `*q (or q[y])` be; and so on until the maximum pointer level of
`p` or `q` is reached.

Therefore, during the graph search (WPA phase), a node `(p, i+1)` can
reach `(q, j+1)` through the edge `(p, i) -> (q, j)`. This is correct
ONLY when `p` and `q` have compatible types, which is true for most
cases due to type checking. However, this assumption does not hold in
the presence of reinterpreting casts—a pointer assignment `a = (T)b`

    [31 lines not shown]
DeltaFile
+61-54clang/lib/ScalableStaticAnalysis/Analyses/PointerFlow/PointerFlowExtractor.cpp
+38-5clang/unittests/ScalableStaticAnalysis/Analyses/PointerFlow/PointerFlowTest.cpp
+0-9clang/lib/ScalableStaticAnalysis/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+0-6clang/include/clang/ScalableStaticAnalysis/Analyses/EntityPointerLevel/EntityPointerLevel.h
+99-744 files

NetBSD/src ieu6IBCsys/arch/m68k/include frame.h, sys/arch/m68k/m68k sunos_machdep.c compat_16_machdep.c

   Make sure the stack is aligned when delivering signals.

   Fixes the t_signal_and_sp:misaligned_sp_and_signal and
   t_signal_and_sp:signalsp_sigaltstack test cases on m68k.
VersionDeltaFile
1.53+14-9sys/arch/m68k/m68k/sig_machdep.c
1.41+4-4sys/arch/m68k/m68k/sunos_machdep.c
1.20+4-4sys/arch/m68k/m68k/compat_16_machdep.c
1.41+2-2sys/arch/m68k/include/frame.h
+24-194 files

FreeBSD/ports cd2ac40sysutils/ebsnvme-id distinfo Makefile

sysutils/ebsnvme-id: Update to 1.0.4

This adds ebsnvme-stats.  The port keeps the name "ebsnvme-id" for
historical reasons.

Sponsored by:   Amazon
DeltaFile
+8-5sysutils/ebsnvme-id/Makefile
+3-3sysutils/ebsnvme-id/distinfo
+11-82 files

FreeBSD/src 62fb72bshare/man/man4 Makefile ixv.4

ixv(4): Add a manual page

Document supported virtual-function families, driver features, queue
negotiation, PF-controlled policy, and media limitations.

Sponsored by:   BBOX.io

(cherry picked from commit 1391e272de36f7aae2c800d96cc06762553d5027)
DeltaFile
+98-0share/man/man4/ixv.4
+2-0share/man/man4/Makefile
+100-02 files

FreeBSD/src ffb83a7sys/dev/ixgbe if_ix.c

ixgbe: Enable per-pool RSS on X550 family devices

X550 family devices provide a separate RSS key, redirection table,
and MRQC register for every VMDq pool.  With SR-IOV enabled, the
driver continued programming only the global RSS state and never
selected MRQC.MULTIPLE_RSS.  VF-local RSS programming was therefore
ineffective.

Enable multiple-RSS mode for X550, X552, X553, and E610.  Initialize
the PF pool's 64-entry key, redirection table, and RSS hash controls.
Leave each VF pool untouched so its driver retains ownership of its
RSS key and mapping.

E610 folds IPv6 extension-header traffic into its base RSS selectors
and reserves the legacy EX selector bits.  Translate those requested
hash types rather than programming reserved bits.

With two E610 VFs active and four PF queue sets, eight fixed TCP flows
distributed across all four PF receive queues.

    [8 lines not shown]
DeltaFile
+69-20sys/dev/ixgbe/if_ix.c
+69-201 files

FreeBSD/src 8d39b5csys/dev/ixgbe ixgbe_vf.h if_ixv.c

ixv: Preserve statistics across resets

The VF statistics registers are free running and are not cleared on
read.  The existing code records attach time bases and pre-reset totals,
but never uses either when publishing counters.  It instead replaces
the low hardware bits directly, so counters can inherit pre-attach
traffic or jump backward after a reset.

Accumulate modular 32- and 36-bit deltas, following DPDK, while keeping
the software totals across planned resets.  Establish a fresh hardware
baseline after each successful reset and invalidate the sampling epoch
when mailbox state is lost.  Detect unsolicited PF resets explicitly so
a reset while link is down cannot be mistaken for counter wrap.

Remove the unused base and saved-reset bookkeeping.

On E610, packet and octet counters remained monotonic across a VF FLR
and a PF down/up cycle.  Traffic after each reset advanced both RX and
TX counters.

    [4 lines not shown]
DeltaFile
+49-66sys/dev/ixgbe/if_ixv.c
+1-12sys/dev/ixgbe/ixgbe_vf.h
+50-782 files

FreeBSD/src 09a1acfshare/man/man4 ix.4, sys/dev/ixgbe ixgbe_sriov.h if_ix.c

ixgbe: Enable SR-IOV on E610 PFs

E610 inherits the X550-family virtualization registers, anti-spoofing
controls, and malicious-driver operations, but the frontend does not
advertise SR-IOV and cannot negotiate the mailbox revision needed by
E610 VFs.

Initialize the X550-family PF/VF mailbox registers for E610 and use
PFVFLREC for its VF reset events, following DPDK shared ixgbe code.
Advertise the E610 SR-IOV capability, accept API 1.6 only on E610, carry
the existing xcast and queue operations forward to that revision, and
return the cached physical link speed and state with the three-dword
E610 operation.  Unsupported RSS and optional feature requests continue
to receive explicit failures.

SR-IOV activation also enables the existing X550-derived per-pool MDD
recovery path on E610.  Document the expanded protection and link-state
coverage.


    [11 lines not shown]
DeltaFile
+58-3sys/dev/ixgbe/if_sriov.c
+4-1share/man/man4/ix.4
+3-0sys/dev/ixgbe/ixgbe_mbx.c
+1-0sys/dev/ixgbe/ixgbe_sriov.h
+1-0sys/dev/ixgbe/if_ix.c
+67-45 files

FreeBSD/src b36753dsys/dev/ixgbe ixgbe_vf.h ixgbe_mbx.h

ixv: Support E610 mailbox API 1.6

E610 VFs no longer report the actual PF link state and speed through
VFLINKS.  They can consequently report the default 10 Gb/s speed even
when the physical link uses another rate.

Negotiate mailbox API 1.6 on E610 and request the PF link state with its
three-dword operation.  Retain VFLINKS as the fallback when an older PF
rejects API 1.6.  Permit API 1.6 in the inherited xcast and queue
discovery helpers so negotiating the newer revision does not disable
existing operations.

Use GET_QUEUES to replace E610's one-queue fallback with the grant from
the PF.  The common path continues to use one iflib queue set per data
MSI-X vector and caps the result at two queue pairs.

Preserve mailbox transport errors so the driver can distinguish an
explicit PF NACK from a transient timeout.  A NACK means clear-to-send
state was lost and requires a VF reset.  Preserve the last confirmed

    [22 lines not shown]
DeltaFile
+59-5sys/dev/ixgbe/if_ixv.c
+60-0sys/dev/ixgbe/ixgbe_vf.c
+3-0sys/dev/ixgbe/ixgbe_mbx.h
+3-0sys/dev/ixgbe/ixgbe.h
+2-0sys/dev/ixgbe/ixgbe_vf.h
+127-55 files

FreeBSD/src 12b31dashare/man/man9 pci.9, sys/dev/pci pcivar.h pci.c

pci: Export pcie_flr_supported()

Move the capability and quirk checks used by pcie_flr() into a public
side effect free helper.  This lets callers determine whether an FLR
can be attempted before quiescing a device or saving state.

The helper considers the advertised PCIe FLR capability and both the
enable and disable FLR quirks.

Sponsored by:   BBOX.io

(cherry picked from commit 5b48968c1a57bd1a7f086d7e09add59afa158340)
DeltaFile
+24-7sys/dev/pci/pci.c
+14-1share/man/man9/pci.9
+1-0sys/dev/pci/pcivar.h
+39-83 files

FreeBSD/src 35b0fc1share/man/man4 Makefile ixv.4

ixv(4): Add a manual page

Document supported virtual-function families, driver features, queue
negotiation, PF-controlled policy, and media limitations.

Sponsored by:   BBOX.io

(cherry picked from commit 1391e272de36f7aae2c800d96cc06762553d5027)
DeltaFile
+98-0share/man/man4/ixv.4
+2-0share/man/man4/Makefile
+100-02 files

FreeBSD/src 4f44e80sys/dev/ixgbe if_ix.c

ixgbe: Enable per-pool RSS on X550 family devices

X550 family devices provide a separate RSS key, redirection table,
and MRQC register for every VMDq pool.  With SR-IOV enabled, the
driver continued programming only the global RSS state and never
selected MRQC.MULTIPLE_RSS.  VF-local RSS programming was therefore
ineffective.

Enable multiple-RSS mode for X550, X552, X553, and E610.  Initialize
the PF pool's 64-entry key, redirection table, and RSS hash controls.
Leave each VF pool untouched so its driver retains ownership of its
RSS key and mapping.

E610 folds IPv6 extension-header traffic into its base RSS selectors
and reserves the legacy EX selector bits.  Translate those requested
hash types rather than programming reserved bits.

With two E610 VFs active and four PF queue sets, eight fixed TCP flows
distributed across all four PF receive queues.

    [8 lines not shown]
DeltaFile
+69-20sys/dev/ixgbe/if_ix.c
+69-201 files

FreeBSD/src 1b9749asys/dev/ixgbe ixgbe_vf.h if_ixv.c

ixv: Preserve statistics across resets

The VF statistics registers are free running and are not cleared on
read.  The existing code records attach time bases and pre-reset totals,
but never uses either when publishing counters.  It instead replaces
the low hardware bits directly, so counters can inherit pre-attach
traffic or jump backward after a reset.

Accumulate modular 32- and 36-bit deltas, following DPDK, while keeping
the software totals across planned resets.  Establish a fresh hardware
baseline after each successful reset and invalidate the sampling epoch
when mailbox state is lost.  Detect unsolicited PF resets explicitly so
a reset while link is down cannot be mistaken for counter wrap.

Remove the unused base and saved-reset bookkeeping.

On E610, packet and octet counters remained monotonic across a VF FLR
and a PF down/up cycle.  Traffic after each reset advanced both RX and
TX counters.

    [4 lines not shown]
DeltaFile
+49-66sys/dev/ixgbe/if_ixv.c
+1-12sys/dev/ixgbe/ixgbe_vf.h
+50-782 files

FreeBSD/src 34208cbshare/man/man4 ix.4, sys/dev/ixgbe ixgbe_sriov.h if_ix.c

ixgbe: Enable SR-IOV on E610 PFs

E610 inherits the X550-family virtualization registers, anti-spoofing
controls, and malicious-driver operations, but the frontend does not
advertise SR-IOV and cannot negotiate the mailbox revision needed by
E610 VFs.

Initialize the X550-family PF/VF mailbox registers for E610 and use
PFVFLREC for its VF reset events, following DPDK shared ixgbe code.
Advertise the E610 SR-IOV capability, accept API 1.6 only on E610, carry
the existing xcast and queue operations forward to that revision, and
return the cached physical link speed and state with the three-dword
E610 operation.  Unsupported RSS and optional feature requests continue
to receive explicit failures.

SR-IOV activation also enables the existing X550-derived per-pool MDD
recovery path on E610.  Document the expanded protection and link-state
coverage.


    [11 lines not shown]
DeltaFile
+58-3sys/dev/ixgbe/if_sriov.c
+4-1share/man/man4/ix.4
+3-0sys/dev/ixgbe/ixgbe_mbx.c
+1-0sys/dev/ixgbe/ixgbe_sriov.h
+1-0sys/dev/ixgbe/if_ix.c
+67-45 files

FreeBSD/src 8386691sys/dev/ixgbe ixgbe_vf.h ixgbe_mbx.h

ixv: Support E610 mailbox API 1.6

E610 VFs no longer report the actual PF link state and speed through
VFLINKS.  They can consequently report the default 10 Gb/s speed even
when the physical link uses another rate.

Negotiate mailbox API 1.6 on E610 and request the PF link state with its
three-dword operation.  Retain VFLINKS as the fallback when an older PF
rejects API 1.6.  Permit API 1.6 in the inherited xcast and queue
discovery helpers so negotiating the newer revision does not disable
existing operations.

Use GET_QUEUES to replace E610's one-queue fallback with the grant from
the PF.  The common path continues to use one iflib queue set per data
MSI-X vector and caps the result at two queue pairs.

Preserve mailbox transport errors so the driver can distinguish an
explicit PF NACK from a transient timeout.  A NACK means clear-to-send
state was lost and requires a VF reset.  Preserve the last confirmed

    [22 lines not shown]
DeltaFile
+59-5sys/dev/ixgbe/if_ixv.c
+60-0sys/dev/ixgbe/ixgbe_vf.c
+3-0sys/dev/ixgbe/ixgbe_mbx.h
+3-0sys/dev/ixgbe/ixgbe.h
+2-0sys/dev/ixgbe/ixgbe_vf.h
+127-55 files

FreeBSD/src c4fe384share/man/man9 pci.9, sys/dev/pci pcivar.h pci.c

pci: Export pcie_flr_supported()

Move the capability and quirk checks used by pcie_flr() into a public
side effect free helper.  This lets callers determine whether an FLR
can be attempted before quiescing a device or saving state.

The helper considers the advertised PCIe FLR capability and both the
enable and disable FLR quirks.

Sponsored by:   BBOX.io

(cherry picked from commit 5b48968c1a57bd1a7f086d7e09add59afa158340)
DeltaFile
+24-7sys/dev/pci/pci.c
+14-1share/man/man9/pci.9
+1-0sys/dev/pci/pcivar.h
+39-83 files

NetBSD/src wQet0bslib/libc/arch/m68k/gen _lwp.c

   _lwp_makecontext(): ensure the stack is aligned.  Fixes the
   t_signal_and_sp::threadsp test case on m68k.
VersionDeltaFile
1.11+10-4lib/libc/arch/m68k/gen/_lwp.c
+10-41 files

LLVM/project 581b39bllvm/lib/CodeGen/GlobalISel IRTranslator.cpp, llvm/test/CodeGen/AArch64/GlobalISel arm64-irtranslator-switch.ll switch-jump-table-wide-cond.ll

[GlobalISel] Fix jump table range check for switch values wider than index (#219553)
DeltaFile
+173-0llvm/test/CodeGen/AArch64/GlobalISel/switch-jump-table-wide-cond.ll
+2-3llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+1-2llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
+176-53 files

HardenedBSD/src d85b195share/man/man4 vge.4 rl.4, sys/dev/e1000 if_em.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+281-18sys/dev/e1000/if_em.c
+31-29share/man/man4/virtio_scsi.4
+20-15share/man/man4/virtio_blk.4
+13-18share/man/man4/rl.4
+26-3sys/dev/gpio/gpioled_fdt.c
+14-13share/man/man4/vge.4
+385-9613 files not shown
+464-22119 files

HardenedBSD/src 904947cusr.sbin/makefs zfs.c makefs.8, usr.sbin/makefs/tests makefs_msdos_tests.sh makefs_zfs_tests.sh

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+45-0usr.sbin/makefs/tests/makefs_zfs_tests.sh
+21-17usr.sbin/makefs/makefs.8
+10-6usr.sbin/makefs/tests/makefs_msdos_tests.sh
+9-1usr.sbin/makefs/zfs.c
+1-0usr.sbin/makefs/zfs/zfs.h
+86-245 files

HardenedBSD/src b9bd0e1share/man/man4 vge.4 rl.4, sys/dev/e1000 if_em.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+281-18sys/dev/e1000/if_em.c
+31-29share/man/man4/virtio_scsi.4
+20-15share/man/man4/virtio_blk.4
+13-18share/man/man4/rl.4
+26-3sys/dev/gpio/gpioled_fdt.c
+14-13share/man/man4/vge.4
+385-9613 files not shown
+464-22119 files

HardenedBSD/src 707c7e6usr.sbin/makefs zfs.c makefs.8, usr.sbin/makefs/tests makefs_msdos_tests.sh makefs_zfs_tests.sh

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+45-0usr.sbin/makefs/tests/makefs_zfs_tests.sh
+21-17usr.sbin/makefs/makefs.8
+10-6usr.sbin/makefs/tests/makefs_msdos_tests.sh
+9-1usr.sbin/makefs/zfs.c
+1-0usr.sbin/makefs/zfs/zfs.h
+86-245 files

HardenedBSD/ports 63b43edmisc/far2l pkg-plist, net-im/openfire pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+17-381x11-fm/filerunner/pkg-plist
+31-109net/rustconn/distinfo
+68-2misc/far2l/pkg-plist
+14-53net/rustconn/Makefile.crates
+33-33net-im/openfire/pkg-plist
+27-27textproc/hs-pandoc/distinfo
+190-60585 files not shown
+488-89191 files

FreeBSD/ports bab4634databases/ladybug Makefile distinfo

databases/ladybug: Update 0.19.0 => 0.20.0

Changelogs:
https://github.com/LadybugDB/ladybug/releases/tag/v0.19.1
https://github.com/LadybugDB/ladybug/releases/tag/v0.20.0

PR:             298048
Sponsored by:   UNIS Labs
DeltaFile
+3-3databases/ladybug/distinfo
+1-1databases/ladybug/Makefile
+4-42 files

HardenedBSD/ports bab4634databases/ladybug Makefile distinfo

databases/ladybug: Update 0.19.0 => 0.20.0

Changelogs:
https://github.com/LadybugDB/ladybug/releases/tag/v0.19.1
https://github.com/LadybugDB/ladybug/releases/tag/v0.20.0

PR:             298048
Sponsored by:   UNIS Labs
DeltaFile
+3-3databases/ladybug/distinfo
+1-1databases/ladybug/Makefile
+4-42 files

LLVM/project cb48de1llvm/test/CodeGen/AArch64 vector-ldst-align.ll vector-ldst-align-float.ll, llvm/test/CodeGen/AMDGPU global-atomicrmw-fmin.ll global-atomicrmw-fmax.ll

Merge branch 'main' into users/ziqingluo-90/PR-183529483-2
DeltaFile
+9,921-0llvm/test/CodeGen/AArch64/vector-ldst-align-float.ll
+8,227-0llvm/test/CodeGen/AArch64/vector-ldst-align.ll
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+32,804-14,5547,881 files not shown
+417,470-244,4167,887 files

NetBSD/pkgsrc-wip a1d2a0denlightenment-current distinfo, enlightenment-current/patches patch-src_bin_system_e__system__acpi.c patch-src_modules_procstats_e__mod__main.c

enlightenment-current: mark upstream merged patches

The patches in this commit are already upstreamed as part of:
https://git.enlightenment.org/enlightenment/enlightenment/pulls/139
Note: wizard_page_120.c is partially merged, meaning the above PR
contains only part of the patch (NetBSD) in the upstream source.
DeltaFile
+3-3enlightenment-current/distinfo
+4-2enlightenment-current/patches/patch-src_modules_wizard_page__120.c
+5-0enlightenment-current/patches/patch-src_modules_procstats_e__mod__main.c
+2-0enlightenment-current/patches/patch-src_bin_system_e__system__acpi.c
+14-54 files

LLVM/project 3f7bde7llvm/include/llvm/MC/MCParser AsmLexer.h, llvm/lib/MC/MCParser AsmLexer.cpp AsmParser.cpp

[MCParser] Share identifier character set with isMacroArgChar (#219084)

Move the predicate to the header so that it can be used by the macro
argument name checker. Replace the incorrect local-sensitive isalnum()
with ASCII-only llvm::isAlnum(). Identifier character set accepting '?'
is a MC extension: https://reviews.llvm.org/D1978

While here, fix some minor bound checking related minor issues.

LLM-aided
DeltaFile
+10-11llvm/lib/MC/MCParser/AsmParser.cpp
+0-6llvm/lib/MC/MCParser/AsmLexer.cpp
+6-0llvm/include/llvm/MC/MCParser/AsmLexer.h
+16-173 files