FreeBSD/src b83204esys/powerpc/booke pmap.c pmap_64.c

powerpc/pmap: Support booke64 kernel pmap growing

In preparation of increasing the KVA on powerpc64 to 2TB to mirror
amd64's, rework the 64-bit Book-E pmap to not allocate all page table
pages at boot time, since that would be a waste of a lot of memory.
Instead, allocate all page table pages for the higher levels, leaving
the leaves (page directories) for dynamic allocation.  This cuts the
boot-time page table size down from ~64MB to ~8MB with the current 32GB
KVA size, and bumping to 2TB KVA the boot-time page table is still ~8MB
instead of ballooning to ~4GB of mostly wasted space.
DeltaFile
+86-9sys/powerpc/booke/pmap_64.c
+15-3sys/powerpc/booke/pmap.c
+101-122 files

LLVM/project ceaff22clang/lib/CodeGen CGExprScalar.cpp, clang/test/CodeGen constrained-math-builtins.c fp-reassoc-pragma.cpp

[Clang][CodeGen] Respect FP pragma options for fneg and calls (#212141)

Apply expression-specific floating-point options when emitting fneg and
call instructions.

This prevents these instructions from retaining fast-math flags disabled
by local FP pragmas, such as #pragma clang fp reassociate(off).

Fixes #51905
DeltaFile
+22-22clang/test/CodeGen/AArch64/v8.2a-neon-intrinsics-constrained.c
+22-8clang/test/CodeGen/fp-reassoc-pragma.cpp
+8-8clang/test/CodeGen/constrained-math-builtins.c
+5-1clang/lib/CodeGen/CGExprScalar.cpp
+57-394 files

FreeBSD/ports 7717b87shells/iris Makefile distinfo

shells/iris: Update to 0.5.2

Changelog:
- https://github.com/versenilvis/IRIS/releases/tag/v0.5.0
- https://github.com/versenilvis/IRIS/releases/tag/v0.5.1
- https://github.com/versenilvis/IRIS/releases/tag/v0.5.2

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

LLVM/project 5ab9b3ellvm/docs AMDGPUMemoryModel.md

[Docs][AMDGPU] fully specify volatile accesses in the memory model (#214168)

A non-atomic volatile access on AMDGPU includes store-available or
load-visible
semantics at the widest scope supported by its address space:

- system scope for global/generic,
- workgroup scope for local (LDS)

An atomic volatile access has the same availability and visibility as
its atomic
non-volatile variant.

Previous Reference: 2f499b9

This fully specifies the behavior that the LLVM memory model leaves
target-dependent, matching the implementation in SIMemoryLegalizer. 

Assisted-By: Claude Opus 4.8
DeltaFile
+25-0llvm/docs/AMDGPUMemoryModel.md
+25-01 files

LLVM/project 35b6c91llvm/lib/Target/LoongArch LoongArchLSXInstrInfo.td LoongArchLASXInstrInfo.td, llvm/test/CodeGen/LoongArch/lasx/ir-instruction extractelement.ll

[LoongArch] Use unsigned vector extract for zero extension

Add patterns to select VPICKVE2GR_BU/HU and [X]VPICKVE2GR_WU for vector
extraction followed by zero extension, eliminating redundant masking
instructions.
DeltaFile
+16-38llvm/test/CodeGen/LoongArch/lasx/ir-instruction/extractelement.ll
+28-0llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
+8-19llvm/test/CodeGen/LoongArch/lsx/ir-instruction/extractelement.ll
+13-0llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
+65-574 files

LLVM/project 1bfd939llvm/test/CodeGen/LoongArch/lasx/ir-instruction extractelement.ll, llvm/test/CodeGen/LoongArch/lsx/ir-instruction extractelement.ll

[LoongArch][NFC] Add tests for vector extraction with zero extension (#214119)
DeltaFile
+107-0llvm/test/CodeGen/LoongArch/lasx/ir-instruction/extractelement.ll
+64-0llvm/test/CodeGen/LoongArch/lsx/ir-instruction/extractelement.ll
+171-02 files

LLVM/project 8307b46bolt/lib/RuntimeLibs RuntimeLibrary.cpp, bolt/test CMakeLists.txt lit.cfg.py

[BOLT] Support runtime libraries built as thin archives (#214292)

In some configurations, BOLT runtime libraries may be built as thin
archive. Use the more generic `Archive::create` to handle these.
DeltaFile
+22-0bolt/test/runtime/thin-archive.c
+4-3bolt/lib/RuntimeLibs/RuntimeLibrary.cpp
+3-0bolt/test/lit.cfg.py
+1-0bolt/test/CMakeLists.txt
+30-34 files

NetBSD/src CABQutysbin/disklabel main.c

   Add hb68k to the "native layout" table.
VersionDeltaFile
1.60+3-2sbin/disklabel/main.c
+3-21 files

NetBSD/src Wc4y0aTsys/arch/hb68k/include disklabel.h

   Use the same disklabel layout as hp300.  See rationale in comments.
VersionDeltaFile
1.2+25-15sys/arch/hb68k/include/disklabel.h
+25-151 files

FreeBSD/src 4f42ec2usr.sbin/prometheus_sysctl_exporter prometheus_sysctl_exporter.8 prometheus_sysctl_exporter.c

prometheus_sysctl_exporter: don't abort on bad labels

We can probaby consider these kernel bugs, in which case asserting is
not the most helpful thing we can do.  Let's emit the necessary details
to stderr and exit non-zero to aid debugging these without completely
blocking the ability to export all of the well-formed metrics.

Reviewed by:    rew
Differential Revision:  https://reviews.freebsd.org/D57983
DeltaFile
+40-14usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
+6-1usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.8
+46-152 files

LLVM/project c6eb5e3clang/docs ClangFormat.md ClangFormatStyleOptions.md, clang/docs/tools dump_format_help.py dump_format_style.py

[docs][clang-format] Migrate generated clang-format docs to markdown (#211398)

Tracking issue: #201242
See the [migration guide] for more information. 

This is a stacked PR based on #211397 , which will be a standalone
commit that
renames *.rst -> *.md before this PR lands for history preservation
purposes.

[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

First, the generator was updated to generate markdown constructs, and
then the Doxygen comments in `Format.h` and `IncludeStyle.h` were also
modified to use markdown constructs. Mostly this means using single
backticks instead of double backticks, which is the Doxygen-native way
of expressing code font blocks anyway, so that's good.


    [3 lines not shown]
DeltaFile
+5,522-5,344clang/docs/ClangFormatStyleOptions.md
+404-404clang/include/clang/Format/Format.h
+241-260clang/docs/ClangFormat.md
+109-27clang/docs/tools/dump_format_style.py
+34-33clang/include/clang/Tooling/Inclusions/IncludeStyle.h
+3-11clang/docs/tools/dump_format_help.py
+6,313-6,0796 files

NetBSD/pkgsrc kdosqXdsecurity/zoneminder Makefile

   security/zoneminder: Switch to use php/compat.mk
VersionDeltaFile
1.107+3-3security/zoneminder/Makefile
+3-31 files

NetBSD/pkgsrc HGkcrYawww/osticket Makefile

   www/osticket: use compat.mk for php-apcu dependency
VersionDeltaFile
1.11+2-3www/osticket/Makefile
+2-31 files

FreeBSD/src 6404ef1share/man/man4 ix.4, sys/dev/ixgbe ixgbe_sriov.h ixgbe.h

ixgbe: implement VF secondary MAC filters

The PF advertises the legacy SET_MACVLAN mailbox request but always
rejects it. The request installs secondary unicast addresses.

Allocate an owned RAR pool for VF secondary addresses, reserve low
entries for PF filters, and place VF-primary addresses at the top of
the usable RAR range. Reject address collisions and cap each VF at
three secondary filters so one guest cannot exhaust the shared table.

Clear secondary filters on VF or PF reset and on SR-IOV teardown. This
hardware can anti-spoof only the VF primary source address. Reject
secondary filters while MAC anti-spoofing is configured, so installing
them requires an explicit administrative policy choice. Report optional
filter-table allocation failure without disabling SR-IOV.

Adapt the owned-RAR allocation and reset-cleanup model from igb(4) in
a2ed165f0049 to DPDK's ixgbe SET_MACVLAN mailbox semantics.


    [2 lines not shown]
DeltaFile
+149-5sys/dev/ixgbe/if_sriov.c
+10-0sys/dev/ixgbe/ixgbe.h
+10-0share/man/man4/ix.4
+2-0sys/dev/ixgbe/ixgbe_sriov.h
+171-54 files

NetBSD/pkgsrc Bo880fwdevel/phabricator Makefile, www/drupal11 Makefile

   Use lang/php/compat.mk.

   Solve the problem of dependency to php-apcu and php-opcache.
VersionDeltaFile
1.22+4-9devel/phabricator/Makefile
1.112+4-4www/moodle/Makefile
1.24+3-4www/php-glpi/Makefile
1.12+3-3www/drupal11/Makefile
1.10+2-3www/osticket/Makefile
+16-235 files

FreeBSD/src 660ea2csys/dev/ixgbe ixgbe_vf.c ixgbe.h

ixgbe: enforce VF promiscuity and multicast policy

The allow-promisc IOV property is advertised but ignored, and the PF
rejects the xcast request used by modern VFs. Negotiate mailbox APIs
1.2 and 1.3, implement pool-scoped xcast modes, and require
allow-promisc for requested all-multicast or unicast-promiscuous modes.

The VF mailbox can carry only 30 multicast hashes. When ixv has a
larger list, request the API 1.2 all-multicast xcast mode instead of
extending the legacy SET_MULTICAST message. The PF grants that fallback
only to VFs configured with allow-promisc; otherwise ixv reports that
only the first 30 addresses are active.

Reset xcast state with the VF and have ixv replay the mode implied by
its interface flags after multicast updates.

Follow DPDK's ixgbe API 1.2/1.3 xcast contract, with allow-promisc
policy adapted from igb(4) in a2ed165f0049.


    [2 lines not shown]
DeltaFile
+90-26sys/dev/ixgbe/if_sriov.c
+48-1sys/dev/ixgbe/if_ixv.c
+3-0sys/dev/ixgbe/ixgbe_sriov.h
+1-1sys/dev/ixgbe/ixgbe_vf.c
+2-0sys/dev/ixgbe/ixgbe.h
+144-285 files

NetBSD/pkgsrc eCM7nDxlang/php compat.mk

   php/compat.mk: Add support for apcu and opcache
VersionDeltaFile
1.3+16-2lang/php/compat.mk
+16-21 files

FreeBSD/src caa08edsys/dev/ixgbe ix_txrx.c if_sriov.c

ixgbe: Preserve priority-tagged traffic with SR-IOV

VID 0 carries only 802.1p priority and does not identify VLAN
membership. Keep VFTA bit zero in the persistent PF shadow table so
reset and SR-IOV replay admit priority-tagged frames while VLAN
filtering is enabled.

In virtualization mode, also reserve VLVF slot zero and restore PF and
eligible VF pool memberships. A VFTA hit alone admits the tag globally
but does not deliver it to the correct pools.

This matches the priority-tag treatment in em/igb.

MFC after:      1 week
DeltaFile
+10-1sys/dev/ixgbe/if_ix.c
+4-2sys/dev/ixgbe/if_sriov.c
+3-2sys/dev/ixgbe/ix_txrx.c
+17-53 files

FreeBSD/src a81f97ashare/man/man4 ix.4, sys/dev/ixgbe ixgbe.h ix_txrx.c

ixgbe: preserve VLAN ownership with SR-IOV

The VF VLAN capability is checked but never granted, and no SR-IOV
configuration property exposes the existing default-VLAN support. PF
VLAN updates also replace VFTA registers from a PF-only shadow, erasing
live VF filters.

Expose access VLAN and trunk policy through the IOV schema. Track each
VF VLAN as desired state, restore the administrative VLAN after reset,
and use the native VLVF helper for incremental PF and VF ownership
changes.

Keep VLAN filtering enabled while SR-IOV is active. When PF hardware
filtering is disabled, admit every VLAN to the PF without bypassing
per-pool VF isolation. Reconstruct VLVF and the shared VFTA from PF and
VF desired state after reset or a filtering-mode transition, and
restore PF-only state on teardown.

When the last VF leaves a VLAN still owned by the PF, free its VLVF

    [14 lines not shown]
DeltaFile
+201-21sys/dev/ixgbe/if_sriov.c
+149-69sys/dev/ixgbe/if_ix.c
+23-1share/man/man4/ix.4
+15-3sys/dev/ixgbe/ix_txrx.c
+5-1sys/dev/ixgbe/ixgbe.h
+393-955 files

FreeBSD/src 7d3d630sys/dev/ixgbe ixgbe_sriov.h if_sriov.c

ixgbe: enforce configured VF anti-spoofing

The SR-IOV schema advertises MAC anti-spoofing and enables it by
default, but the VF configuration was never consumed and the hardware
policy remained disabled.

Record the configured policy and apply MAC and VLAN anti-spoofing
throughout VF initialization and reset. On X550-family devices, also
protect the LLDP and flow-control Ethertypes and enable per-VF
spoof-event accounting. Remove the driver-owned state during SR-IOV
teardown.

Adapt the anti-spoof configuration lifecycle used by igb(4) in
a2ed165f0049 to the ixgbe hardware controls.

MFC after:      1 week
Relnotes:       yes
DeltaFile
+50-0sys/dev/ixgbe/if_sriov.c
+1-0sys/dev/ixgbe/ixgbe_sriov.h
+51-02 files

LLVM/project 56a654bllvm/include/llvm/CodeGen TargetLowering.h, llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAG] Change `isExtractSubvectorCheap` into `getExtractSubvectorCost` (#213614)

This changes `isExtractSubvectorCheap` into `getExtractSubvectorCost`.

This is preparing for #201056 in order to remove `isNarrowingProfitable`
bail out for `narrowInsertExtractVectorBinOp`.

The reason is `isNarrowingProfitable` should be applying on scalar
variable instead of vectors.

---------

Co-authored-by: shore <shorshen at amd.com>
DeltaFile
+17-11llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+20-7llvm/include/llvm/CodeGen/TargetLowering.h
+17-9llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+15-8llvm/lib/Target/X86/X86ISelLowering.cpp
+10-4llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+8-5llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
+87-4411 files not shown
+130-7717 files

LLVM/project 1b8dcb4llvm/lib/Target/NVPTX NVPTXISelLowering.cpp NVPTXInstrInfo.td

[NVPTX] Model SM architectures as subtarget features (NFC) (#214335)
DeltaFile
+170-170llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
+89-121llvm/lib/Target/NVPTX/NVPTXSubtarget.h
+93-82llvm/lib/Target/NVPTX/NVPTX.td
+64-97llvm/lib/Target/NVPTX/NVPTXSubtarget.cpp
+50-78llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+38-39llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+504-5873 files not shown
+512-5949 files

LLVM/project 1c0eda0llvm/lib/Analysis ScalarEvolution.cpp, llvm/unittests/Analysis ScalarEvolutionTest.cpp

Revert "[SCEV] Speed up forgetLoop by avoiding def-use walk for loop-header PHIs" (#212485)

Reverts https://github.com/llvm/llvm-project/pull/201572
Multiple miscompilations are reported, see
https://github.com/llvm/llvm-project/issues/207744,
https://github.com/llvm/llvm-project/issues/212027

That commit made forgetLoop() rely on LoopUsers[L] and stop walking the
def-use chain of the loop-header PHIs. This is insufficient, because
some cached data is derived from the underlying IR of SCEVUnknown, it is
not reachable from LoopUsers[L].
After that commit, forgetLoop() no longer invalidated them, so stale
UnsignedRanges / SignedRanges, ConstantMultipleCache, ValuesAtScopes
cause miscompilations.
DeltaFile
+0-39llvm/unittests/Analysis/ScalarEvolutionTest.cpp
+16-6llvm/lib/Analysis/ScalarEvolution.cpp
+16-452 files

NetBSD/pkgsrc Bxa7oendoc CHANGES-2026

   doc: Updated cad/klayout to 0.30.10
VersionDeltaFile
1.5042+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc pGze3XScad/klayout distinfo Makefile, cad/klayout/patches patch-src_klayout.pri patch-src_tl_tl_tlTimer.cc

   (cad/klayout) Updated 0.29.12 to 0.30.10, based on wip/klayout by Atsushi Toyokura

   (pkgsrc)
   - Add two experimental patches for Timer::memory_size () at:
      src/tl/tl/tlTimer.cc
      src/klayout.pri

   - To test the code inserted above, we have to know when the function is called.
     By asking chatGPT,
    **KLayout 0.30.10**, `tl::Timer::memory_size()` is called automatically when an **enabled `tl::SelfTimer` is destroyed and writes its performance report**

   --------------------------------------
   SelfTimer goes out of scope / is deleted
           v
   SelfTimer::~SelfTimer()
           v
   stop()
           v
   report()

    [419 lines not shown]
VersionDeltaFile
1.1+56-0cad/klayout/patches/patch-src_tl_tl_tlTimer.cc
1.11+28-1cad/klayout/PLIST
1.1+16-0cad/klayout/patches/patch-src_klayout.pri
1.108+9-5cad/klayout/Makefile
1.53+6-4cad/klayout/distinfo
+115-105 files

LLVM/project 7f298d7llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Update for comments
DeltaFile
+4-5llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+4-51 files

LLVM/project 5be66d0llvm/lib/Target/AMDGPU SIModeRegisterDefaults.h SIISelLowering.h

[NFC][AMDGPU] Let IR level callers query the FMA/FMAD predicates (#213310)

isFMADLegal and isFMAFasterThanFMulAndFAdd read the denormal mode out of
the MachineFunction, so nothing before instruction selection can ask
them whether an fmul/fadd pair will be fused. Take an explicit
DenormalFPEnv instead, and make the existing MachineFunction /
SelectionDAG / MachineInstr entry points thin wrappers over it.

Also override the IR level isFMAFasterThanFMulAndFAdd hook. The two
views agree by construction, since SIModeRegisterDefaults copies its
denormal fields out of getDenormalFPEnv.

isFMADLegal uses VT as written and does not look through vectors, so a
vector type reports false, as in the SelectionDAG overload it was
extracted from.

The patch is preparation for querying these from getArithmeticInstrCost
and a revived isProfitableToSinkOperands.


    [2 lines not shown]
DeltaFile
+41-19llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+10-0llvm/lib/Target/AMDGPU/SIISelLowering.h
+5-0llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.h
+56-193 files

LLVM/project a432964llvm/lib/Target/AMDGPU VOP3PInstructions.td, llvm/test/CodeGen/AMDGPU mad-mix-lo-bf16.ll mad-mix-lo.ll

[AMDGPU] Fix sign of zero in fpround(fmul) -> V_{MAD,FMA}_MIX{LO,HI} (#214544)

The isel patterns lowering `fptrunc (fmul float %a, %b)` to a mix
instruction passed +0.0 as the FMA addend. Under round-to-nearest fma(a,
b, +0.0) is +0.0 whenever a * b is -0.0, so the sign of zero was lost:
on gfx90a, `(half)(-1.0f * 0.0f)` returned +0.0.

Use a -0.0 addend instead, which is the correct multiplicative identity
for an FMA and is what the f32 sibling pattern in MadFmaMixFP32Pats has
always done.

Verified on gfx90a: (half)(-1.0f * 0.0f) now returns 0x8000.
DeltaFile
+76-76llvm/test/CodeGen/AMDGPU/llvm.log10.ll
+76-76llvm/test/CodeGen/AMDGPU/llvm.log.ll
+11-11llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
+4-4llvm/test/CodeGen/AMDGPU/mad-mix-lo-bf16.ll
+3-3llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+170-1705 files

LLVM/project 668134ellvm/include/llvm/DebugInfo/GSYM GsymReader.h FunctionInfo.h, llvm/lib/DebugInfo/GSYM FunctionInfo.cpp GsymReader.cpp

[gsymutil] Add `--statistics` option (#186495)

# Motiviation

Currently, if one wants to know the size of the sections in a gSYM (e.g.
to check if they exceed 4GB), they have to dump the whole gSYM in the
text form, then process that huge text to get the sizes.

# New option `--statistics[=<format>]`

This patch adds a `llvm-gsymutil --statistics[=<format>]` option to
print the size info for all sections. It supports three formats:
* `text`: Default.
* `json`: Dense JSON.
* `pretty-json`: Pretty-printed JSON.

See example output below.

# Examples

    [67 lines not shown]
DeltaFile
+397-0llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
+204-0llvm/lib/DebugInfo/GSYM/GsymReader.cpp
+79-0llvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
+38-0llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h
+25-0llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
+18-0llvm/include/llvm/DebugInfo/GSYM/GsymReader.h
+761-03 files not shown
+776-09 files

OpenBSD/src 2IaC4Qzusr.sbin/npppd/npppd lcp.c

   Fix LCP MRU option handing.  Pointed out by Arthur Chan.

   ok mvs deraadt
VersionDeltaFile
1.19+4-6usr.sbin/npppd/npppd/lcp.c
+4-61 files