FreeBSD/doc 9aa405d — documentation/content/en/articles/pgpkeys _index.adoc, documentation/static/pgpkeys mzar.key

Add new ports committer (mzar)

Complete steps 1-4 of the Committer's Guide (Section 7.1).

Reviewed by:            philip
Approved by:            philip (mentor)
Differential Revision:  https://reviews.freebsd.org/D61982
DeltaFile
+37-0documentation/static/pgpkeys/mzar.key
+4-0website/data/en/news/news.toml
+4-0shared/authors.adoc
+3-0documentation/content/en/articles/pgpkeys/_index.adoc
+0-1shared/contrib-additional.adoc
+1-0shared/contrib-committers.adoc
+49-16 files

FreeBSD/ports a3932da — sysutils/nut-devel Makefile distinfo

sysutils/nut-devel: Update to the latest networkupstools/nut github commit
DeltaFile
+3-3sysutils/nut-devel/distinfo
+2-2sysutils/nut-devel/Makefile
+5-52 files

FreeBSD/src 4dc5ef5 — sys/compat/linux linux_xattr.c

linux(4): compare xattr namespace names with strcmp()

xattr_to_extattr() compared each namespace over the length of the
caller's prefix and would read past the end of any shorter name

the values are already null-terminated so we can just use strcmp()
here

Reviewed by:    rmoeller
Differential Revision:  https://reviews.freebsd.org/D60954
DeltaFile
+4-6sys/compat/linux/linux_xattr.c
+4-61 files

LLVM/project 5f752dc — lld/ELF SyntheticSections.cpp

[ELF] Parallelize `.gnu.hash` and `RELR` finalization (#245550)

Hash and sort `.gnu.hash` entries and collect and sort `RELR` offsets
with `parallelFor`/`parallelSort`. Output is byte-identical at any `--threads`.

``` 
hyperfine -N --warmup 5 --runs 40 \
    'ld.lld-base    --threads=8 @clang.rsp -o clang' \
    'ld.lld-patched --threads=8 @clang.rsp -o clang'

  base       313.6 ms ± 3.2 ms
  patched    293.9 ms ± 2.7 ms    (-6.3%)
```
On i7-7700K 4C/8T.

For small linking jobs, it was within the measurement noise.
DeltaFile
+12-10lld/ELF/SyntheticSections.cpp
+12-101 files

NextBSD/src 4dfb258 — . README.md build.sh, .github/workflows build.yml

Pi image: boot through U-Boot and loader.efi; kernel from /boot/kernel.RPI5 (#693) (#694)

The rpi500 image now boots the way the Pi boot chain was proven on
hardware (#687): config.txt starts u-boot.bin (from nextbsd-kernel-
extensions' continuous-u-boot release, sha256-checked), U-Boot starts
EFI/BOOT/BOOTAA64.EFI (the rootfs loader.efi), and the loader boots
/boot/kernel.RPI5/kernel, which the arm64 NextBSD-kernel package ships
(nextbsd-pkg#53), picked by loader.conf.d/rpi5.conf. So pkg upgrade
updates the kernel a Pi boots.

The UFS root moves into a BSD label in the freebsd slice, as on FreeBSD's
own Pi images and the installer's layout, so loader.efi finds /boot.
config.txt adds dtparam=pciex1 so U-Boot reaches an NVMe drive, and
kernel8.img stays on the FAT as a manual fallback. The image boots from
SD or NVMe; U-Boot can't drive the Pi 5's USB, so not from a USB stick.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+108-22build.sh
+2-2.github/workflows/build.yml
+2-1README.md
+112-253 files

LLVM/project 541095e — clang/include/clang/Basic AttrDocs.td, clang/lib/CIR/CodeGen/Targets AMDGPU.cpp

[AMDGPU] Pad INST_PREF_SIZE by extra cache lines past the kernel
DeltaFile
+74-0llvm/test/CodeGen/AMDGPU/inst-pref-pad-lines.ll
+26-0llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+17-0clang/include/clang/Basic/AttrDocs.td
+15-0clang/test/CIR/CodeGenHIP/amdgpu-attrs.hip
+15-0clang/lib/CIR/CodeGen/Targets/AMDGPU.cpp
+14-0clang/test/SemaOpenCL/amdgpu-inst-pref-pad-lines.cl
+161-09 files not shown
+223-015 files

LLVM/project 81659b4 — lld/ELF InputSection.cpp, lld/test/ELF compressed-input-alloc.s

[ELF] Decompress SHF_ALLOC compressed input sections eagerly (#245867)

GNU Assembler and llvm-mc compress SHF_ALLOC `.debug_*` sections (e.g.
[[gnu::section(".debug_gdb_scripts")]]) with --compress-debug-sections.
lld crashes on such a section because `compressedSize` overlaps
`jumpInstrMod`, and i386 reads implicit addends from the compressed
content.

Build on #245864 and decompress SHF_ALLOC sections in
parseCompressedHeader.
Fix #212125
DeltaFile
+27-0lld/test/ELF/compressed-input-alloc.s
+17-5lld/ELF/InputSection.cpp
+44-52 files

LLVM/project 939349d — llvm/lib/Target/Mips MipsISelLowering.h MipsSEInstrInfo.cpp, llvm/test/CodeGen/Mips micromips-get-set-rounding.ll get-set-rounding.ll

[Mips] Lower llvm.get.rounding and llvm.set.rounding (#245265)

llvm.get.rounding was folded to 1 (to nearest) whatever the current
rounding mode was, and llvm.set.rounding failed to select.

Read FCSR with cfc1 and map FCSR.RM to the FLT_ROUNDS values for
llvm.get.rounding. For llvm.set.rounding, map the mode back to RM and
write it to FCSR with ctc1, keeping the other bits.

Also use the microMIPS cfc1/ctc1 when copying to or from FCSR. On
microMIPS R6 the standard encodings were emitted.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+365-0llvm/test/CodeGen/Mips/get-set-rounding.ll
+43-0llvm/lib/Target/Mips/MipsISelLowering.cpp
+21-0llvm/test/CodeGen/Mips/micromips-get-set-rounding.ll
+2-2llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
+4-0llvm/lib/Target/Mips/MipsSEISelLowering.cpp
+2-0llvm/lib/Target/Mips/MipsISelLowering.h
+437-26 files

LLVM/project e119a95 — llvm/tools/llvm-exegesis/lib BenchmarkRunner.cpp

[llvm-exegesis] Zero initialize CurrentCPU (#245858)

Otherwise we get MSan false positives given we manually make a syscall
to SYS_getcpu because older versions of glibc do not have a getcpu
wrapper.
DeltaFile
+1-1llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
+1-11 files

LLVM/project 4420e4f — lld/ELF InputSection.cpp

[ELF] Reuse decompressAux in InputSection::writeTo. NFC (#245864)

Pass the compressed content to decompressAux so that writeTo can use it.
DeltaFile
+11-18lld/ELF/InputSection.cpp
+11-181 files

LLVM/project 30f954a — clang/lib/CodeGen CGCall.cpp CodeGenModule.cpp, clang/test/CodeGen optsize-definitions.c

clang: Decide optsize and minsize together with optnone

Instead of adding optsize and minsize everywhere and removing them
when the definition is optnone, only add them to definitions that are
not optnone. Also stop adding these to declarations.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+71-0clang/test/CodeGen/optsize-definitions.c
+13-6clang/lib/CodeGen/CGCall.cpp
+16-3clang/lib/CodeGen/CodeGenModule.cpp
+100-93 files

LLVM/project 7b257f3 — llvm/lib/Target/LoongArch LoongArchISelDAGToDAG.cpp, llvm/test/CodeGen/LoongArch and-known-bits.ll

[LoongArch] Select cheaper constants for AND using known bits

The target-independent combines clear the bits of an AND mask that are known
to be zero in the other operand. That can make the mask more expensive to
materialize, e.g. -27 becomes 0xffffffe5 if the upper 32 bits are known to be
zero:

```
  addi.w  $a1, $zero, -27
  lu32i.d $a1, 0
  and     $a0, $a0, $a1
```

Set the leading bits again at instruction selection if the mask has no other
users and that makes it cheaper, or allows to use bstrins:

```
  addi.w  $a1, $zero, -27
  and     $a0, $a0, $a1

    [6 lines not shown]
DeltaFile
+42-0llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
+3-11llvm/test/CodeGen/LoongArch/and-known-bits.ll
+45-112 files

LLVM/project 5a70707 — llvm/test/CodeGen/LoongArch and-known-bits.ll

[LoongArch][NFC] Add tests for AND with constants and known bits

Add tests for AND with constants, where the leading bits are known to be zero
in the other operand.

Assisted-By: LLM
DeltaFile
+237-0llvm/test/CodeGen/LoongArch/and-known-bits.ll
+237-01 files

LLVM/project 190e640 — llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp, llvm/lib/Target/AMDGPU SIInstrInfo.h AMDGPUAsmPrinter.cpp

Reapply "[AMDGPU] Support the RF and m inline asm constraints (#195123)" (#245801)

This reapplies #241996 (510874d1f795), which is a reapply of #195123,
minus the change to SIInstrInfo::verifyInstruction.

This patch supports the RF inline asm constraint for memory operands in
the flat address space as well as the generic 'm' constraint.

PR #241996 was reverted be #245558 because EXPENSIVE_CHECKS builds
failed several AMDGPU CodeGen tests (e.g. callbr.ll, pack.v2f16.ll,
llvm.maximum.f32.ll) with "Bad machine code: inlineasm operand has
incorrect register class". Those failures were caused by the change to
SIInstrInfo::verifyInstruction that stopped skipping INLINEASM, making
the existing inline asm register class check reachable. They are not
related to the RF/m constraint support itself.

The original patch is therefore split in two:
- This patch: RF and m constraint support only.
- A follow-up patch: enabling the inline asm register class check in

    [3 lines not shown]
DeltaFile
+295-0llvm/test/CodeGen/AMDGPU/inline-mem-constraints.ll
+27-0llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+12-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+10-0llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+8-1llvm/lib/Target/AMDGPU/SIInstrInfo.h
+7-1llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+359-25 files not shown
+374-311 files

LLVM/project e47fac8 — clang/lib/Sema SemaExpr.cpp, clang/test/Sema attr-sentinel.c

[Clang][Sema] Avoid unsigned overflow in sentinel call checks (#245549)

This fixes https://github.com/llvm/llvm-project/issues/245437. Adding
the sentinel offset to the fixed parameter count can wrap for large
offsets, allowing an out-of-bounds access to the argument list.

Check that the number of remaining arguments exceeds the offset before
looking up the sentinel. This preserves the existing warning when there
are too few variadic arguments.

Assisted-by: OpenAI Codex
DeltaFile
+13-0clang/test/Sema/attr-sentinel.c
+5-4clang/lib/Sema/SemaExpr.cpp
+18-42 files

LLVM/project 8c09ec4 — mlir/lib/Dialect/ArmSME/Transforms VectorLegalization.cpp, mlir/test/Dialect/ArmSME vector-legalization.mlir

[mlir][ArmSME] Do not lower masked scalable column reads to loops (#245014)

`LowerColumnTransferReadToLoops` ignores masks. This read becomes a loop
that loads every lane, so the masked-off lanes get memory instead of
`%pad`:

```mlir
%read = vector.transfer_read %src[%a, %b], %pad, %mask {in_bounds = [true, true]} : memref<?x?xf32>, vector<[4]x1xf32>
```

Under `vector.mask`, the loop is created inside the mask region, which
is invalid IR.

The pattern now skips both forms. For downstream users: lowering a read
with a mask operand may now fail, where before the mask was silently
dropped. Out-of-bounds reads are unchanged (see the TODO on the
pattern).

Tested with a negative test for each form. Not run on SME hardware.

    [5 lines not shown]
DeltaFile
+22-0mlir/test/Dialect/ArmSME/vector-legalization.mlir
+6-0mlir/lib/Dialect/ArmSME/Transforms/VectorLegalization.cpp
+28-02 files

LLVM/project fce927e — clang/test/OpenMP atomic_compare_codegen.cpp, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

rebase

Created using spr 1.3.7
DeltaFile
+1,627-1,302llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,165-1,164llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+440-1,358clang/test/OpenMP/atomic_compare_codegen.cpp
+1,727-0llvm/test/Transforms/SLPVectorizer/AArch64/sibling-loops-unknown-trip-counts.ll
+856-856llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-insertelement-rv64.mir
+6,095-6,2571,188 files not shown
+58,843-33,3921,194 files

LLVM/project 896a072 — clang/lib/CodeGen/Targets M68k.cpp, clang/test/CodeGen attr-m68k.c

clang: Only emit the M68k interrupt vector alias for the definition

The target hook runs for the declaration of an interrupt handler and
again for its definition, so the __isr_N alias was emitted twice. A
declaration-only handler also produced an alias of a declaration.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+5-0clang/test/CodeGen/attr-m68k.c
+2-0clang/lib/CodeGen/Targets/M68k.cpp
+7-02 files

LLVM/project ab2b890 — clang/lib/CodeGen/Targets MSP430.cpp M68k.cpp, clang/test/CodeGen attr-msp430.c attr-m68k.c

clang: Stop marking M68k and MSP430 interrupt handlers noinline

There seems to be no rationale for marking these as noinline, and no
other target does this. This helps avoid another source of IR
attributes reading existing IR attributes.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+7-0clang/test/CodeGen/attr-m68k.c
+1-4clang/lib/CodeGen/Targets/M68k.cpp
+3-0clang/test/CodeGen/attr-msp430.c
+0-1clang/lib/CodeGen/Targets/MSP430.cpp
+11-54 files

LLVM/project 4e74f4d — clang/lib/CodeGen CodeGenModule.cpp

clang: Remove HLSL checks for a preexisting noinline

SetLLVMFunctionAttributesForDefinition only adds alwaysinline to
functions that are not already noinline. Nothing marks these functions
noinline before this point. The HLSL entry functions are marked
noinline, but they are created separately and never reach here.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2-3clang/lib/CodeGen/CodeGenModule.cpp
+2-31 files

LLVM/project d245e23 — llvm/lib/IR AsmWriter.cpp, llvm/test/Assembler avr-calling-conventions.ll

IR: Remove trailing space from printed AVR calling convention names (#245831)

avr_intrcc and avr_signalcc were printed with a trailing space, which
produced a double space before the return type.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+10-0llvm/test/Assembler/avr-calling-conventions.ll
+6-2llvm/lib/IR/AsmWriter.cpp
+16-22 files

FreeBSD/src 2fb3cd9 — sbin/ipfw ipfw.8

ipfw.8: cosmetic nits
DeltaFile
+2-2sbin/ipfw/ipfw.8
+2-21 files

OpenBSD/src vFCHeof — sys/dev/acpi acpidmar.h acpidmar.c

   improve intel S3 suspend/resume

   move intel QI to use wait completion indication, range invalidation follows

   various register and descriptor definition fixes

   ok kettenis@
VersionDeltaFile
1.21+117-44sys/dev/acpi/acpidmar.c
1.5+11-7sys/dev/acpi/acpidmar.h
+128-512 files

FreeBSD/ports f1aa62d — security/softether5 Makefile distinfo

security/softether5: Update to 5.2.5192

While here, fix build on i386 and FreeBSD 14.

Reported by:    pkg-fallout
Security:       GHSA-h7mh-v5ph-f7rg
Security:       GHSA-59w5-rh6g-gprj
Security:       GHSA-9689-jwvp-j7x2
Security:       GHSA-g9qv-34r3-6mwh
Security:       GHSA-m6w7-2vq8-pr77
Security:       GHSA-76pg-qw62-7f86
DeltaFile
+3-3security/softether5/distinfo
+4-1security/softether5/Makefile
+7-42 files

FreeBSD/ports aed8bd8 — shells/carapace Makefile distinfo

shells/carapace: Update to 1.8.5

Changelog: https://github.com/carapace-sh/carapace-bin/releases/tag/v1.8.5

Reported by:    GitHub (watch releases)
DeltaFile
+5-5shells/carapace/distinfo
+1-1shells/carapace/Makefile
+6-62 files

LLVM/project 5afe184 — llvm/test/tools/llvm-mca/X86/Atom resources-x86_64.s, llvm/test/tools/llvm-mca/X86/BdVer2 resources-x86_64.s

[X86] Schedule ENDBR32/ENDBR64 as WriteNop instead of WriteSystem (#245739)

`ENDBR32`/`ENDBR64` only mark valid indirect-branch targets for CET, and
they are NOPs on processors without CET. They were scheduled as
`WriteSystem`, which every X86 model treats as a very expensive
microcoded instruction (znver3: 100 µops, 100-cycle latency). As a
result, llvm-mca greatly overestimates the cost of any analysed region
that includes a CET function entry (`-fcf-protection` is the default on
several distributions).

This patch schedules them as `WriteNop`, the same class used for the
other no-op encodings in `X86InstrSystem.td` (segment and address-size
prefixes). It adds an llvm-mca test covering x86-64, skylake, alderlake,
znver3 and znver4.

Effect on the #121344 kernel (GCC 15 `-Ofast`, Ubuntu default CET),
`llvm-mca -mcpu=znver3`, 100 iterations:

| | Total Cycles |

    [14 lines not shown]
DeltaFile
+8-1llvm/test/tools/llvm-mca/X86/Znver4/resources-x86_64.s
+8-1llvm/test/tools/llvm-mca/X86/Znver3/resources-x86_64.s
+8-1llvm/test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s
+8-1llvm/test/tools/llvm-mca/X86/BdVer2/resources-x86_64.s
+8-1llvm/test/tools/llvm-mca/X86/Atom/resources-x86_64.s
+7-0llvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s
+47-517 files not shown
+162-623 files

FreeBSD/src 3c03ab0 — release/tools ec2.conf

EC2: Set hw.dmar.enable="1"

Large EC2 "bare metal" instances route interrupts to APIC IDs > 255,
and unlike the "virtualized" instances, don't support extended APIC
destination IDs (since that's a hypervisor feature, and bare metal
instances have no hypervisor).

Enable the IOMMU for interrupt remapping; this unbreaks booting on
m8i.metal-96xl and variants thereof (e.g. c8in).

MFC after:      1 day
Sponsored by:   Amazon
Tested on:      c5n.9xlarge, c6a.24xlarge, c8in.96xlarge, c5.metal,
                c6in.metal, c6a.metal, c7a.metal-48xl, c7i.metal-24xl,
                c7i.metal-48xl, c8a.metal-24xl, c8a.metal-48xl,
                c8i.metal-48xl, c8i.metal-96xl, c8in.metal-48xl,
                c8in.metal-96xl, m5.metal, m8azn.metal-24xl
DeltaFile
+4-0release/tools/ec2.conf
+4-01 files

LLVM/project 4c331e3 — llvm/test/MC/RISCV rvzacas-valid.s

[nspr] update
DeltaFile
+18-18llvm/test/MC/RISCV/rvzacas-valid.s
+18-181 files

LLVM/project 153e35f — llvm/utils convert_mc_test_to_verify.py

[nspr] update
DeltaFile
+3-1llvm/utils/convert_mc_test_to_verify.py
+3-11 files

LLVM/project 89aad5d — llvm/lib/Support SourceMgrDiagnosticVerifier.cpp, llvm/test/tools/llvm-mc/verify basic.s

[nspr] update
DeltaFile
+8-8mlir/test/Dialect/OpenMP/memory-effects.mlir
+5-5mlir/test/Dialect/Transform/test-interpreter.mlir
+5-4llvm/test/tools/llvm-mc/verify/basic.s
+3-3mlir/test/Dialect/Transform/foreach-match.mlir
+3-2llvm/lib/Support/SourceMgrDiagnosticVerifier.cpp
+2-2mlir/test/IR/test-verification-order.mlir
+26-2413 files not shown
+45-4319 files