LLVM/project 270842bllvm/include/llvm/ProfileData SampleProfReader.h, llvm/lib/ProfileData SampleProfReader.cpp

[ProfileData] Refactor SampleProfileNameTable into a polymorphic class hierarchy (NFC) (#210252)

This patch refactors SampleProfileNameTable into an abstract base
class with concrete derived classes like LazySampleProfileNameTable
and EagerSampleProfileNameTable.

The motivation is twofold:

- I want each derived class to focus on one data representation
  instead of using complex if-then-else.  Plus, I'm planning to
  introduce one more data representation [1].

- I want each class to be populated and ready for use as soon as it is
  constructed.  That is, there is no intermediate state like
  "constructed but waiting to be populated".

Now, you might notice that the iterator uses virtual operator[].  I
would argue that this is acceptable.  We have three places where we
iterate over the entire range of the name table entries.  Two of

    [8 lines not shown]
DeltaFile
+58-71llvm/include/llvm/ProfileData/SampleProfReader.h
+14-6llvm/lib/ProfileData/SampleProfReader.cpp
+72-772 files

OpenZFS/src bbecaa7include/sys dsl_dataset.h, include/sys/fs zfs.h

zfs recv: warn when a non-raw incremental diverges a raw IV set

A non-raw incremental received onto a snapshot that was itself received
raw re-stamps the destination's IV set guid with a fresh value, so it no
longer matches the sending lineage.  Nothing rejects this at the time,
but a later raw incremental taken from that snapshot is rejected with an
IV set guid mismatch (#8758).  The failure surfaces arbitrarily later,
often on a different host, with no hint that an earlier non-raw receive
was the cause.

The receive itself cannot tell that a snapshot was received raw from
anything on disk: a raw-received snapshot and an ordinary locally-keyed
one both carry an IV set guid of the same shape, one stamped from the
stream and one from unique_create(), with no recorded provenance.  So
warning on every non-raw incremental into an encrypted dataset would
fire on the common keys-local backup workflow that never hits the bug.

Record the provenance instead.  A raw receive now stamps a
DS_FIELD_RAW_RECEIVED marker on the new snapshot, next to the ivset

    [23 lines not shown]
DeltaFile
+49-1module/zfs/dmu_recv.c
+12-3tests/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh
+10-0lib/libzfs/libzfs_sendrecv.c
+9-0include/sys/dsl_dataset.h
+7-1include/sys/fs/zfs.h
+8-0module/zfs/zfs_ioctl.c
+95-52 files not shown
+99-68 files

OpenZFS/src 5e916bclib/libzfs libzfs_sendrecv.c, man/man8 zfs-receive.8

libzfs: clarify the raw incremental "IV set guid mismatch" error

When a raw incremental receive is rejected because the IV set guid of
the incremental source snapshot does not match the send stream, the
error only said "IV set guid mismatch" and pointed at the man page.
That leaves the user with no idea what actually happened or how to
recover, which is a recurring complaint in #8758: the state that
triggers the error is created silently, most commonly by a single
non-raw incremental receive in an otherwise raw chain (e.g. a
replication tool falling back or omitting -w once). Such a receive
copies the dataset guid from the stream but re-encrypts the data with
a freshly generated IV set, so the destination snapshot looks
identical to guid-matching tools while any later raw incremental based
on it must be rejected to avoid mixing two incompatible ciphertext
lineages.

Name the non-raw-receive cause and the recovery (roll the destination
back to the most recent raw-received snapshot and take the raw
incremental from there, or receive a new full raw stream) directly in

    [14 lines not shown]
DeltaFile
+11-3lib/libzfs/libzfs_sendrecv.c
+9-1tests/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh
+8-0man/man8/zfs-receive.8
+28-43 files

OpenZFS/src ec4f45etests/zfs-tests/tests/functional/rsend send_mixed_raw.ksh

ZTS: assert the IV set guid divergence behind mixed raw/non-raw sends

send_mixed_raw already exercises the failing sequence from #8758: a
raw full receive, then a non-raw incremental receive, then a raw
incremental receive that is rejected with "IV set guid mismatch".
However it only asserted the final failure, not the mechanism, so a
regression in how receives stamp the IV set guid could go unnoticed
as long as something still failed.

Extend the test to pin down the actual state transitions:

- A raw receive must preserve both the dataset guid and the IV set
  guid of the received snapshot.

- A non-raw incremental receive copies the dataset guid from the
  stream but generates a fresh IV set guid on the destination. This
  is the silent divergence that later raw incrementals trip over:
  the snapshots look identical to guid-matching tools while their
  IV sets no longer match.

    [14 lines not shown]
DeltaFile
+51-2tests/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh
+51-21 files

LLVM/project 1c97f0cllvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-simd-64.ll rvp-simd-32.ll

[RISCV][P-ext] Custom legalize v4i16->v4i8 and v2i32->v2i16 truncate. (#210670)

Convert to a bitcast and a shufflevector.

Assisted-by: Claude
DeltaFile
+12-66llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+31-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+3-13llvm/test/CodeGen/RISCV/rvp-simd-32.ll
+3-10llvm/test/CodeGen/RISCV/rvp-narrowing-shift-trunc.ll
+49-894 files

LLVM/project e8510cfllvm/test/TableGen subreg-index-overflow-allowed.td

[TableGen] Add sub-register overflow tests for exact-fit and non-covered registers (#210529)

Follow-up to #206346. Adds two cases the overflow check's companion test
missed: an exact-fit tiling that must be accepted, and a register
without `CoveredBySubRegs` that must be left alone. Test only.
DeltaFile
+29-2llvm/test/TableGen/subreg-index-overflow-allowed.td
+29-21 files

OpenZFS/src 376e63dman Makefile.am

man: conditionally install pam_zfs_key.8

When built with --enable-pam include the pam_zfs_key.8 man
page, otherwise omit it.  This aligns man/Makefile.am with
the build logic in contrib/Makefile.am.

Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18815 
Closes #18817
DeltaFile
+5-1man/Makefile.am
+5-11 files

LLVM/project b74f72cllvm/test/Transforms/SLPVectorizer/AMDGPU ordered-reduction-fma-fusion.ll, llvm/test/Transforms/SLPVectorizer/NVPTX ordered-reduction-fma-fusion.ll

[NFC][SLP] Precommit tests for ordered fadd-reduction FMA-fusion cost (#210835)

Baseline coverage for an ordered fadd-of-fmul reduction that is
currently vectorized even on FMA-capable targets, breaking the scalar
fmul + fadd -> fma fusion. A follow-up teaches the reduction cost model
to account for the lost fusion and keep these reductions scalar, at
which point these CHECK lines update. Covers X86 avx2, AMDGPU gfx90a and
NVPTX sm_80.

It is a pre-requisite for
https://github.com/llvm/llvm-project/pull/210399

Assisted-By: Claude Opus 4.8
DeltaFile
+516-0llvm/test/Transforms/SLPVectorizer/AMDGPU/ordered-reduction-fma-fusion.ll
+123-0llvm/test/Transforms/SLPVectorizer/X86/slp-fma-loss-ordered.ll
+46-0llvm/test/Transforms/SLPVectorizer/NVPTX/ordered-reduction-fma-fusion.ll
+685-03 files

LLVM/project 24c4abdclang/docs InternalsManual.md

[docs] Clean up migrated Clang InternalsManual markup

Replace migrated blockquote markup in InternalsManual.md with MyST definition lists where the surrounding text is semantically a term-and-definition list.
DeltaFile
+108-108clang/docs/InternalsManual.md
+108-1081 files

LLVM/project 37ad4f4clang/docs InternalsManual.md LibASTImporter.md

[docs] Convert selected rst docs with rst2myst
DeltaFile
+1,992-2,032clang/docs/InternalsManual.md
+436-446clang/docs/LibASTImporter.md
+321-329clang/docs/LibASTMatchersTutorial.md
+290-293clang/docs/ClangOffloadBundler.md
+260-301clang/docs/ClangRepl.md
+188-208clang/docs/ClangTransformerTutorial.md
+3,487-3,60912 files not shown
+4,555-4,80418 files

LLVM/project a95de00clang/docs ClangOffloadBundler.md ClangRepl.md

[docs] Finish MyST migration for selected docs
DeltaFile
+88-137clang/docs/ClangOffloadBundler.md
+15-18clang/docs/ClangRepl.md
+14-14clang/docs/LibASTImporter.md
+11-11clang/docs/RAVFrontendAction.md
+4-4clang/docs/InternalsManual.md
+3-3clang/docs/ClangTransformerTutorial.md
+135-1877 files not shown
+145-20413 files

LLVM/project 6cc0fd9clang/docs InternalsManual.rst InternalsManual.md

[docs] Rename selected Clang docs to Markdown

Rename 18 Clang documentation files from .rst to .md. The clang-format generated docs are split into users/rnk/clang-format-md-rename and users/rnk/clang-format-md-write for separate review.
DeltaFile
+0-3,941clang/docs/InternalsManual.rst
+3,941-0clang/docs/InternalsManual.md
+658-0clang/docs/ClangRepl.md
+0-658clang/docs/ClangRepl.rst
+0-613clang/docs/LibASTImporter.rst
+613-0clang/docs/LibASTImporter.md
+5,212-5,21230 files not shown
+9,110-9,11036 files

LLVM/project b915f34clang/docs InternalsManual.md LibASTImporter.md

[docs] Convert selected rst docs with rst2myst
DeltaFile
+1,992-2,032clang/docs/InternalsManual.md
+436-446clang/docs/LibASTImporter.md
+321-329clang/docs/LibASTMatchersTutorial.md
+290-293clang/docs/ClangOffloadBundler.md
+260-301clang/docs/ClangRepl.md
+188-208clang/docs/ClangTransformerTutorial.md
+3,487-3,60912 files not shown
+4,555-4,80418 files

LLVM/project f9ad322clang/docs ClangOffloadBundler.md ClangRepl.md

[docs] Finish MyST migration for selected docs
DeltaFile
+88-137clang/docs/ClangOffloadBundler.md
+15-18clang/docs/ClangRepl.md
+14-14clang/docs/LibASTImporter.md
+11-11clang/docs/RAVFrontendAction.md
+4-4clang/docs/InternalsManual.md
+3-3clang/docs/LibASTMatchersTutorial.md
+135-1877 files not shown
+145-20413 files

LLVM/project 4372295clang/docs InternalsManual.md

[docs] Clean up migrated Clang InternalsManual markup

Replace migrated blockquote markup in InternalsManual.md with MyST definition lists where the surrounding text is semantically a term-and-definition list.
DeltaFile
+108-108clang/docs/InternalsManual.md
+108-1081 files

LLVM/project 7e13da9clang/docs InternalsManual.md InternalsManual.rst

[docs] Rename selected Clang docs to Markdown

Rename 18 Clang documentation files from .rst to .md. The clang-format generated docs are split into users/rnk/clang-format-md-rename and users/rnk/clang-format-md-write for separate review.
DeltaFile
+3,941-0clang/docs/InternalsManual.md
+0-3,941clang/docs/InternalsManual.rst
+0-658clang/docs/ClangRepl.rst
+658-0clang/docs/ClangRepl.md
+613-0clang/docs/LibASTImporter.md
+0-613clang/docs/LibASTImporter.rst
+5,212-5,21230 files not shown
+9,110-9,11036 files

FreeBSD/ports e04fb01www Makefile, www/nextcloud-previewgenerator Makefile pkg-descr

www/nextcloud-previewgenerator: new port

Nextcloud app to do preview generation in the background
DeltaFile
+16-0www/nextcloud-previewgenerator/Makefile
+5-0www/nextcloud-previewgenerator/pkg-descr
+3-0www/nextcloud-previewgenerator/distinfo
+1-0www/Makefile
+25-04 files

LLVM/project c2adde4llvm/include/llvm/Analysis LoopInfo.h, llvm/lib/Analysis LoopInfo.cpp

[LoopInfo][LCSSA] Handle token-like values (#210816)

Token-like values have many (but not all) of the same restrictions as
regular token values.
They do however inherit the restriction on being placed in PHI and thus
they need to be
treated like regular tokens in LCSSA.

AI Disclosure: Written by GPT 5.6 - flagged during GPT 5.6 review of
#151062 rebase.
DeltaFile
+24-0llvm/test/Transforms/LCSSA/token-like-live-out.ll
+7-7llvm/lib/Analysis/LoopInfo.cpp
+4-3llvm/include/llvm/Analysis/LoopInfo.h
+4-3llvm/lib/Transforms/Utils/LCSSA.cpp
+39-134 files

FreeBSD/ports e6f1a9ewww/imaginary distinfo Makefile

www/imaginary: update to 20251108

Changelog: https://github.com/h2non/imaginary/commit/6a274b488759a896aff02f52afee6e50b5e3a3ee
DeltaFile
+7-9www/imaginary/distinfo
+4-6www/imaginary/Makefile
+11-152 files

FreeBSD/src e7efe2fshare/man/man4 firewire.4

firewire: remove deprecation notice from manual page

Reviewed by:    ziaee, imp
Differential Revision:  https://reviews.freebsd.org/D58267
DeltaFile
+0-5share/man/man4/firewire.4
+0-51 files

FreeBSD/src dd56711sys/dev/firewire firewire.c fwohci.c

firewire: replace magic numbers with named constants

No functional change.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58311
DeltaFile
+38-19sys/dev/firewire/firewire.c
+25-15sys/dev/firewire/fwohci.c
+13-7sys/dev/firewire/if_fwip.c
+13-2sys/dev/firewire/firewirereg.h
+7-3sys/dev/firewire/fwohci_pci.c
+4-3sys/dev/firewire/fwisound.h
+100-496 files not shown
+112-5812 files

FreeBSD/src 8a76565sys/dev/firewire fwohci.c firewire.c

firewire: remove dead code across the subsystem

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58310
DeltaFile
+0-158sys/dev/firewire/fwohci.c
+2-118sys/dev/firewire/firewire.c
+0-54sys/dev/firewire/sbp.c
+0-33sys/dev/firewire/sbp_targ.c
+0-32sys/dev/firewire/if_fwe.c
+0-11sys/dev/firewire/if_fwip.c
+2-4063 files not shown
+3-4289 files

FreeBSD/src 23ea903sys/dev/firewire firewire.c

firewire: force root change when root node is not cycle master capable

When a FireWire bus resets, all devices negotiate who is the new boss.
when we detect the root node can't be cycle master,
we send a PHY config packet that forces a reelection.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58309
DeltaFile
+4-3sys/dev/firewire/firewire.c
+4-31 files

FreeBSD/src 5b7449asys/dev/firewire firewire.c

firewire: drain pending xfers after callout stop in detach

Removes a TODO that predates the existing drain call.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58308
DeltaFile
+3-1sys/dev/firewire/firewire.c
+3-11 files

NetBSD/src zlr652s. UPDATING

   UPDATING: Note need for cleandir in ld.elf_so.
VersionDeltaFile
1.392+5-1UPDATING
+5-11 files

OpenBSD/ports As1SlK4sysutils/telegraf distinfo modules.inc, sysutils/telegraf/patches patch-plugins_inputs_openntpd_openntpd_go

   sysutils/telegraf: update to 1.39.2

   from Atanas Vladimirov, thanks!
VersionDeltaFile
1.30+2,072-1,966sysutils/telegraf/distinfo
1.29+669-657sysutils/telegraf/modules.inc
1.2+1-1sysutils/telegraf/pkg/README
1.6+1-1sysutils/telegraf/patches/patch-plugins_inputs_openntpd_openntpd_go
1.47+1-1sysutils/telegraf/Makefile
+2,744-2,6265 files

NetBSD/src 41bdGfmlibexec/ld.elf_so tls.c

   ld.elf_so: Mark new variables __debugused, not __diagused.

   They are used in ld.elf_so builds with DEBUG, not with DIAGNOSTIC!

   PR bin/60469: bin/60469: assertion "ALIGNED_P(q, obj->tlsalign)"
   failed: file "/usr/src/libexec/ld.elf_so/tls.c", line 333
VersionDeltaFile
1.31+3-3libexec/ld.elf_so/tls.c
+3-31 files

FreeBSD/src d325993sys/dev/firewire firewire.c fwcrom.c

firewire: add warn-only CRC validation for CSR ROM directories

Implemented crom_crc_valid() helper to validate IEEE 1394 config ROM CRC-16
checksums.

Skipped root header CRC validation since csrhdr.crc_len cover the entire
ROM body which is not fully read at header parse time. Per-directory
CRC checks below catch corruption where it needed.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58307
DeltaFile
+14-1sys/dev/firewire/firewire.c
+7-0sys/dev/firewire/fwcrom.c
+5-0sys/dev/firewire/fwisound.c
+5-0sys/dev/firewire/fwcam.c
+1-0sys/dev/firewire/iec13213.h
+32-15 files

FreeBSD/src 4a4bcdcsys/dev/bwi if_bwi.c, sys/dev/bwn if_bwn.c

net80211: update drivers to allocate sequence numbers in the raw path

A bunch of drivers weren't properly converted.  I mistakenly
put a call to ieee80211_output_seqno_assign() wherever the
crypto header was added, which isn't exactly correct.
There are plenty of drivers which don't share enough of their
raw and normal transmit path code for that to hold true.

So after some manual review, it looks like I've captured the
places (outside of iwn(4) which I committed earlier) where
I missed ieee80211_output_seqno_assign() calls.

* For bwi(4) and bwn(4) I refactored it out into a place that is
  common enough and happens in the same lock hold window,
  so it's serialised.

* For the rest, it's just plain missing from the raw path.

Locally tested:

    [6 lines not shown]
DeltaFile
+15-1sys/dev/bwi/if_bwi.c
+8-1sys/dev/bwn/if_bwn.c
+2-0sys/dev/ral/rt2560.c
+2-0sys/dev/ral/rt2860.c
+2-0sys/dev/usb/wlan/if_ural.c
+29-25 files

NetBSD/src jgSlwfytests/kernel t_signal_and_fpu.c

   t_signal_and_fpu: Mark xfail on sparc.

   PR port-sparc/60460: sparc fails to save/restore FPU registers on
   signal delivery
VersionDeltaFile
1.4+14-2tests/kernel/t_signal_and_fpu.c
+14-21 files