FreeBSD/src f19206c — sys/dev/acpica acpi_spmc.c

acpi_spmc: Make Intel device-specific state optional

The Intel Low Power S0 Idle _DSM specification marks the minimum
device-specific state of a constraint package as optional, and its own
example returns {0xFF, 0}.  Requiring three elements rejected such
constraints, with one boot message each.

Reviewed by:    olce
Approved by:    olce
Fixes:          508efe35e577 ("acpi_spmc: Check Intel constraint packages")
Pull Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/134
DeltaFile
+4-2sys/dev/acpica/acpi_spmc.c
+4-21 files

LLVM/project 4ba06ec — clang/include/clang/Basic Diagnostic.h, clang/include/clang/Sema Sema.h

[clang] Make documentation warnings faster with --warning-suppression-mappings= (#244714)

...when the warning suppression mapping does not modify documentation
warnings.

Sema::areDocumentationDiagsEnabled() used to always go into the
sourceloc-dependent slow path if --warning-suppression-mappings= was
used.

Instead, only go down the slow path if the warning suppression mappings
actually modify documentation warning diags.

Reorder the existing code a bit to make sure this new logic can't get out
of sync with the existing logic, and make DiagSuppressionMapping a
unique_ptr to a pImpl instead of a functor to give easy access to its keys.

For 119 Chromium TUs drawn with probability proportional to their
compile time in a build of `chrome`:


    [6 lines not shown]
DeltaFile
+40-35clang/lib/Basic/Diagnostic.cpp
+28-5clang/lib/Sema/Sema.cpp
+17-0clang/test/Sema/warn-documentation-suppression-mappings.cpp
+9-5clang/include/clang/Basic/Diagnostic.h
+7-0clang/include/clang/Sema/Sema.h
+4-0clang/test/Sema/Inputs/documentation-suppression-mapping.txt
+105-451 files not shown
+108-457 files

LLVM/project 1f10346 — llvm/lib/Target/X86/GISel X86InstructionSelector.cpp, llvm/test/CodeGen/X86/GlobalISel select-ext-x86-64.mir select-ext.mir

[X86][GlobalISel] Use a class with sub_8bit for G_ZEXT from s1 (#245181)

selectZext lowers G_ZEXT from s1 to an INSERT_SUBREG of IMPLICIT_DEF
followed by an AND. The INSERT_SUBREG result used the full destination
class, but in 32-bit mode only some registers have 8-bit subregisters,
and in 64-bit mode GR64 includes RIP which has none. TwoAddress turns the
INSERT_SUBREG into a sub_8bit def of that register, which fails machine
verification with "Invalid subregister index for virtual register".

Use getSubClassWithSubReg to pick a class that supports sub_8bit.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+4-4llvm/test/CodeGen/X86/GlobalISel/select-ext.mir
+5-3llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
+2-2llvm/test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir
+11-93 files

LLVM/project b7edddc — offload/include/Shared Debug.h

[offload][debug] Add REPORT_WARN and REPORT_FATAL macros

Add two new macros in the same style as REPORT(). REPORT_WARN prints a warning,
while REPORT_FATAL prints a fatal error and aborts the program.

Assisted-by: Claude Sonnet 5.5
DeltaFile
+42-8offload/include/Shared/Debug.h
+42-81 files

LLVM/project bb32487 — llvm/lib/Target/X86/GISel X86InstructionSelector.cpp, llvm/test/CodeGen/X86/GlobalISel select-ext-x86-64.mir select-ext.mir

[X86][GlobalISel] Use INSERT_SUBREG of IMPLICIT_DEF for any-extensions (#242335)

G_ANYEXT, the any-extension of copies into wider physical registers
generated by ABI lowering, and the any-extension of a 16-bit GPR copied
to an XMM register were all selected to SUBREG_TO_REG. SUBREG_TO_REG
means that the instruction defining the source register also defined
the other bits of the wider register, which is not true for 8-bit and
16-bit x86 operations, or for copies of 32-bit values from physical
registers. Use INSERT_SUBREG into an IMPLICIT_DEF instead, which leaves
the other bits undefined, as SelectionDAG does for any-extensions.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+28-9llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
+12-8llvm/test/CodeGen/X86/GlobalISel/select-ext.mir
+3-2llvm/test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir
+43-193 files

LLVM/project 24d9325 — llvm/lib/Transforms/Scalar MemCpyOptimizer.cpp, llvm/test/Transforms/MemCpyOpt merge-with-interleaving-calls.ll

[MemCpyOpt] Fix miscompile with diverging calls between memory operations (#245241)
DeltaFile
+83-0llvm/test/Transforms/MemCpyOpt/merge-with-interleaving-calls.ll
+4-2llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
+87-22 files

NetBSD/pkgsrc-wip c9a16d1 — openssl options.mk buildlink3.mk, openssl/patches patch-util_perl_OpenSSL_config.pm

openssl: upgrade candidate to 4.1.0
DeltaFile
+6,820-0openssl/PLIST
+252-0openssl/builtin.mk
+163-0openssl/Makefile
+47-0openssl/patches/patch-util_perl_OpenSSL_config.pm
+26-0openssl/buildlink3.mk
+25-0openssl/options.mk
+7,333-04 files not shown
+7,377-110 files

pkgng/pkgng 17fa496 — . NEWS, libpkg pkg.h.in pkg_jobs.c

install|upgrade: tell that --fetch-only only downloads

The summary of a --fetch-only operation was the one of a real operation:
it asked to proceed with "this action" and announced the space which would
be freed or required, although nothing is installed, upgraded or removed
and only the packages are downloaded.

Say so in the summary, ask to proceed with the download, and leave the
space announcement out.  Add pkg_jobs_get_flags(), the counterpart of
pkg_jobs_set_flags(), to let the frontend know about the flags of the
jobs.

Reported in #2716.
DeltaFile
+74-1tests/frontend/upgrade.sh
+15-3src/utils.c
+6-0libpkg/pkg_jobs.c
+4-0libpkg/pkg.h.in
+4-0NEWS
+103-45 files

pkgng/pkgng 75df1ca — . NEWS, libpkg utils.c

install: resolve the ownership in the root directory

The users and groups of a package were resolved with getpwnam(3) and
getgrnam(3), which read the database of the host: a file declared as
belonging to a user of the root directory pkg installs into was given the
id the host knows for that name, or 0 when the host does not know it at
all, so the files were not owned by their user in the target.

Read the user and group databases of the root directory instead when pkg
installs into one, and keep resolving on the host when the files are not
there or do not carry the name.  pkg check, which resolves the names the
same way, compares against the right ids too.

Reported in #2179.
DeltaFile
+58-0libpkg/utils.c
+44-1tests/frontend/extract.sh
+4-0NEWS
+106-13 files

pkgng/pkgng 9055904 — . NEWS, docs pkg.conf.5

fetch: retry a transfer which fails in the middle

Only the connection set up was retried, FETCH_RETRY times per server, so a
connection which died in the middle of a large package aborted the whole
transaction and the bytes already downloaded were dropped.

Retry the transfer itself, the same number of times, resuming the package
where it stopped: the archives are opened for appending and the request is
ranged, which is the mechanism already used to resume a package left over
by an interrupted run.

Reported in #2786.
DeltaFile
+119-2tests/frontend/http.sh
+25-2libpkg/fetch.c
+3-0NEWS
+2-0docs/pkg.conf.5
+149-44 files

OPNSense/core a10dce5 — src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api FirewallController.php, src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api AliasController.php

fix merge artifact, move refresh action into generic layer and comment on cache flushing of pfTop action
DeltaFile
+31-1src/opnsense/www/js/opnsense_bootgrid.js
+0-22src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+1-20src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+1-8src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasController.php
+5-0src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/FirewallController.php
+38-515 files

FreeBSD/src 3fe8d76 — sys/geom geom_ctl.c

geom: Restore group operator

Traditionally, in BSD, the operator group has been intended for backup
operators and has been granted read-only access to disks and related
devices.  This includes geom.ctl, because backup operators need to be
able to dump partition tables.

Unfortunately, the geom.ctl device previously lacked proper access
control, and anyone with read access to it was able to modify GEOM
configuration, including modifying or destroying partitions, RAID
volumes, etc.  As a workaround, the ownership of geom.ctl was changed to
root:wheel so that only users who presumably already have root
privileges were able to access it.

Now that access control has been implemented, we can restore the
original ownership so backup operators can once more dump partition
tables.

This reverts commit 7d576f1d657fc21f97cedc28cc971621ee2490a7.
DeltaFile
+1-1sys/geom/geom_ctl.c
+1-11 files

LLVM/project f838efa — llvm/lib/Transforms/Vectorize LoopVectorizationLegality.cpp

[LV] Fix a read after move (#245589)

Sink the move to be last - now `RedDes` is first being asserted and only
lastly moved from.
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+1-11 files

LLVM/project 40c2fe3 — clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/test/CIR/CodeGen fast-math-constrained.c pragma-fenv_access.c

[CIR] Shorten the #cir.fenv parameter names

Rename the #cir.fenv parameters dynamic_rounding_mode, except_mode and
strict_except to rounding, except and strict, so a constrained op prints as
fenv<rounding = tonearest, except = unknown, strict = true>. The fields stay
optional with the same meaning and defaults; the OrDefault helpers follow the
new getter names. No functional change.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+392-392clang/test/CIR/CodeGen/pragma-fenv_access.c
+58-58clang/test/CIR/Lowering/fenv.cir
+54-54clang/test/CIR/IR/fenv.cir
+24-24clang/test/CIR/CodeGen/fast-math-constrained.c
+20-24clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+16-17clang/unittests/CIR/FenvOpTest.cpp
+564-56922 files not shown
+656-66328 files

LLVM/project 95e8abe — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/Transforms complex-fenv-effects.cir

[CIR] Give complex FP add/sub the fenv memory effects

cir.complex.fadd and cir.complex.fsub were Pure even with a constrained
fenv attribute, so they could be speculated or erased like unconstrained
ops. Derive them from CIR_FenvOp, as the other fenv ops are: constrained
ops read and write the FP environment and are only conditionally
speculatable, unconstrained ops stay effect-free.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+26-0clang/test/CIR/Transforms/complex-fenv-effects.cir
+3-4clang/include/clang/CIR/Dialect/IR/CIROps.td
+29-42 files

OpenBSD/ports XIXqa6Y — geo/geos distinfo Makefile

   geo/geos: update to 3.15.1
VersionDeltaFile
1.33+2-2geo/geos/distinfo
1.55+2-2geo/geos/Makefile
+4-42 files

OpenBSD/ports Aja72lF — geo/gpxsee Makefile distinfo

   geo/gpxsee: update to 16.20
VersionDeltaFile
1.54+2-2geo/gpxsee/distinfo
1.56+1-1geo/gpxsee/Makefile
+3-32 files

LLVM/project 270a7d6 — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/Disassembler MipsDisassembler.cpp

[ASM 1][nanoMIPS] Add basic disassembler support
DeltaFile
+150-5llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
+133-0llvm/test/MC/Mips/nanomips/valid.s
+24-0llvm/test/MC/Mips/crc/valid-nanomips.s
+11-0llvm/test/MC/Mips/ginv/valid-nanomips.s
+6-0llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+2-1llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
+326-66 files

LLVM/project bc19637 — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/MCTargetDesc MipsInstPrinter.cpp

[ASM 1][nanoMIPS] Add basic operand print methods
DeltaFile
+255-0llvm/test/MC/Mips/nanomips/valid.s
+45-3llvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
+18-0llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+7-7llvm/test/CodeGen/Mips/nanomips/32bit-system.mir
+6-6llvm/test/CodeGen/Mips/nanomips/16bit.mir
+5-5llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+336-212 files not shown
+342-238 files

LLVM/project a83e28f — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/AsmParser MipsAsmParser.cpp

[ASM 1][nanoMIPS] Add basic assembler support
DeltaFile
+419-57llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+299-0llvm/test/MC/Mips/nanomips/valid.s
+175-18llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+142-0llvm/test/MC/Mips/nanomips/cp0sel-names.s
+33-0llvm/test/MC/Mips/crc/invalid-nanomips.s
+20-8llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
+1,088-838 files not shown
+1,140-9114 files

LLVM/project e5bc2da — llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.prefetch.ll

[AMDGPU] Expand AS6 prefetch addresses during selection (#245568)

Keep 32-bit constant addresses through SelectionDAG lowering so the
scalar prefetch selector can fold nonwrapping offsets. Widen the address
after any wrapping arithmetic has completed.

Assisted by: GPT 6.2-Sol
DeltaFile
+205-0llvm/test/CodeGen/AMDGPU/llvm.prefetch.ll
+1-10llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+206-102 files

LLVM/project f21ac29 — llvm/lib/Target/Mips MipsRegisterInfo.td NanoMipsInstrInfo.td, llvm/lib/Target/Mips/MCTargetDesc MipsMCCodeEmitter.h MipsMCCodeEmitter.cpp

[ASM 1][nanoMIPS] Add register and immediate encodings
DeltaFile
+121-0llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
+32-7llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+33-0llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h
+2-2llvm/test/CodeGen/Mips/nanomips/48bit.mir
+2-2llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+2-0llvm/lib/Target/Mips/MipsRegisterInfo.td
+192-116 files

LLVM/project fb4a330 — llvm/lib/Target/Mips MicroMipsDSPInstrFormats.td MicroMipsInstrFormats.td, llvm/lib/Target/Mips/AsmParser MipsAsmParser.cpp

[ASM 1][nanoMIPS] Name the asm parser variant and tag Mips instruction classes
DeltaFile
+8-1llvm/lib/Target/Mips/Mips.td
+6-2llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+5-0llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
+3-1llvm/lib/Target/Mips/MipsInstrInfo.td
+2-0llvm/lib/Target/Mips/MicroMipsInstrFormats.td
+1-0llvm/lib/Target/Mips/MicroMipsDSPInstrFormats.td
+25-43 files not shown
+28-49 files

LLVM/project f9af0a5 — llvm/test/CodeGen/Mips/nanomips 48bit.mir 32bit-branch.mir

[ASM 1][nanoMIPS] Print ABI register names for P32
DeltaFile
+56-56llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+54-54llvm/test/CodeGen/Mips/nanomips/32bit-load-store.mir
+35-35llvm/test/CodeGen/Mips/nanomips/16bit.mir
+20-20llvm/test/CodeGen/Mips/nanomips/32bit-system.mir
+19-19llvm/test/CodeGen/Mips/nanomips/32bit-branch.mir
+7-7llvm/test/CodeGen/Mips/nanomips/48bit.mir
+191-1913 files not shown
+204-1959 files

LLVM/project 0f6ed96 — clang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP declare_variant_member_call_codegen.cpp

[Clang][OpenMP] Fix declare variant calls to member functions

When a declare variant is selected for a call to a member function,
ActOnOpenMPCall built the call to the variant from the original call
treated as a CXXMemberCallExpr, through a '.' MemberExpr. That is wrong
in two ways:

- A call to a member function is not always a CXXMemberCallExpr. Calls
  to static member functions, and member calls in a template (even with
  non-dependent arguments), are CallExprs with a MemberExpr callee.
  The existing dereference of a CXXMemberCallExpr would crash on e.g.:

    template <typename T> struct CT {
      void m_v(T);
      #pragma omp declare variant(m_v) match(user = {condition(1)})
      void m(T);
      void use(T t) { m(t); }
    };


    [6 lines not shown]
DeltaFile
+104-0clang/test/OpenMP/declare_variant_member_call_codegen.cpp
+14-5clang/lib/Sema/SemaOpenMP.cpp
+118-52 files

LLVM/project b2e8f76 — clang/include/clang/AST StmtOpenMP.h, clang/lib/CodeGen CGStmtOpenMP.cpp

[Clang][OpenMP] Add code generation for the dispatch construct

I had previously made a start on dispatch directive support (#126914)
but saw that another implementation was underway (#117904, then #131838)
so stopped to avoid duplicate effort.  Now it seems that the latter
effort stalled, so I've tried to synthesize the two patches together
into a new version (with Claude's help).

The resulting patch implements code generation for the 'dispatch'
construct, with its 'novariants', 'nocontext' and 'depend' clauses.
Other features ('device', 'adjust_args', 'append_args') are still TBD.

Sema builds the alternative forms of the associated statement
that the clauses select at run time, and stores them as children of
OMPDispatchDirective: one with the target-call replaced by a call to the
base function ('novariants'), and one with it replaced by the variant
selected without 'dispatch' ('nocontext'). Codegen emits the dispatch
region inline and selects between them:


    [9 lines not shown]
DeltaFile
+275-0clang/test/OpenMP/dispatch_codegen.cpp
+237-0clang/test/OpenMP/dispatch_clauses_codegen.cpp
+136-8clang/lib/Sema/SemaOpenMP.cpp
+80-0clang/lib/CodeGen/CGStmtOpenMP.cpp
+73-5clang/test/OpenMP/dispatch_unsupported.c
+51-1clang/include/clang/AST/StmtOpenMP.h
+852-1411 files not shown
+1,003-2317 files

LLVM/project ec2c531 — clang/include/clang/CIR/Dialect/IR CIRAttrs.td CIROps.td, clang/include/clang/CIR/Interfaces CIROpInterfaces.td

[CIR] Reject the empty fenv attribute

`#cir.fenv<>` with no parameter set was accepted, printed as `fenv<>` and
lowered to a constrained intrinsic, so an unconstrained operation had two
spellings. Give `#cir.fenv` a verifier that requires at least one
parameter, leaving a missing `fenv` attribute as the only way to say an
operation is unconstrained. An absent parameter takes its value in the
default FP environment (tonearest, masked, non-strict). Speculation,
lowering and VecFCmpOp::fold share one FenvAttr::canIgnoreExceptions()
check (masked and not strict): such ops are speculatable, lower to
fpexcept.ignore and fold, and a strict op stays fpexcept.strict even when
masked. Drop FPEnvConstrainedOpInterface, whose only user was FenvOpTrait,
and let the trait read the attribute from the concrete op. Add a
CIR_FenvOp base class carrying the fenv traits and argument, which the
fenv ops prepend their operands to.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+46-55clang/include/clang/CIR/Dialect/IR/CIROps.td
+21-23clang/unittests/CIR/FenvOpTest.cpp
+0-41clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+19-16clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+31-0clang/test/CIR/Transforms/vector-cmp-fold.cir
+9-9clang/test/CIR/IR/fenv.cir
+126-14410 files not shown
+182-18216 files

FreeNAS/freenas d2a5eb9 —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 8d9a1ac — src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/plugins/filesystem_ acl.py

NAS-145364 / 28.0.0-BETA.1 / middleware: strengthen path handling (#20280)

Paths that an unprivileged user may control are opened with safe_open,
safe_open_raw and safe_makedirs from truenas_os_pyutils, which refuse a
symlink anywhere in the path, and a FIFO, socket or device node before
opening it.

- rsync: create and chown ~/.ssh/known_hosts through symlink-refusing
fds; cap the known_hosts read at 4 MiB
- ssh-keyscan: pass "--" before the host
- user: read authorized_keys with safe_open, capped at 1 MiB; unlink it
through a symlink-free .ssh fd
- filesystem.mkdir: chmod, rmdir and listxattr through fds; compare .ssh
by component
- NFS: refuse export paths that exportfs would rewrite
- nvmet: a FILE namespace must be a symlink-free regular file in a data
pool
- SMB: path_suffix and dataset_naming_schema must stay beneath the share
- filesystem.set_zfs_attributes: callers without FULL_ADMIN are limited

    [10 lines not shown]
DeltaFile
+118-0tests/api2/test_path_safety.py
+55-33src/middlewared/middlewared/plugins/nvmet/namespace.py
+53-33src/middlewared/middlewared/plugins/filesystem.py
+42-25src/middlewared/middlewared/utils/libvirt/cdrom.py
+21-45src/middlewared/middlewared/utils/filesystem/directory.py
+16-33src/middlewared/middlewared/plugins/filesystem_/acl.py
+305-16919 files not shown
+524-22125 files

OpenBSD/src kmJniWU — sys/uvm uvm_glue.c

   Take the reference of foreign process's vmspace. The concurent exec
   can destroy `ps_vmspace' during sleep.

   ok kirill
VersionDeltaFile
1.96+13-5sys/uvm/uvm_glue.c
+13-51 files