LLVM/project 4257da8 — llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/AArch64 low-trip-count-fixed-vf-no-epilogue.ll

[LV] Always try to use fixed VF for low TC loops if no epilogue allowed. (#226318)

Remove the MaxPowerOf2RuntimeVF gate for falling back to using fixed
width VFs when no epilogue is allowed and the trip count is below the
minimum for tail folding.

MaxPowerOf2RuntimeVF being not set means we cannot compute the maximum
runtime VF, due to missing max vscale. In that case we are not able to
determine if a epilogue loop remains for scalable VFs, but we can still
pick a fixed VF, if no epilogue remains for it.

Also updates processLoop to ignore CM_EpilogueNotNeededFoldTail, if the
trip count is below the tail-folding threshold.

PR: https://github.com/llvm/llvm-project/pull/226318
DeltaFile
+108-0llvm/test/Transforms/LoopVectorize/AArch64/low-trip-count-fixed-vf-no-epilogue.ll
+22-22llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
+15-13llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+145-353 files

FreeBSD/src 228b1a0 — sys/dev/usb/serial uchcom.c

uchcom: Set rate to 1 if 0

If userspace provides rate == 0, it causes kernel panic as rate is
directly used as a divident, which cannot be zero. Fix it by set the
rate to 1 if it is passed as 0.

Reviewed by:    imp, emaste
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59111
DeltaFile
+3-0sys/dev/usb/serial/uchcom.c
+3-01 files

FreeBSD/src d8acc2a — tools/boot boot-test.sh gptattr.c

boot-test.sh: Add gptboot.efi tests

Make sure that we can chainboot with gptboot.efi. Many projects use this
as their migration tool from gptboot to ping-pong partitions to boot
from. This tests that functionality which I recently broke.

Assisted-by: Claude Code (Fable 5, Opus 5)
Sponsored by:           Netflix
DeltaFile
+133-0tools/boot/gptattr.c
+124-1tools/boot/boot-test.sh
+257-12 files

FreeBSD/src 4f06a8e — sys/contrib/edk2/Include/Guid FileInfo.h

edk2: Import FileInfo.h from edk2-stable202502

Sponsored by:           Netflix
DeltaFile
+66-0sys/contrib/edk2/Include/Guid/FileInfo.h
+66-01 files

FreeBSD/src 9ecc249 — stand/efi/loader main.c

Restore booting the partition the EFI boot image was loaded from.

BSDRP images are built with "poudriere image -t firmware", which puts
gptboot.efi on the ESP instead of loader.efi.  gptboot.efi reads the GPT
bootme attribute, picks the active system partition (BSDRP1 or BSDRP2),
chainloads /boot/loader.efi from it and hands loader.efi that partition
in LoadedImage->DeviceHandle (stand/efi/boot1/boot1.c:try_boot).

Since ce9bfd78167 ("loader.efi: Refactor try_boot_device_partitions"),
find_currdev() no longer tries that device: try_boot_device_partitions()
walks the parent disk while explicitly skipping dp->pd_handle, on the
assumption that the boot image always comes from an ESP holding no root
filesystem.  When chainloaded, the partition gptboot.efi selected is
therefore the one partition never considered, and loader.efi falls
through to the first other UFS partition on the disk - the previous
system.  Every A/B upgrade silently boots the old slice.

Commit 1c85c5eea09, which introduced try_boot_device_partitions(), did
try dp itself before its siblings; the refactor dropped it.  Restore it,

    [5 lines not shown]
DeltaFile
+14-3stand/efi/loader/main.c
+14-31 files

FreeBSD/src a844bc2 — tools/boot boot-test.sh

boot-test.sh: Add netboot-http-efi test

Using iPXE, chainboot loader.efi with rootdev=http://${next-server}/
to test the loader's http:// code.

Sponsored by:           Netflix
DeltaFile
+9-0tools/boot/boot-test.sh
+9-01 files

FreeBSD/src 58741fa — tools/boot boot-test.sh

boot-test.sh: Add virtio-rng-pci to the EFI RAM-disk netboot qemu invocation

Since the PixieFail security fixes (CVE-2023-45237), EDK II's DxeNetLib --
underneath essentially all of NetworkPkg (Mnp/Arp/Ip4/Dhcp4/Tcp/Http) --
carries a DEPEX on EFI_RNG_PROTOCOL. With no RNG protocol producer
available, that DEPEX is never satisfied and the entire NetworkPkg driver
stack silently fails to load: no error, no assert, it just isn't there.

netboot-efi and netboot-ramdisk never noticed because they only ever touch
the raw EFI_SIMPLE_NETWORK_PROTOCOL via our own net.c, which has no such
dependency. A test that needs EDK II's own NetworkPkg (e.g. one exercising
EFI_HTTP_PROTOCOL) is the first to be affected.

RngDxe can satisfy the DEPEX from the RDRAND instruction alone on a
sufficiently recent edk2 build, but not every installed OVMF is that
recent. -device virtio-rng-pci provides an RNG unconditionally via
VirtioRngDxe, regardless of edk2 vintage or host CPU features.

Unfortunately, the edk2 shipped with qemu lacks the network this needs.

    [2 lines not shown]
DeltaFile
+4-0tools/boot/boot-test.sh
+4-01 files

FreeBSD/src ab9130c — tools/boot boot-test.sh.8 boot-test.sh

boot-test.sh: Add a http server per interface

Add the built-in python http server, bound to each of the interaces we
create to expand network testing to include http:// in various
scenarios.

Sponsored by:           Netflix
DeltaFile
+40-1tools/boot/boot-test.sh
+24-8tools/boot/boot-test.sh.8
+64-92 files

LLVM/project c489679 — lldb/include/lldb/Target Process.h, lldb/source/API SBProcess.cpp

[lldb] Rebuild stack frames when a process address mask changes (#224989)
DeltaFile
+22-0lldb/test/API/python_api/process/address-masks/TestAddressMasks.py
+18-0lldb/source/Target/Process.cpp
+3-0lldb/source/API/SBProcess.cpp
+1-0lldb/include/lldb/Target/Process.h
+44-04 files

FreeBSD/src 102adf8 — sys/compat/linsysfs linsysfs.c

linux: Exposes renderD nodes and chardev in sysfs

To allow normal users to render through the render device, we expose the
renderD node. This enables Wayland applications to use hardware
acceleration when running under the Linux emulator.

Additionally, libdrm and Mesa need to look up
/sys/dev/char/<major>:<minor> and <pcidev>/drm to identify the
corresponding renderer device (e.g., a renderD device). We expose this
path as well so that libdrm can locate the renderer.

Differential Revision: https://reviews.freebsd.org/D59190
DeltaFile
+56-2sys/compat/linsysfs/linsysfs.c
+56-21 files

FreeBSD/ports 5ad44c7 — devel/bear Makefile Makefile.crates

devel/bear: Update to 4.2.2
DeltaFile
+21-21devel/bear/distinfo
+9-9devel/bear/Makefile.crates
+1-2devel/bear/Makefile
+31-323 files

FreeBSD/ports b9e9c05 — sysutils/nginx-ui Makefile distinfo

sysutils/nginx-ui: Update to 2.6.3

ChangeLogs:

- https://github.com/0xJacky/nginx-ui/releases/tag/v2.6.0
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.6.1
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.6.2
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.6.3
DeltaFile
+7-7sysutils/nginx-ui/distinfo
+3-4sysutils/nginx-ui/Makefile
+10-112 files

FreeBSD/ports d79050a — security/opkssh/files patch-policy_enforcer.go patch-vendor_github.com_spf13_cobra_completions.go

security/opkssh: Update to 0.16.0

ChangeLogs:

- https://github.com/openpubkey/opkssh/releases/tag/v0.11.0
- https://github.com/openpubkey/opkssh/releases/tag/v0.12.0
- https://github.com/openpubkey/opkssh/releases/tag/v0.13.0
- https://github.com/openpubkey/opkssh/releases/tag/v0.14.0
- https://github.com/openpubkey/opkssh/releases/tag/v0.15.0
- https://github.com/openpubkey/opkssh/releases/tag/v0.16.0
DeltaFile
+6-66security/opkssh/files/patch-main.go
+26-0security/opkssh/files/patch-policy_files_perminfo__unix.go
+20-0security/opkssh/files/patch-vendor_github.com_shirou_gopsutil_v4_internal_common_common.go
+20-0security/opkssh/files/patch-policy_validator.go
+8-8security/opkssh/files/patch-policy_enforcer.go
+16-0security/opkssh/files/patch-vendor_github.com_spf13_cobra_completions.go
+96-745 files not shown
+134-9011 files

LLVM/project 6a37cee — clang/lib/Interpreter IncrementalAction.cpp, clang/test/Interpreter nonexistent-xcc-file.cpp

Fix for a clang-repl crash when passing non-existent file to --Xcc (#225861)

Problem: When clang-repl fails to initialize because an --Xcc file does
not exist, Interpreter::create() destroys the partially initialized
Interpreter. Its destructor unconditionally calls FinalizeAction(),
which invokes FrontendAction::EndSourceFile() without a registered
CompilerInstance and triggers an assertion.
Fix: Track whether interpreter initialization completed successfully and
only finalize the frontend action for successfully initialized
interpreters.
Test: Add a regression test covering a nonexistent --Xcc file.

This change resolves https://github.com/llvm/llvm-project/issues/225429

Assisted by gpt-5.6-luna

---------

Co-authored-by: Anutosh Bhat <andersonbhat491 at gmail.com>
DeltaFile
+7-0clang/test/Interpreter/nonexistent-xcc-file.cpp
+2-1clang/lib/Interpreter/IncrementalAction.cpp
+9-12 files

HardenedBSD/src 5e622cd — sbin/fsck_msdosfs fat.c, sys/x86/cpufreq hwpstate_intel.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+1-1sys/x86/cpufreq/hwpstate_intel.c
+1-1sbin/fsck_msdosfs/fat.c
+2-22 files

HardenedBSD/src a55cffe — sbin/fsck_msdosfs fat.c, sys/x86/cpufreq hwpstate_intel.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+1-1sys/x86/cpufreq/hwpstate_intel.c
+1-1sbin/fsck_msdosfs/fat.c
+2-22 files

HardenedBSD/src fd716e3 — sbin/fsck_msdosfs fat.c, sys/x86/cpufreq hwpstate_intel.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1-1sys/x86/cpufreq/hwpstate_intel.c
+1-1sbin/fsck_msdosfs/fat.c
+2-22 files

HardenedBSD/ports cfb304d — science/octopus pkg-plist Makefile, security/tor Makefile distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+3-3security/tor/distinfo
+3-3science/octopus/distinfo
+1-1security/tor/Makefile
+1-1science/octopus/Makefile
+0-1science/octopus/pkg-plist
+8-95 files

OpenBSD/src 4EgUJyh — sys/arch/m88k/m88k m8820x_machdep.c

   Do not write multiple assignment of the same value to multiple cmmu registers
   as nested assignment in a single statement.

   This used to work in the gcc 2 days, but from gcc 3 onwards, because these
   registers are declared volatile, this caused register reloads to propagate
   the assignment value.

   This had been noticed and fixed in arch/luna88k/luna88k/machdep.c 1.135, but
   the similar constructs in this file were missed.

   Noticed by tsutsuii at netbsd
VersionDeltaFile
1.69+16-9sys/arch/m88k/m88k/m8820x_machdep.c
+16-91 files

OpenBSD/src GAoWNKG — sys/arch/m88k/m88k trap.c

   Do not limit kernel-mode cmmu fault handling to segment and page faults,
   there could be write protection faults as well.

   The CMU Mach code did not have such a restriction, it had been added by
   Nivas while doing the original mvme88k port.

   The logic is now the same for kernel and userland.

   Noticed by tsutsui at netbsd.
VersionDeltaFile
1.142+4-3sys/arch/m88k/m88k/trap.c
+4-31 files

LLVM/project af83fa1 — llvm/include/llvm/Analysis ValueLattice.h

[ValueLattice] Use two uint64_t when possible
DeltaFile
+83-28llvm/include/llvm/Analysis/ValueLattice.h
+83-281 files

LLVM/project e0316c1 — clang/lib/AST ExprConstShared.h ExprConstant.cpp, clang/lib/AST/ByteCode EvalEmitter.h EvaluationResult.h

Revert "[clang][bytecode] Stop relying on `CheckEvaluationResult()` (… (#226637)

…#186045)"

This reverts commit 55b498466a7b2620d09fcdf1b2300f71a35f6d8b.

This breaks two msan builders and reproducing the failure locally takes
forever.
DeltaFile
+1-381clang/lib/AST/ByteCode/EvaluationResult.cpp
+99-48clang/lib/AST/ExprConstant.cpp
+24-46clang/lib/AST/ByteCode/EvalEmitter.cpp
+0-42clang/lib/AST/ExprConstShared.h
+10-22clang/lib/AST/ByteCode/EvaluationResult.h
+3-14clang/lib/AST/ByteCode/EvalEmitter.h
+137-55314 files not shown
+159-60020 files

LLVM/project 18af9ef — clang/docs ReleaseNotes.md, clang/lib/Sema SemaOpenMP.cpp

Revert "[clang][OpenMP] Only accept char strings in the message clause" (#226636)

Reverts llvm/llvm-project#226080

The newly added test error_message.c is failing on the PS4 bot 
https://lab.llvm.org/buildbot/#/builders/144/builds/66294
DeltaFile
+0-33clang/test/OpenMP/error_message.c
+0-29clang/test/OpenMP/error_message.cpp
+1-3clang/lib/Sema/SemaOpenMP.cpp
+1-1clang/test/OpenMP/parallel_message_messages.cpp
+0-1clang/docs/ReleaseNotes.md
+2-675 files

LLVM/project 60059de — libcxx/include/__ranges zip_view.h views.h

[libc++][NFC] Avoid empty namespace in internal headers of `<ranges>` (#226034)

...in pre-C++20/23 modes. This follows up
0c94a978df783bd67535350eac84088fc482716a and fixes more complaints from
clang-tidy checks in CI.
DeltaFile
+4-4libcxx/include/__ranges/zip_view.h
+4-4libcxx/include/__ranges/views.h
+4-4libcxx/include/__ranges/transform_view.h
+4-4libcxx/include/__ranges/to.h
+4-4libcxx/include/__ranges/take_while_view.h
+4-4libcxx/include/__ranges/take_view.h
+24-2425 files not shown
+124-12331 files

LLVM/project be7d200 — llvm/include/llvm/Transforms/Utils SCCPSolver.h, llvm/lib/Transforms/Utils SCCPSolver.cpp

[SCCP] Use Small Vector for struct
DeltaFile
+5-5llvm/lib/Transforms/Utils/SCCPSolver.cpp
+1-1llvm/include/llvm/Transforms/Utils/SCCPSolver.h
+6-62 files

pkgng/pkgng cd0a561 — libpkg pkg.c

pkg: minor fixes to the vec iterators

Clear the caller"s pointer when the list is empty, as the previous
implementation did, and declare the index before the statements.
DeltaFile
+5-3libpkg/pkg.c
+5-31 files

LLVM/project 3441f36 — clang/docs ReleaseNotes.md, clang/lib/Sema SemaOpenMP.cpp

Revert "[clang][OpenMP] Only accept char strings in the message clause (#226080)"

This reverts commit 5eb23d2ae9f1dab06a31e5f9d7d64fa23a775604.
DeltaFile
+0-33clang/test/OpenMP/error_message.c
+0-29clang/test/OpenMP/error_message.cpp
+1-3clang/lib/Sema/SemaOpenMP.cpp
+1-1clang/test/OpenMP/parallel_message_messages.cpp
+0-1clang/docs/ReleaseNotes.md
+2-675 files

pkgng/pkgng 9b6034d — libpkg pkg.c, libpkg/private pkg.h

Remove '*_iter' introduced when conversion to vec was made.
This restores behavior that doesn't mutate shared state and allows
concurrent iteration.
DeltaFile
+26-99libpkg/pkg.c
+0-6libpkg/private/pkg.h
+26-1052 files

NetBSD/src 0Um7xSx — sys/ufs/lfs lfs_vfsops.c lfs_subr.c

   Handle two causes of the panic "lfs_ifile: looping".  Repurpose the lfs_iflock
   to be locked with RW_WRITER while the segment lock is held, preventing
   updates to the Ifile while its blocks are being gathered; and allow more
   iterations than 10 before panicking, since we might need to rewrite the
   entire segment table one block per iteration.  Issue uncovered in the course
   of PR kern/60746.
VersionDeltaFile
1.316+23-25sys/ufs/lfs/lfs_segment.c
1.59+11-5sys/ufs/lfs/lfs_accessors.h
1.407+2-6sys/ufs/lfs/lfs_vfsops.c
1.112+6-2sys/ufs/lfs/lfs_subr.c
+42-384 files

FreeNAS/freenas a2f784a — src/middlewared/middlewared/pytest/unit/utils test_pwenc.py test_pwenc_secret_matches.py

Rename pwenc_secret_matches unit test to a unique basename

## Problem
The new `pytest/unit/utils/test_pwenc.py` shares its basename with the existing `tests/unit/test_pwenc.py`. The unit test run collects both trees in one pytest session, so collection aborts with "import file mismatch".

## Solution
Renamed the new file to `test_pwenc_secret_matches.py`, which also matches what it actually tests.
DeltaFile
+0-58src/middlewared/middlewared/pytest/unit/utils/test_pwenc.py
+58-0src/middlewared/middlewared/pytest/unit/utils/test_pwenc_secret_matches.py
+58-582 files