OPNSense/plugins 11991d0 — net/firewall-legacy Makefile pkg-descr, net/firewall-legacy/src/www firewall_rule_lookup.php

net/firewall-legacy: Add firewall_rule_lookup.php
DeltaFile
+67-0net/firewall-legacy/src/www/firewall_rule_lookup.php
+4-0net/firewall-legacy/pkg-descr
+1-1net/firewall-legacy/Makefile
+72-13 files

FreeBSD/src ced5806 — sys/dev/pci pci.c

pci: Accept D3hot in pci_set_powerstate_method()

Since D3 was split into D3hot and D3cold, PCI_POWERSTATE_D3 is D3cold
and the switch rejects D3hot with EINVAL.  Devices whose _SxD is 3
(D3hot) then stay in D0 on suspend, and acpi_pci skips their ACPI
transition.  LinuxKPI pci_set_power_state(PCI_D3hot) fails the same way.

The PM register has a single D3 state, so write it for both.

Reviewed by:    kbowling
Approved by:    kbowling
Fixes:          84bbfc32a3f4 ("acpi_powerres: D3cold support")
MFC after:      1 week
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/111
DeltaFile
+7-4sys/dev/pci/pci.c
+7-41 files

FreeBSD/ports 979994b — dns/py-pycares Makefile distinfo, dns/py-pycares/files patch-pyproject.toml

dns/py-pycares: Update to 5.2.1

ChnageLog:      https://github.com/saghul/pycares/releases/tag/v5.1.0
                https://github.com/saghul/pycares/releases/tag/v5.2.0
                https://github.com/saghul/pycares/releases/tag/v5.2.1
Approved by:    hrs (mentor, blanket)
DeltaFile
+4-4dns/py-pycares/files/patch-pyproject.toml
+3-3dns/py-pycares/distinfo
+2-3dns/py-pycares/Makefile
+9-103 files

LLVM/project 5426281 — clang/lib/Basic/Targets Sparc.h Sparc.cpp, clang/test/Preprocessor predefined-arch-macros.c

[Sparc] Support 64-bit atomics in 32-bit V8+ code (#242578)

Implement 64-bit atomics for 32-bit SPARC when targeting V9 in V8+
mode, mirroring what GCC does:

- 64-bit atomic loads and stores use ldd/std (GCC's atomic_loaddi_1
  and atomic_storedi_1).
- 64-bit compare-and-swap packs the 32-bit halves into %g/%o
  registers, issues casx and splits the result back, using the same
  sequence as GCC's *atomic_compare_and_swapdi_v8plus. Only %g/%o
  registers are used for the 64-bit temporaries since those are the
  only registers whose upper halves are preserved under the V8+ ABI
  (GCC's "h" constraint / I64_REGS class, minus %o7, which holds the
  return address in leaf procedures). The pseudo is expanded after
  register allocation so no 64-bit value is spilled via a 32-bit slot.
- Other atomic RMW operations are expanded to cmpxchg loops.

The new %g/%o register class can allocate %o registers before %l0 is
used, which breaks the assumption behind the leaf procedure %i -> %o

    [22 lines not shown]
DeltaFile
+548-0llvm/test/CodeGen/SPARC/atomics-v8plus.ll
+62-6llvm/lib/Target/Sparc/SparcInstrInfo.cpp
+60-4llvm/lib/Target/Sparc/SparcISelLowering.cpp
+38-0clang/test/Preprocessor/predefined-arch-macros.c
+29-2clang/lib/Basic/Targets/Sparc.cpp
+21-6clang/lib/Basic/Targets/Sparc.h
+758-185 files not shown
+809-2411 files

FreeBSD/ports 7061053 — net-im/qTox Makefile

net-im/qTox: fix configure

PR:     301015
DeltaFile
+1-1net-im/qTox/Makefile
+1-11 files

LLVM/project 21ab24f — llvm/lib/Target/AMDGPU AMDGPUISelDAGToDAG.cpp

clang-format
DeltaFile
+2-2llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+2-21 files

LLVM/project 0e3c188 — flang/lib/Optimizer/CodeGen CodeGen.cpp

[flang][CodeGen] Fix narrowing conversion in genGEP call (#244972)

Fixes a -Wnarrowing error (unsigned -> int32_t) in the genGEP call using
kRankPosInBox, which breaks GCC -Werror builds (seen on the
flang-s390x-linux bot).
DeltaFile
+2-1flang/lib/Optimizer/CodeGen/CodeGen.cpp
+2-11 files

FreeBSD/src 53a850a — tools/build Makefile

tools/build: also stage machine/cpu_flags.h on powerpc

powerpc's machine/elf.h now includes machine/cpu_flags.h, but only elf.h
gets copied into the legacy include directory. Building world natively
on a powerpc host that doesn't have cpu_flags.h installed yet then fails
in libllvmminimal.

Reviewed by:    jhibbits
Fixes:          90bc40e26c61 ("powerpc: Split CPU flags into separate file...")
MFC with:       90bc40e26c61
Differential Revision:  https://reviews.freebsd.org/D61920
DeltaFile
+4-0tools/build/Makefile
+4-01 files

LLVM/project e71c284 — clang/lib/CIR/Dialect/IR CIRTypes.cpp, mlir/docs/DefiningDialects AttributesAndTypes.md

address review comments
DeltaFile
+75-27mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+100-0mlir/test/mlir-tblgen/dialect-initialize.td
+37-15mlir/docs/DefiningDialects/AttributesAndTypes.md
+31-16mlir/tools/mlir-tblgen/DialectGen.cpp
+22-2mlir/include/mlir/IR/DialectBase.td
+0-15clang/lib/CIR/Dialect/IR/CIRTypes.cpp
+265-75104 files not shown
+399-524110 files

LLVM/project 96ce87c — mlir/test/mlir-tblgen typedefs.td attrdefs.td, mlir/tools/mlir-tblgen DialectGen.cpp

address review comments
DeltaFile
+6-5mlir/tools/mlir-tblgen/DialectGen.cpp
+0-2mlir/test/mlir-tblgen/typedefs.td
+0-2mlir/test/mlir-tblgen/attrdefs.td
+6-93 files

LLVM/project 9d57c60 — mlir/docs/DefiningDialects AttributesAndTypes.md, mlir/include/mlir/IR TypeSupport.h AttributeSupport.h

[mlir][ODS] Generate hooks that register the attributes and types of a dialect

Dialects registered their generated attributes and types by expanding
`GET_ATTRDEF_LIST` (or `GET_TYPEDEF_LIST`) into the template arguments
of `addAttributes` (or `addTypes`).
This requires each and every type and attribute and their storage classes' to be defined at the callsite and is generally boilerplate that exists in most dialects.

This PR introduces a single registration hook that is generated by ODS and should be called from dialects' `initialize` method instead. The implementation of the hook now performs the registration.
The motivation and further advantage of this approach is that we can then also change the implementation of the registration method in ODS while keeping API compatibility. This is required for partitioning of attributes and types e.g. (https://github.com/llvm/llvm-project/pull/241935).

Docs have been updated to advise users to use the new registration method. However, no upstream dialect beyond the test dialect has been switched nor is the old method of registration planned to be deprecated as it is still useful in some contexts (e.g., extendible dialects or C++ defined types and attributes).

Co-authored-by: Claude <noreply at anthropic.com>
DeltaFile
+33-0mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+11-12mlir/docs/DefiningDialects/AttributesAndTypes.md
+13-0mlir/lib/IR/MLIRContext.cpp
+13-0mlir/include/mlir/IR/TypeSupport.h
+13-0mlir/include/mlir/IR/AttributeSupport.h
+10-0mlir/test/mlir-tblgen/typedefs.td
+93-124 files not shown
+106-2010 files

LLVM/project 7b81b6d — mlir/tools/mlir-tblgen DialectGenUtilities.h

forgotten header
DeltaFile
+1-0mlir/tools/mlir-tblgen/DialectGenUtilities.h
+1-01 files

LLVM/project 124884a — llvm/include/llvm/ADT APFloat.h, llvm/lib/Support APFloat.cpp

[APFloat] Support user defined bit conversions (#242370)

[APFloat] Support user provided conversion to/from bits

This change allows users to provide custom functions to convert to/from
bits.

- fltSemantics has function pointers for conversion and user provided
values of it are supported
- built-in semantics also use these instead of chained if, making the
code less repetitive and slightly faster
- APFloat/IEEFloat internals like types and ranges of significand,
mantissa etc. can only be accessed using FloatRepr interface so only
user defined bitcast functions will be affected by changes

Resubmitted https://github.com/llvm/llvm-project/pull/233961 / #240920
with fixes for GCC 7 and MSVC2019
DeltaFile
+410-354llvm/lib/Support/APFloat.cpp
+343-3llvm/unittests/ADT/APFloatTest.cpp
+93-64llvm/include/llvm/ADT/APFloat.h
+846-4213 files

LLVM/project a1b469d — llvm/test/CodeGen/WebAssembly llc-pipeline.ll, llvm/test/Transforms/SLPVectorizer/AArch64 fast-two-sum-operand-order.ll spillcost-hoisted-external-user.ll

Merge branch 'main' into users/zero9178/nvvm-dialect-op-partitions
DeltaFile
+442-0orc-rt/test/unit/bedrock/sys/posix/DlfcnLoaderAdapterTest.cpp
+425-0llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-hoisted-external-user.ll
+357-0llvm/test/Transforms/SLPVectorizer/AArch64/fast-two-sum-operand-order.ll
+220-0mlir/lib/Target/LLVMIR/Dialect/OpenACC/OpenACCToLLVMIRTranslation.cpp
+216-0orc-rt/lib/bedrock/sys/posix/DlfcnLoaderAdapter.cpp
+170-0llvm/test/CodeGen/WebAssembly/llc-pipeline.ll
+1,830-0296 files not shown
+6,693-1,232302 files

LLVM/project d0f04f2 — llvm/lib/CodeGen RegUsageInfoCollector.cpp PrologEpilogInserter.cpp, llvm/test/CodeGen/X86 preserve_most-disabled-csrs.ll

[CodeGen] Honor disabled and reserved CSRs in `getCalleeSavedRegs` (#241593)

Previously, `getCalleeSavedRegs` simply returned the unfiltered TRI CSRs
on its first invocation, even when it had already populated
`UpdatedCSRs`. And calling `disableCalleeSavedRegister` prior to
`getCalleeSavedRegs` initialized `UpdatedCSRs` without filtering out
user-reserved registers.

Additionally, both the prolog/epilog inserter for zeroing call used
registers, and the register usage collector queried
`TRI.getCalleeSavedRegs`, ignoring anything disabled with
`disableCalleeSavedRegister`.

All this led to miscompiles:
https://cpp.compiler-explorer.com/z/rKdcnq7oP

Fixed by correctly returning `UpdatedCSRs` from MRI's
`getCalleeSavedRegs`, filtering user-reserved registers when populating
it, and changing the places to call it rather than TRI.

Assisted-by: Antigravity with Gemini
DeltaFile
+85-0llvm/test/CodeGen/X86/preserve_most-disabled-csrs.ll
+3-2llvm/lib/CodeGen/MachineRegisterInfo.cpp
+1-1llvm/lib/CodeGen/RegUsageInfoCollector.cpp
+1-1llvm/lib/CodeGen/PrologEpilogInserter.cpp
+90-44 files

LLVM/project 86ca1b8 — clang/lib/Basic/Targets Sparc.cpp, clang/test/Preprocessor predefined-arch-macros.c

[clang][Sparc] Define _SOFT_FLOAT instead of SOFT_FLOAT (#245137)

With -msoft-float, Clang defined SOFT_FLOAT to 1. GCC defines
_SOFT_FLOAT, and SOFT_FLOAT is not in the reserved namespace. Do what
GCC does.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+17-0clang/test/Preprocessor/predefined-arch-macros.c
+1-1clang/lib/Basic/Targets/Sparc.cpp
+18-12 files

OPNSense/tools d59571f — . Makefile, composite util.sh

composite: fix a problem with recursed VERBOSE=1 use

eval would pick up the cd .. echoed by make on stdout
instead of stderr, causing commits to run twice and
breaking subsequent runs of the print target.  Instead
of retaining the command echo on stderr we simply remove
that feature since debugging the make launch into the
build and composite scripts is not something we need
to debug a lot.
DeltaFile
+3-6Makefile
+0-1composite/util.sh
+3-72 files

LLVM/project fa48ebf — clang/include/clang/CIR/Dialect/IR CIRDialect.td, clang/test/CIR/Tools cir-offload-merge.cir

[CIR] Add a split mode to cir-offload-merge

Write each module of an offload container to its own file, named after
the driver's offload files (<stem>-<kind>-<triple>.cir). Combine keeps
the original module name in cir.offload.source_name so split can give
back the modules as they were before combine.
DeltaFile
+123-6clang/tools/cir-offload-merge/cir-offload-merge.cpp
+83-7clang/test/CIR/Tools/cir-offload-merge.cir
+1-0clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+207-133 files

LLVM/project 1120314 — llvm/lib/Transforms/Scalar LoopUnrollPass.cpp, llvm/test/Transforms/LoopUnroll/AMDGPU uniform-trip-count-shared-scev.ll

[LoopUnroll] Avoid revisiting shared SCEVs in uniformity checks (#244318)

Checking whether a backedge count is uniform can take exponential time
when its SCEV contains shared subexpressions. Use SCEVExprContains to
visit each node once.

LoopUnroll only checks backedge count uniformity for targets with branch
divergence. The regression test uses AMDGPU to exercise that check.

Assisted-by: OpenAI Codex
DeltaFile
+34-0llvm/test/Transforms/LoopUnroll/AMDGPU/uniform-trip-count-shared-scev.ll
+6-10llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+40-102 files

OPNSense/core 506be46 — src/opnsense/mvc/app/controllers/OPNsense/Diagnostics FirewallController.php

Ensure plugin provided references are local uris
DeltaFile
+6-2src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/FirewallController.php
+6-21 files

OPNSense/src 07b0fce — sys/netgraph ng_ether.c

ng_ether: restore promisc from classification

Reclassify frames returned through the upper hook before passing
them to ether_demux(). This prevents foreign unicast frames
from reaching upper protocol layers while preserving CARP
destination handling.
DeltaFile
+23-0sys/netgraph/ng_ether.c
+23-01 files

OpenBSD/ports YBdfpyU — sysutils/google-cloud-sdk Makefile distinfo

   Update to google-cloud-sdk-594.0.1.
VersionDeltaFile
1.465+2-2sysutils/google-cloud-sdk/distinfo
1.485+1-1sysutils/google-cloud-sdk/Makefile
+3-32 files

OpenBSD/ports nwAc9D5 — graphics/openexr Makefile distinfo

   Update to openexr-3.5.5.
VersionDeltaFile
1.59+2-2graphics/openexr/distinfo
1.99+1-1graphics/openexr/Makefile
+3-32 files

OpenBSD/ports 3Be6irZ — x11/gnome/showtime Makefile distinfo, x11/gnome/showtime/pkg PLIST

   Update to showtime-50.1.1.
VersionDeltaFile
1.6+17-0x11/gnome/showtime/pkg/PLIST
1.5+2-2x11/gnome/showtime/distinfo
1.9+1-2x11/gnome/showtime/Makefile
+20-43 files

OpenBSD/ports xEihszs — x11/gnome/maps Makefile distinfo, x11/gnome/maps/pkg PLIST

   Update to gnome-maps-51.3.
VersionDeltaFile
1.98+2-2x11/gnome/maps/distinfo
1.133+1-1x11/gnome/maps/Makefile
1.41+2-0x11/gnome/maps/pkg/PLIST
+5-33 files

OpenBSD/ports O5PQNR2 — x11/gnome/orca Makefile distinfo, x11/gnome/orca/pkg PLIST

   Update to orca-51.2.
VersionDeltaFile
1.63+37-4x11/gnome/orca/pkg/PLIST
1.107+2-2x11/gnome/orca/distinfo
1.171+1-1x11/gnome/orca/Makefile
+40-73 files

OpenBSD/src 9wBSmK0 — usr.bin/tmux screen.c tmux.h

   Grow extended cell array geometrically, GitHub issue 5853 from Andrea
   Cappuccio.
VersionDeltaFile
1.168+33-5usr.bin/tmux/grid.c
1.442+3-3usr.bin/tmux/format.c
1.1495+3-1usr.bin/tmux/tmux.h
1.110+2-1usr.bin/tmux/screen.c
+41-104 files

NetBSD/pkgsrc ye7hc1x — net/arp-scan distinfo, net/arp-scan/patches patch-configure

   arp-scan: fix build with on -current

   From Tyto Strix in PR 61049.
VersionDeltaFile
1.4+55-2net/arp-scan/patches/patch-configure
1.8+2-2net/arp-scan/distinfo
+57-42 files

OpenBSD/ports ZfS7Z87 — x11/gnome/user-docs Makefile distinfo, x11/gnome/user-docs/pkg PLIST

   Update to gnome-user-docs-51.2.
VersionDeltaFile
1.67+1,526-0x11/gnome/user-docs/pkg/PLIST
1.87+2-2x11/gnome/user-docs/distinfo
1.107+1-1x11/gnome/user-docs/Makefile
+1,529-33 files

NetBSD/pkgsrc iQXAVQX — biology/sra-tools distinfo, biology/sra-tools/patches patch-ncbi-vdb_libs_kfg_CMakeLists.txt patch-ncbi-vdb_build_env.cmake

   sra-tools: fix build with cmake 4.5

   While here, add a patch to fix build on NetBSD.
VersionDeltaFile
1.1+29-0biology/sra-tools/patches/patch-ncbi-vdb_libs_klib_unix_systime.c
1.4+16-5biology/sra-tools/patches/patch-build_env.cmake
1.1+15-0biology/sra-tools/patches/patch-ncbi-vdb_libs_kfg_CMakeLists.txt
1.1+15-0biology/sra-tools/patches/patch-ncbi-vdb_build_env.cmake
1.5+5-2biology/sra-tools/distinfo
+80-75 files