NetBSD/pkgsrc-wip 6a00efd — victorialogs Makefile.common distinfo

victorialogs*: Update to 1.53.0

Breaking changes:
Update note 1: the /internal/force_merge, /internal/force_flush,
/internal/log_new_streams and /internal/partition/* HTTP endpoints now
require the POST method for security reasons, in order to prevent
GET-based SSRF attacks. Update any scripts or automation calling
these endpoints via GET to use POST. See #1635.

Update note 2: requests to /select/vmalert/-/reload and other
/select/vmalert/* paths ending with /config or /reload now require the
-httpAuth.* credentials for security reasons. Previously, such requests
were proxied to vmalert without checking the credentials. Add the
credentials to any scripts calling these paths. See #11548.

Rest of changes, see full release notes at:
https://github.com/VictoriaMetrics/VictoriaLogs/releases/tag/v1.53.0
DeltaFile
+18-18victorialogs/go-modules.mk
+3-3victorialogs/distinfo
+1-1victorialogs/Makefile.common
+22-223 files

OpenZFS/src f4a2faf — module/zfs zil.c

ZIL: avoid repeated dirty registration in an active TXG

Register the ZIL when initializing its itxg for the active TXG. The
itxg lock serializes initialization with other writers and zil_clean(),
which resets itxg_txg before the ZIL leaves the dirty list.
Keep real-TXG registration for frozen pools.

Signed-off-by: George Melikov <mail at gmelikov.ru>
Reviewed-by: Matthew Ahrens <matt at mahrens.org>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #19689
DeltaFile
+7-2module/zfs/zil.c
+7-21 files

LLVM/project 1f636f0 — mlir/include/mlir/Dialect/Bufferization/Transforms Passes.td, mlir/lib/Dialect/Bufferization/Transforms StaticMemoryPlannerAnalysis.cpp

[mlir][bufferization] Skip unsupported element types in static memory planning
DeltaFile
+27-0mlir/test/Dialect/Bufferization/Transforms/static-memory-planner-analysis.mlir
+13-7mlir/lib/Dialect/Bufferization/Transforms/StaticMemoryPlannerAnalysis.cpp
+3-10mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
+43-173 files

LLVM/project 35863ac — flang/include/flang/Optimizer/Dialect FIRAttr.td, flang/lib/Lower Bridge.cpp

[flang][OpenMP] Add explicit SHARED locality specifier representation (#238039)

Add `fir.local {type = shared}` to explicitly represent the SHARED
locality specifier in FIR. This prepares for future DEFAULT(NONE)
support, where we need to distinguish "explicitly shared" from
"implicitly shared" variables.

The `fir.local {type = shared}` op is created at the module level during
lowering but is NOT placed in the loop's the loop's locality specifier
operands (aka `local_vars`). SHARED variables continue to use
`copySymbolBinding`, making them implicit live-ins to `omp.parallel` —
which is the correct OpenMP shared semantics. The `fir.local` op serves
as documentation of the programmer's intent and is cleaned up by
`DoConcurrentSpecifierOpConversion` in CodeGen.

The `fir.local` op is deliberately kept out of `local_vars` to preserve
the existing block argument remapping logic in DoConcurrentConversion's
`matchAndRewrite()`, which assumes a 1:1 correspondence between
`local_vars` entries and the privatizer block args on `omp.wsloop`

    [27 lines not shown]
DeltaFile
+54-0flang/lib/Lower/Bridge.cpp
+44-0flang/test/Transforms/DoConcurrent/shared_local_init_host.f90
+43-0flang/test/Transforms/DoConcurrent/shared_host.f90
+38-0flang/test/Transforms/DoConcurrent/shared_device.f90
+34-0flang/test/Transforms/DoConcurrent/shared_no_omp.f90
+3-1flang/include/flang/Optimizer/Dialect/FIRAttr.td
+216-16 files

FreeBSD/src 485ffe0 — sys/compat/linuxkpi/common/include/linux pci.h

LinuxKPI: Add drm support to dev_is_pci() function

drmn driver is attached to PCI bus via intermediate vgapci driver.
Check for it presence in device tree branch too to handle drm-kmod
cases.

MFC after:      2 month
Reviewed by:    emaste (LGTM)
Differential Revision:  https://reviews.freebsd.org/D60138
DeltaFile
+11-0sys/compat/linuxkpi/common/include/linux/pci.h
+11-01 files

FreeBSD/src 2edd355 — sys/dev/vt/hw/vga vt_vga.c

vt_vga: repost only a vgapci(4) video device

When vt(4) falls back to vt_vga, vga_init() passes vd_video_dev to
vga_pci_repost(), which expects a vgapci(4) device. The framebuffer
driver that set it need not provide one: drm-kmod's linux_fb passes the
parent of the DRM parent device, which is vgapci for LinuxKPI PCI
drivers but the PCI bus for virtio-gpu, whose DRM parent is the virtio
PCI transport. On x86, vga_pci_repost() then calls pci_get_class() on
the bus, which fails the accessor's KASSERT under INVARIANTS; without
INVARIANTS the class reads as 0 and the repost is skipped. Repost only
a vgapci device.

Signed-off-by:  Denis Borovikov <denis.borovikov at gmail.com>
Reviewed by:    wulf
Differential Revision:  https://reviews.freebsd.org/D60880
DeltaFile
+3-1sys/dev/vt/hw/vga/vt_vga.c
+3-11 files

LLVM/project 5b2542c — llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AMDGPU store.ll load.ll

[AMDGPU] Price misaligned flat and LDS accesses with the LDS misaligned bug

In WGP mode on subtargets with the LDS misaligned bug, a flat access is
split into pieces no wider than its alignment and no narrower than 4
bytes, and an LDS access aligned below 4 bytes uses 8-byte pieces as one
aligned to 4 does.
DeltaFile
+121-60llvm/test/Analysis/CostModel/AMDGPU/store.ll
+121-60llvm/test/Analysis/CostModel/AMDGPU/load.ll
+4-1llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+246-1213 files

LLVM/project c680c0f — llvm/lib/Target/AMDGPU AMDGPU.h AMDGPUTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AMDGPU store.ll load.ll

[AMDGPU] Price buffer fat pointer memory operations

Price buffer fat pointer accesses as global accesses, except that an
aligned load is not widened and a vector of odd width elements is not
split element by element. Without relaxed buffer bounds checking, a
vector of elements that are a multiple of 32 bits wide is accessed in
pieces no wider than its alignment and no narrower than 4 bytes, and a
vector of other byte-sized or power of 2 wide elements in pieces of the
largest power of 2 bytes that divides the element size. The width comes
from buffer fat pointer lowering, which now exposes it. When the pointer
is a buffer resource plus a constant offset, the offset and a constant
number of records give the same bounds facts lowering uses to access it
in wider pieces.
DeltaFile
+38-35llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
+51-20llvm/test/Analysis/CostModel/AMDGPU/store.ll
+51-20llvm/test/Analysis/CostModel/AMDGPU/load.ll
+56-14llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+9-0llvm/lib/Target/AMDGPU/AMDGPU.h
+205-895 files

LLVM/project 89eabdb — llvm/test/Analysis/CostModel/AMDGPU store.ll load.ll

[NFC][AMDGPU] Precommit buffer fat pointer and gfx1010 memory cost tests
DeltaFile
+294-0llvm/test/Analysis/CostModel/AMDGPU/load.ll
+235-0llvm/test/Analysis/CostModel/AMDGPU/store.ll
+529-02 files

FreeBSD/src 36cd9f2 — sys/dev/bnxt/bnxt_en if_bnxt.c

bnxt: avoid unintialized use of media_type in bnxt_add_media_types()

When 5e6e4f752833 landed, it inadvertently allowed unsupported / unknown
phys with  a valid link_info->sig_mode to use  media_type uninitialized.
Fix this by returning from those cases that do not assign a media_type
so as to avoid using it uninitialized.

Reported by: imp (forwarding an llm's post-commit review of previous
                  changes to this file)
Fixes: 5e6e4f752833
Reviewed by: imp, kbowling,  sumit.saxena_broadcom.com
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D61164
DeltaFile
+2-2sys/dev/bnxt/bnxt_en/if_bnxt.c
+2-21 files

FreeBSD/src d1695bb — share/man/man4 iflib.4, sys/net iflib.c

iflib: prefer simple_tx over mp_ring

In preparation for removing mp_ring, enable simple_tx by default.
Users encountering bugs are still able to set the tunable:
        net.iflib.prefer_mpring="1"
at boot, but are encouraged to report any regressions so they
can be fixed.

My plan is to remove mp_ring assuming no major bugs are found in
simple_tx after a month or two.

Reviewed by: kbowling, netchild, rcm
Sponsored by: Netflix
Differential Revision:  https://reviews.freebsd.org/D61166
DeltaFile
+2-2share/man/man4/iflib.4
+1-1sys/net/iflib.c
+3-32 files

NetBSD/pkgsrc-wip ef3d908 — . Makefile

Makefile: sort

please just use 'pkglint -F' instead of hand-editing this file
DeltaFile
+1-2Makefile
+1-21 files

NetBSD/pkgsrc-wip c574cc5 — llama.cpp Makefile Makefile.common

llama.cpp: update to 0.9.0.
DeltaFile
+6-6llama.cpp/distinfo
+3-3llama.cpp/Makefile.common
+1-1llama.cpp/Makefile
+10-103 files

LLVM/project df3e0f8 — llvm/test/CodeGen/Lanai peephole-compare.mir, llvm/test/CodeGen/LoongArch register-coalescer-crash-pr79718.mir

CodeGen: Remove kill flags on virtual registers from MIR tests (#236912)

Stop using them in test inputs in preparation for disallowing them in
the verifier. This batch covers the generic tests Cover the generic
tests and some of the smaller targets. Delete a test which only
checked kill flag maintenance.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+46-46llvm/test/CodeGen/LoongArch/register-coalescer-crash-pr79718.mir
+33-33llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir
+29-29llvm/test/CodeGen/Mips/mirparser/target-flags-static-tls.mir
+20-20llvm/test/CodeGen/Lanai/peephole-compare.mir
+14-14llvm/test/CodeGen/Mips/micromips-eva.mir
+0-18llvm/test/CodeGen/NVPTX/proxy-reg-erasure-kill-flag.mir
+142-16015 files not shown
+190-20821 files

LLVM/project 6e45c4e — mlir/include/mlir/Dialect/Bufferization/Transforms Passes.td, mlir/lib/Dialect/Bufferization/Transforms StaticMemoryPlannerAnalysis.cpp

[mlir][bufferization] Skip unsupported element types in static memory planning
DeltaFile
+27-0mlir/test/Dialect/Bufferization/Transforms/static-memory-planner-analysis.mlir
+13-7mlir/lib/Dialect/Bufferization/Transforms/StaticMemoryPlannerAnalysis.cpp
+3-10mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
+43-173 files

LLVM/project 3b2fe02 — libsycl/include/sycl/__impl property_list.hpp, libsycl/include/sycl/__impl/detail property_interface.hpp property_helpers.hpp

[libsycl] implement property_list for sycl::queue (#232668)

Implements `sycl::property_list` with `property::queue::in_order` and
`property::queue::enable_profiling`, plus the property interface
(`has_property`/`get_property`, SYCL 2020 4.5.4.1) on `queue`, and the
`is_property`/`is_property_of` traits.


Implementation notes:

- A property is identified at run time by a value, `detail::PropKind`,
not by
  the address of a per-property key. libsycl is built with
`-fvisibility=hidden`, so an address taken inside the library and the
same
  address taken in user code do not match. 
- Properties without data are kept as a bit of their kind in the list
itself,
  so no property list libsycl can build today allocates; only a property

    [4 lines not shown]
DeltaFile
+173-0libsycl/unittests/property/property_list.cpp
+169-0libsycl/include/sycl/__impl/detail/property_helpers.hpp
+130-0libsycl/unittests/property/queue_properties.cpp
+107-3libsycl/include/sycl/__impl/property_list.hpp
+74-0libsycl/include/sycl/__impl/detail/property_interface.hpp
+72-0libsycl/test/basic/queue_properties.cpp
+725-313 files not shown
+1,002-919 files

FreeNAS/freenas 2f5a5f0 —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 08c0925 — src/middlewared/middlewared/common/attachment __init__.py, src/middlewared/middlewared/plugins/truenas_s3 bucket_crud.py

NAS-144924 / 28.0.0-BETA.1 / Keep other writers off S3 bucket datasets (#20069)

## Problem
The truenas_s3 daemon protects its own objects (retained versions are
immutable) and refuses a bucket whose dataset was nested or moved, but
it leaves it to middleware to keep other shares and tasks from being
pointed at a BUCKET bucket's dataset. Middleware only checked a writer
whose own path was at or inside a bucket, and only on save, so it was
easy to point a writable share or task at a parent dataset by mistake,
and some path-based writers never ran the check. Renaming a dataset that
held a bucket also left the bucket row on the old name.

## Solution
These are best-effort guard rails against misconfiguration.
- **Writers above a bucket.** Writable shares and tasks whose writes
cross into child mounts, home directories and the anonymous FTP root are
refused on or above a bucket's dataset, on save and on enable. Creating
or recovering a bucket where such a writer already reaches it is refused
too, and rsync and cloud sync pulls re-check before each run.

    [9 lines not shown]
DeltaFile
+157-44src/middlewared/middlewared/plugins/truenas_s3/bucket_crud.py
+110-36tests/api2/test_s3_bucket.py
+44-2src/middlewared/middlewared/common/attachment/__init__.py
+33-6src/middlewared/middlewared/utils/service/path.py
+26-0src/middlewared/middlewared/pytest/unit/plugins/test_truenas_s3_bucket_paths.py
+17-3src/middlewared/middlewared/service/sharing_task_service_part.py
+387-9126 files not shown
+499-12032 files

FreeNAS/freenas 62071a9 — tests/api2 test_account_privilege_role_private_fields.py

NAS-145062 / 28.0.0-BETA.1 / Remove user redacting test (#20140)

Forgot to remove it, it is neither necessary nor possible anymore.
DeltaFile
+0-9tests/api2/test_account_privilege_role_private_fields.py
+0-91 files

LLVM/project eb927cb — libc/src/__support/OSUtil/linux/syscall_wrappers process_vm_writev.h process_vm_readv.h, libc/src/sys/uio/linux process_vm_writev.cpp process_vm_readv.cpp

Implement process_vm_readv and process_vm_writev functions (#237705)

### Summary
This patch implements the Linux-specific system call wrappers
`process_vm_readv` and `process_vm_writev` in `<sys/uio.h>`.

Fixes #236162

### Implementation Details
- **Header Specification**: Updated `libc/include/sys/uio.yaml` to
include `linux` standards, the `pid_t` type dependency, and function
specifications for `process_vm_readv` and `process_vm_writev`.
- **Syscall Wrappers**: Added centralized syscall wrappers under
`libc/src/__support/OSUtil/linux/syscall_wrappers/` using
`syscall_checked<ssize_t>` following the project's syscall wrapper
guidelines (`libc/docs/dev/syscall_wrapper_refactor.md`).
- **Entrypoints**: Implemented public entrypoints in
`libc/src/sys/uio/linux/` with standard `libc_errno` reporting on error.
- **Architecture Support**: Registered the new entrypoints for Linux

    [5 lines not shown]
DeltaFile
+69-0libc/test/src/sys/uio/process_vm_readv_test.cpp
+66-0libc/test/src/sys/uio/process_vm_writev_test.cpp
+41-0libc/src/__support/OSUtil/linux/syscall_wrappers/process_vm_writev.h
+41-0libc/src/__support/OSUtil/linux/syscall_wrappers/process_vm_readv.h
+39-0libc/src/sys/uio/linux/process_vm_writev.cpp
+39-0libc/src/sys/uio/linux/process_vm_readv.cpp
+295-011 files not shown
+492-117 files

LLVM/project a965ae5 — llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 sve-expandload-select-fail.ll

[AArch64] Disallow expandloads in masked load patterns (#238790)

This resulted in some miscompiles for cases where expandloads are not
actually supported, e.g.: https://llvm.godbolt.org/z/Wj3fddGjh
DeltaFile
+20-10llvm/lib/Target/AArch64/AArch64InstrInfo.td
+7-0llvm/test/CodeGen/AArch64/sve-expandload-select-fail.ll
+27-102 files

LLVM/project 791b53c — clang/lib/CodeGen CGStmt.cpp VarBypassDetector.h, clang/test/CodeGen lifetime2.c trivial-auto-var-init-bypass.c

[clang][CodeGen] Handle asm goto in VarBypassDetector (#238551)

Teach VarBypassDetector to recognize GCCAsmStmt with isAsmGoto() in
hasJumpStmts(), BuildScopeInformation(), and Detect() so lifetime
markers are suppressed when an asm goto jumps into a local variable's
scope past its declaration (avoiding emitting @llvm.lifetime.start only
on the fallthrough path).

Also emit -ftrivial-auto-var-init initializations ahead of the asm goto
callbr terminator (and record forward asm gotos in
BypassingForwardJumps)
for any variable declarations bypassed by an asm goto, matching goto and
switch.

Link: https://github.com/llvm/llvm-project/pull/219045
Assisted-by: Gemini
DeltaFile
+192-5clang/test/CodeGen/trivial-auto-var-init-bypass.c
+42-0clang/test/CodeGen/lifetime2.c
+16-4clang/lib/CodeGen/VarBypassDetector.cpp
+18-0clang/test/CodeGenCXX/trivial-auto-var-init.cpp
+4-4clang/lib/CodeGen/VarBypassDetector.h
+4-0clang/lib/CodeGen/CGStmt.cpp
+276-136 files

LLVM/project 2417ca9 — llvm/test/CodeGen/AArch64/GlobalISel invoke-result-phi.ll, llvm/unittests/CodeGen/GlobalISel LegalizerHelperTest.cpp

[GlobalISel][AArch64] Pre-commit PHI legalization tests around invokes

Cover a real invoke result and a vector PHI on an unwind edge. Check scalar
narrowing and vector splitting directly in LegalizerHelper tests so artifact
combining cannot hide misplaced conversions.

Record the current conversion placement for the subsequent dominance fix.
Temporarily disable machine verification in the IR test to capture the
existing use-before-definition output.
DeltaFile
+152-0llvm/test/CodeGen/AArch64/GlobalISel/invoke-result-phi.ll
+50-2llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
+202-22 files

LLVM/project 1f901b7 — llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/test/CodeGen/AArch64/GlobalISel invoke-result-phi.ll

[GlobalISel] Preserve dominance when legalizing invoke-result PHIs

PHI legalization inserts conversions before the first terminator so they
execute on unwind edges. An invoke result is defined after the invoke-region
marker, however, and placing its conversion before that marker creates a
use before definition.

Keep the existing insertion point for values available before the invoke,
and insert after the definition for values produced inside the region.
Use the same rule for scalar and vector PHI resizing. This also ensures
vector widening for unwind PHIs executes before a potentially throwing call.

Update the pre-committed IR and helper-level checks and enable machine
verification in the IR test.
DeltaFile
+24-4llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+6-6llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
+4-5llvm/test/CodeGen/AArch64/GlobalISel/invoke-result-phi.ll
+34-153 files

LLVM/project 848b8ac — llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp

add fast path for normal terminators
DeltaFile
+5-0llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+5-01 files

NetBSD/pkgsrc-wip 6f537eb — rio Makefile COMMIT_MSG

Update x11/rio to v,0.5.29
DeltaFile
+3-3rio/distinfo
+1-1rio/Makefile
+1-1rio/COMMIT_MSG
+5-53 files

LLVM/project 2e150a6 — lldb/source/Plugins/SymbolFile/DWARF DWARFASTParserFortran.cpp

Fixed error
DeltaFile
+1-1lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserFortran.cpp
+1-11 files

LLVM/project cbacd34 — lldb/source/Plugins/SymbolFile/DWARF DWARFASTParserFortran.cpp

Clarified Mangled comment, got rid of unnecessary switch, removed redundant comment and shortened variable names for parameter name and type vector
DeltaFile
+21-29lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserFortran.cpp
+21-291 files

LLVM/project 92a6348 — lldb/source/Plugins/SymbolFile/DWARF DWARFASTParserFortran.h DWARFASTParserFortran.cpp

Removed single line if brackets and changed function parsing parameters name as well as argument names.
DeltaFile
+12-12lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserFortran.cpp
+4-4lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserFortran.h
+16-162 files

LLVM/project 4a743c1 — lldb/source/Plugins/SymbolFile/DWARF DWARFASTParserFortran.cpp

formatting...
DeltaFile
+3-3lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserFortran.cpp
+3-31 files