FreeBSD/src aec0f1bsys/dev/e1000 if_em.c

e1000: Report 82571 packet buffer ECC errors

The 82571 PBA_ECC register contains a 12-bit count of packet buffer ECC
detections.  The shared code enables single-bit correction, but neither
FreeBSD nor the DPDK base driver consumes the counter.

Sample it with the ordinary statistics timer, accumulate the value under
dev.em.N.memory_errors.detected_packet_buffer, and clear the hardware
counter while preserving correction and reserved register state.  Do not
enable its shared interrupt: the register does not distinguish corrected
from uncorrectable events and does not provide a safe fatal recovery
policy.

Validated on a dual port 82571EB.  Both functions reported zero after a
clean boot, and a controlled link down/up cycle left the counter at zero
while the management link recovered at 1 Gb/s without issue.

MFC after:      2 weeks
Sponsored by:   BBOX.io
DeltaFile
+47-7sys/dev/e1000/if_em.c
+47-71 files

OPNSense/src dbc176fsys/netpfil/pf pf.c

pf: Fix fallout from the STATE_LOOKUP macro removal

Taken from: https://reviews.freebsd.org/D59015
DeltaFile
+6-11sys/netpfil/pf/pf.c
+6-111 files

OpenZFS/src 4e00623man/man4 zfs.4, module/os/freebsd/zfs sysctl_os.c

vdev: expose dtl_sm_blksz and standard_sm_blksz on Linux

Expose zfs_vdev_dtl_sm_blksz and zfs_vdev_standard_sm_blksz as module
parameters on Linux.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes #18952
DeltaFile
+0-21module/os/freebsd/zfs/sysctl_os.c
+10-0man/man4/zfs.4
+6-0module/zfs/vdev.c
+16-213 files

OpenZFS/src abbfabccmd/zed/agents zfs_diagnosis.c

zed: initialize pool_load before it is read

zfs_fm_recv() assigns pool_load only in the loop branch that also sets
pool_found, and reads it through timeval_earlier() under that same
flag, so the value is never actually used uninitialized.  Nothing
local to either site says so, though, and cppcheck reports the read:

  zfs_diagnosis.c:493:27: warning: Uninitialized variable: b->ertv_sec

Initialize it at the declaration so that holds unconditionally.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Alek Pinchuk <Alek.Pinchuk at connectwise.com>
Closes #18948
DeltaFile
+1-1cmd/zed/agents/zfs_diagnosis.c
+1-11 files

OpenZFS/src c742abfcmd/zpool zpool_main.c

zpool: pass compatibility directory paths as format arguments

Two status messages concatenate ZPOOL_SYSCONF_COMPAT_D and
ZPOOL_DATA_COMPAT_D directly into gettext() string literals.  Both
expand from SYSCONFDIR, a build-time -D, so the msgid xgettext sees
contains an unexpanded macro and cannot be translated.  cppcheck
cannot parse the result either:

  zpool_main.c:11004:30: error: There is an unknown macro here
  somewhere. Configuration is required. [unknownMacro]

Pass them as %s arguments.  The rendered output is unchanged.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Alek Pinchuk <Alek.Pinchuk at connectwise.com>
Closes #18947
DeltaFile
+4-3cmd/zpool/zpool_main.c
+4-31 files

LLVM/project 6ac7a9fflang/include/flang/Lower PFTBuilder.h, flang/lib/Lower Bridge.cpp PFTBuilder.cpp

[flang][PFT-to-MLIR] Do not wrap the DO of an OpenMP loop construct (#216280)

A DO attached to an OpenMP loop directive is driven directly into the
loop op by OpenMPLoopConstruct lowering, so folding it into an
scf.execute_region hides the iteration from that op and crashes lowering
when the loop body is unstructured.

Extend the wrappability check with isOmpLoopBody(), the OpenMP analogue
of the existing isAccLoopBody(): the immediate body DO, or one of the N
associated iterator DOs under collapse(N) / ordered(N), is not
wrappable. The shared parts of both checks -- collecting the enclosing
DO chain, evaluating a clause's loop count, and the depth test -- are
factored into helpers.

Co-authored-by: Claude

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+123-62flang/lib/Lower/PFTBuilder.cpp
+111-0flang/test/Lower/OpenMP/wsloop-unstructured-cycle.f90
+6-3flang/lib/Lower/Bridge.cpp
+4-2flang/include/flang/Lower/PFTBuilder.h
+244-674 files

LLVM/project 93ac788llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/VectorCombine deinterleave-interleave-pairs.ll

[VectorCombine] Fold deinterleave/interleave pairs (#211022)

Fold matched `vector.deinterleaveN` / `vector.interleaveN` pairs through
equivalent elementwise operation chains.

When every deinterleaved field is transformed by the same elementwise
chain, rebuild that chain at the original vector width and remove the
deinterleave/interleave pair.

This eliminates redundant shuffle-like operations and enables improved
SVE code generation on AArch64 targets.

---------

Co-authored-by: Benjamin Maxwell <benjamin.maxwell at arm.com>
DeltaFile
+717-0llvm/test/Transforms/VectorCombine/deinterleave-interleave-pairs.ll
+234-0llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+951-02 files

OpenZFS/src b2c98cfmodule/os/linux/zfs policy.c

secpolicy_zfs: add a note about the power of CAP_SYS_ADMIN

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18959
DeltaFile
+8-0module/os/linux/zfs/policy.c
+8-01 files

OpenZFS/src aa99598module/os/linux/zfs policy.c

secpolicy_sys_config: only permit a global zone credential

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18959
DeltaFile
+3-0module/os/linux/zfs/policy.c
+3-01 files

OpenZFS/src 077e959module/os/linux/zfs policy.c

secpolicy_zinject: only permit a global zone credential

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18959
DeltaFile
+7-1module/os/linux/zfs/policy.c
+7-11 files

OpenZFS/src ceab561include/os/freebsd/spl/sys policy.h, include/os/linux/zfs/sys policy.h

secpolicy_nfs: remove, not used

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18959
DeltaFile
+0-10module/os/linux/zfs/policy.c
+0-7module/os/freebsd/spl/spl_policy.c
+0-1include/os/linux/zfs/sys/policy.h
+0-1include/os/freebsd/spl/sys/policy.h
+0-194 files

OpenZFS/src f8962detests/runfiles linux.run, tests/zfs-tests/tests Makefile.am

ZTS: test secpolicy_zinject correctly limits namespace access

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18959
DeltaFile
+46-0tests/zfs-tests/tests/functional/user_namespace/user_namespace_secpolicy_zinject.ksh
+2-1tests/runfiles/linux.run
+1-0tests/zfs-tests/tests/Makefile.am
+49-13 files

OpenZFS/src c937ebdtests/runfiles linux.run, tests/zfs-tests/tests Makefile.am

ZTS: test secpolicy_sys_config correctly limits namespace access

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18959
DeltaFile
+46-0tests/zfs-tests/tests/functional/user_namespace/user_namespace_secpolicy_sys_config.ksh
+1-1tests/runfiles/linux.run
+1-0tests/zfs-tests/tests/Makefile.am
+48-13 files

LLVM/project 014b3edclang/lib/Sema SemaChecking.cpp, clang/test/AST/ByteCode builtin-functions.cpp

[clang][Sema] Do lvalue-to-rvalue conversion on isfpclass Mask arg (#216929)

Fixes https://github.com/llvm/llvm-project/issues/216294
DeltaFile
+20-0clang/test/AST/ByteCode/builtin-functions.cpp
+8-1clang/lib/Sema/SemaChecking.cpp
+28-12 files

OpenBSD/ports SHzWXWNnet/filezilla distinfo Makefile, net/filezilla/patches patch-src_engine_Makefile_am patch-src_commonui_fz_paths_cpp

   Update to filezilla-3.71.0

   Changes: https://filezilla-project.org/changelog.php

   Follow output of check_sym: bump major of libfzclient-private.
VersionDeltaFile
1.130+4-4net/filezilla/Makefile
1.6+2-2net/filezilla/patches/patch-src_commonui_fz_paths_cpp
1.74+2-2net/filezilla/distinfo
1.12+1-1net/filezilla/patches/patch-src_engine_Makefile_am
+9-94 files

OpenBSD/ports tE4w1v0net/fzssh distinfo Makefile

   Update to fzssh-1.4.0

   Changes: https://fzssh.filezilla-project.org

   Follow output of check_sym: bump major of libfzssh-client and libfzssh.
VersionDeltaFile
1.3+4-4net/fzssh/Makefile
1.3+2-2net/fzssh/distinfo
+6-62 files

OpenBSD/ports YRlPqSYnet/libfilezilla distinfo Makefile, net/libfilezilla/patches patch-lib_impersonation_cpp

   Update to libfilezilla-0.57.0

   Changes: https://lib.filezilla-project.org

   Follow output of check_sym: bump major of libfilezilla.
VersionDeltaFile
1.8+5-5net/libfilezilla/patches/patch-lib_impersonation_cpp
1.41+2-2net/libfilezilla/distinfo
1.52+2-2net/libfilezilla/Makefile
+9-93 files

LLVM/project 0d30fcbcompiler-rt/lib/asan asan_mapping.h asan_shadow_setup.cpp

[ASan][Darwin] Support gapless shadow layout for iOS 27.0

When the shadow can be placed entirely above app memory (as on the
new iOS 27.0 embedded VM layout, where debug memory pushes shadow
past kHighMemEnd), there is no need to split shadow into low/high
halves with a middle gap.

- Add kGaplessShadow (Apple-only) to detect this configuration.
- Teach InitializeShadowMemory to reserve one contiguous shadow
  region and protect only the shadow-of-shadow when kGaplessShadow
  is true, with CHECKs asserting the mapping preconditions.
- Update PrintAddressSpaceLayout to print the single-region layout.

rdar://167657399
DeltaFile
+41-35compiler-rt/lib/asan/asan_rtl.cpp
+39-1compiler-rt/lib/asan/asan_shadow_setup.cpp
+9-0compiler-rt/lib/asan/asan_mapping.h
+89-363 files

LLVM/project 2661b4bcompiler-rt/test/asan/TestCases/Darwin sandbox-vm-region-recurse.cpp

Fixup macos sandbox test
DeltaFile
+1-1compiler-rt/test/asan/TestCases/Darwin/sandbox-vm-region-recurse.cpp
+1-11 files

LLVM/project 82aaae7compiler-rt/lib/sanitizer_common sanitizer_win.cpp

fix: FindAvailableMemoryRange on windows
DeltaFile
+15-15compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
+15-151 files

LLVM/project c850dcaflang/include/flang/Optimizer/Builder/Runtime Assign.h, flang/lib/Optimizer/Builder/Runtime Assign.cpp

[flang] - Call _FortranAAssignSimple instead of _FortranAAssign for intrinsic-type array assignments.

This patch adds support for calling _FortranAAssignSimple, a faster-path for array assignments.
`_FortranAAssignSimple` is called when ALL the following conditions are true:
1. Intrinsic element type (not derived type)
2. Matching ranks (no scalar-to-array broadcasting)
3. Non-volatile
4. Not polymorphic
5. Not explicit-length character
6. Not temporary LHS

Otherwise, uses `_FortranAAssign` (or specialized variants like `_FortranAAssignPolymorphic`, `_FortranAAssignExplicitLengthCharacter`).

This is a (perhaps final) part of the fix for https://github.com/llvm/llvm-project/issues/203915
DeltaFile
+287-0flang/test/HLFIR/assign-simple-routing.fir
+46-4flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
+19-13flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+13-0flang/lib/Optimizer/Builder/Runtime/Assign.cpp
+12-0flang/include/flang/Optimizer/Builder/Runtime/Assign.h
+2-2flang/test/HLFIR/assign-codegen.fir
+379-192 files not shown
+381-218 files

FreeBSD/src 8d83b10share/examples/jails rc.conf.jails rcjail.xxx.conf

New version of jng (9.1)

Update examples and comments to return eifaces in exec.prestop
with ifconfig -vnet (before jng shutdown in poststop).

Reported by:    jlduran
PR:             268397
MFC after:      1 week
Reviewed by:    kfv, jlduran
Differential Revision:  https://reviews.freebsd.org/D58939
DeltaFile
+12-6share/examples/jails/jng
+2-1share/examples/jails/rcjail.xxx.conf
+2-1share/examples/jails/jail.xxx.conf
+2-0share/examples/jails/rc.conf.jails
+18-84 files

LLVM/project c0dba49.github/workflows release-documentation.yml

Add back environment
DeltaFile
+3-0.github/workflows/release-documentation.yml
+3-01 files

LLVM/project 88a7adeflang-rt/lib/runtime assign.cpp, flang-rt/unittests/Runtime Assign.cpp

Reject CHARACTER types in AssignSimple and add death tests

AssignSimple is only intended for trivial intrinsic types (integer, real,
complex, logical). Add a guard that crashes on CHARACTER type input,
matching the existing derived-type guard.

Add death tests covering all five crash paths in AssignSimple: rank
mismatch, element-bytes mismatch, derived type, character type, and
non-allocatable element count mismatch.

Co-Authored-By: Claude Opus 4 (1M context) <noreply at anthropic.com>
DeltaFile
+77-0flang-rt/unittests/Runtime/Assign.cpp
+3-0flang-rt/lib/runtime/assign.cpp
+80-02 files

LLVM/project b932e50clang/docs ClangFormatStyleOptions.rst ClangFormatStyleOptions.md, clang/include/clang/Basic AttrDocs.td

Merge remote-tracking branch 'origin/main' into HEAD
DeltaFile
+13,767-6,856llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+6,347-3,146llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-neon-instructions.s
+4,432-4,282clang/include/clang/Basic/AttrDocs.td
+8,235-0clang/docs/ClangFormatStyleOptions.md
+0-8,043clang/docs/ClangFormatStyleOptions.rst
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+36,596-26,1378,808 files not shown
+499,139-279,9398,814 files

LLVM/project bcf0093llvm/lib/ExecutionEngine/Orc ReOptimizeLayer.cpp COFFVCRuntimeSupport.cpp, llvm/lib/ExecutionEngine/Orc/Debugging PerfSupportPlugin.cpp

[ORC] Move simple lookupAndRecordAddrs uses to lookupAndApply (#217509)

Mechanical conversions in ReOptimizeLayer, PerfSupportPlugin,
COFFVCRuntimeSupport and COFFPlatform::bootstrapCOFFRuntime: each (name,
ExecutorAddr *) pair becomes a recordAddr.

NFCI.
DeltaFile
+13-16llvm/lib/ExecutionEngine/Orc/COFFPlatform.cpp
+8-10llvm/lib/ExecutionEngine/Orc/COFFVCRuntimeSupport.cpp
+5-7llvm/lib/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.cpp
+5-6llvm/lib/ExecutionEngine/Orc/ReOptimizeLayer.cpp
+31-394 files

FreeBSD/src ba99013sys/fs/tarfs tarfs_vfsops.c, usr.sbin/jail jail.8

tarfs: allow mounting inside jails

Reviewed by:    des
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58833
DeltaFile
+9-1usr.sbin/jail/jail.8
+1-1sys/fs/tarfs/tarfs_vfsops.c
+10-22 files

FreeBSD/src 4d52491sys/fs/tarfs tarfs_vfsops.c

tarfs: remove PRIV_VFS_MOUNT_PERM check

The backing file is already opened successfully, so there is
no need to override the permissions.

Reviewed by:    des
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58832
DeltaFile
+0-5sys/fs/tarfs/tarfs_vfsops.c
+0-51 files

LLVM/project a160d90.github/workflows commit-access-review.yml

workflows/commit-access-review: Limit token to current repository (#216880)

The token had access to all llvm repositories which was unnecessary
since it was only used for llvm-project.

https://github.com/llvm/llvm-project/security/code-scanning/1860
DeltaFile
+1-0.github/workflows/commit-access-review.yml
+1-01 files

LLVM/project 25a993cclang/docs ReleaseNotes.md, clang/lib/Sema SemaDeclCXX.cpp

[clang][Sema] Warn on explicit conversion functions in C++20 with -Wc++98-compat (#217342)

The explicit(bool) patch (76b9027f352a) added a
`!getLangOpts().CPlusPlus20` guard here, so this `-Wc++98-compat`
warning stopped firing in C++20 and later. C++11 through C++17 still
warn, and the test even has a FIXME asking for the warning in C++20.

Drop the guard so every mode behaves the same, update the test, and
remove the FIXME.

Fixes #161689
DeltaFile
+1-2clang/test/SemaCXX/cxx98-compat.cpp
+3-0clang/docs/ReleaseNotes.md
+1-1clang/lib/Sema/SemaDeclCXX.cpp
+5-33 files