FreeBSD/src ad99329sys/x86/cpufreq hwpstate_amd.c

hwpstate: Add CPPC enable tunable

The Framework 13 runs very hot the maximum frequency is possible. By
disabling CPPC (reverting to Cool`n'Quiet 2.0) we can use powerd to
limit the CPU frequency to 2200, thereby reducing the CPU temperature.

Some systems may run slower with CPPC enabled. See PR/292615 for that
bug.

Those experiencing either of these issues may add the following to
their loader.conf or device.hints to disable CPPC:

machdep.hwpstate_amd_cppc_enable="0"

PR:                     292615
Reviewed by:            lwhsu, olce
Differential revision:  https://reviews.freebsd.org/D54803
DeltaFile
+7-1sys/x86/cpufreq/hwpstate_amd.c
+7-11 files

LLVM/project 2036bc5llvm/include/llvm/IR IRBuilder.h, llvm/lib/IR IRBuilder.cpp

[IR] Update IRBuilder::createVectorSplice to allow variable offsets (#177178)

Following on from #174693, this updates IRBuilder to allow variable
offsets, and splits the createVectorSplice function into two functions
for left and right splices.

We could preserve the existing createVectorSplice API but given there's
only one LLVM-internal user of it in the loop vectorizer, and the notion
of a negative offset doesn't exist in the intrinsics anymore, I've
removed it. Happy to add it back if reviewers prefer though.

I've also added unit tests since createVectorSpliceLeft has no coverage
otherwise.
DeltaFile
+36-24llvm/lib/IR/IRBuilder.cpp
+58-0llvm/unittests/IR/IRBuilderTest.cpp
+21-9llvm/include/llvm/IR/IRBuilder.h
+1-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+116-344 files

NetBSD/src ZPbdw4Dexternal/cddl/osnet/dev/sdt sdt.c

   dtrace_sdt: Don't ignore the first stack frame in sdt probes.

   The aframes argument to dtrace_probe_create gives the number of stack
   frames that are ignored in stack(), the first frame of which is
   `caller'.

   This is for, e.g., profiler interrupts where the interrupt frame
   itself isn't interesting; it's the code that was interrupted that was
   interesting (hence profile_aframes = PROF_ARTIFICIAL_FRAMES is often
   nonzero, or even several frames deep).

   But for sdt, the direct caller is the interesting part -- when we
   have something like:

   foo()
   {
        ...
        bar();
        ...

    [13 lines not shown]
VersionDeltaFile
1.25+2-2external/cddl/osnet/dev/sdt/sdt.c
+2-21 files

FreeBSD/ports 84e27e0misc/gitlogue distinfo Makefile.crates

misc/gitlogue: Update to 0.7.0

Add noto-emoji font as runtime dependency.

Changelog: https://github.com/unhappychoice/gitlogue/releases/tag/v0.7.0

PR:             292506
Approved by:    submitter is maintainer
DeltaFile
+187-73misc/gitlogue/distinfo
+92-35misc/gitlogue/Makefile.crates
+2-2misc/gitlogue/Makefile
+281-1103 files

LLVM/project 017c009orc-rt/unittests EndianTest.cpp

Revert "[orc-rt] Update another unittest to use orc-rt/bit.h functions. (#177…"

This reverts commit e838f27e0f3f417e3963992c9591d412b621cd4c.
DeltaFile
+1-1orc-rt/unittests/EndianTest.cpp
+1-11 files

LLVM/project e838f27orc-rt/unittests EndianTest.cpp

[orc-rt] Update another unittest to use orc-rt/bit.h functions. (#177303)

Unit test was mistakenly using an `llvm::` function.

Thanks to @jaredwy for spotting this!
DeltaFile
+1-1orc-rt/unittests/EndianTest.cpp
+1-11 files

NetBSD/src PtlbNKUlib/libc/gen directory.3

   directory(3): caveats for seekdir.

   - If the directory being read is altered, past telldir results are
     (potentially) invalidated. Don't promise that they'll work.

   - There is no way to detect failure. (It returns void, and while it
     may set errno, the main failure path in the actual implementation
     does not, so even setting errno to 0 beforehand doesn't work.)

   Fix a typo elsewhere while passing through. Bump date.
VersionDeltaFile
1.44+10-3lib/libc/gen/directory.3
+10-31 files

NetBSD/pkgsrc H4vyYiyx11/xorgproto builtin.mk

   xorgproto: teach builtin.mk about version 2025.1
VersionDeltaFile
1.10+2-1x11/xorgproto/builtin.mk
+2-11 files

NetBSD/pkgsrc kAHPtxttextproc/expat builtin.mk

   expat: teach builtin.mk about version 2.7.3
VersionDeltaFile
1.26+9-6textproc/expat/builtin.mk
+9-61 files

LLVM/project 1bc3133flang/lib/Optimizer/OpenMP MapInfoFinalization.cpp, flang/lib/Utils OpenMP.cpp

[Flang][MLIR][OpenMP] Add distinct var_ptr_ptr_type to omp.map.info operations

This is a precursor patch to attach and ref_ptr/ptee mapping that I intend to upstream
over the next few weeks. The attach maps require both the type of the descriptor and
the pointed to data to calculate the appropriate offload/base pointers and size. In
the base case of ref_ptr_ptee all of this information can be gathered from the pointer
and pointee maps, but in cases where we have only one (i.e. ref_ptr/ref_ptee) we will
be missing one of the key elements required to create an corresponding attach map.

So, this PR basically adds the ability to ferry around the type of both var_ptr and
var_ptr_ptr as opposed to just var_ptr, then we can emit attach maps as seperate
map.info's that carry all the pre-requisite informaion for lowering to LLVM-IR. But,
otherwise it seems reasonable to have var_ptr_ptr mirror var_ptr in all aspects for
consistency.
DeltaFile
+25-16flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+18-11mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+18-11flang/lib/Utils/OpenMP.cpp
+14-14flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
+19-5mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+11-11flang/test/Transforms/omp-map-info-finalization.fir
+105-6837 files not shown
+192-14943 files

FreeNAS/freenas 946e587src/middlewared/middlewared/utils tdb.py

Fix typo
DeltaFile
+1-1src/middlewared/middlewared/utils/tdb.py
+1-11 files

LLVM/project 42a6ca2flang/lib/Lower/OpenMP ClauseProcessor.cpp, flang/test/Lower/OpenMP attach-and-ref-modifier.f90

[Flang][OpenMP][MLIR] Add attach and ref map type lowering to MLIR

This doesn't implement the functionality, just the relevant map type
lowering to MLIR's omp.map.info. The more complicated changes to
MapInfoFinalizationPass.cpp and OpenMPTOLLVMIRTranslation.cpp to support
attach map and the various ref/attach semantics will come in a subsequent
set of PRs. This just helps compartmentalize the changeset.
DeltaFile
+63-0flang/test/Lower/OpenMP/attach-and-ref-modifier.f90
+29-2flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+0-9flang/test/Lower/OpenMP/Todo/attach-modifier.f90
+92-113 files

NetBSD/src jzkA2MDsys/ufs/ufs ufs_vnops.c ufs_acl.c

   ufs: Sprinkle SET_ERROR dtrace probes.

   PR kern/58378: Kernel error code origination lacks dtrace probes
VersionDeltaFile
1.264+83-82sys/ufs/ufs/ufs_vnops.c
1.7+51-50sys/ufs/ufs/ufs_acl.c
1.28+48-47sys/ufs/ufs/ufs_quota1.c
1.57+42-41sys/ufs/ufs/ufs_extattr.c
1.43+39-38sys/ufs/ufs/ufs_dirhash.c
1.120+29-28sys/ufs/ufs/ufs_quota.c
+292-2867 files not shown
+399-38713 files

NetBSD/src 9ifLp4Zsys/ufs/ufs ufs_vnops.c ufs_inode.c

   ufs: Sort includes.

   No functional change intended.

   Preparation for:

   PR kern/58378: Kernel error code origination lacks dtrace probes
VersionDeltaFile
1.263+27-25sys/ufs/ufs/ufs_vnops.c
1.113+15-13sys/ufs/ufs/ufs_inode.c
1.160+14-12sys/ufs/ufs/ufs_lookup.c
1.47+13-11sys/ufs/ufs/ufs_quota2.c
1.56+13-11sys/ufs/ufs/ufs_extattr.c
1.42+12-11sys/ufs/ufs/ufs_dirhash.c
+94-839 files not shown
+173-13815 files

FreeNAS/freenas 2fdc255src/middlewared/middlewared/plugins cache.py, src/middlewared/middlewared/utils tdb.py

Vacuum key-value store after clearing stale entries
DeltaFile
+13-2src/middlewared/middlewared/utils/tdb.py
+2-0src/middlewared/middlewared/plugins/cache.py
+15-22 files

LLVM/project d7d4786clang/www cxx_status.html

[NFC][clang] Mark P3034R1 as implemented (#177150)

Mark [P1857R3 Modules Dependency Discovery](https://wg21.link/p1857r3)
as implemented.
This paper was implemented in
https://github.com/llvm/llvm-project/pull/173789.

Signed-off-by: yronglin <yronglin777 at gmail.com>
DeltaFile
+1-1clang/www/cxx_status.html
+1-11 files

LLVM/project e98c327llvm/lib/Transforms/Vectorize VPlan.cpp, llvm/test/Transforms/LoopVectorize exact.ll tripcount.ll

capture weights
DeltaFile
+31-7llvm/lib/Transforms/Vectorize/VPlan.cpp
+30-3llvm/test/Transforms/LoopVectorize/exact.ll
+9-6llvm/test/Transforms/LoopVectorize/tripcount.ll
+70-163 files

LLVM/project 6149895orc-rt/unittests bit-test.cpp

[orc-rt] Actually test orc-rt/bit.h functions. (#177300)

The unit test was copied from a similar test in llvm, and was still
qualifying calls with 'llvm::'. This was unintended, but happened to
work because LLVM's bit.h is transitively included through LLVM's gtest
headers. Qualifying with 'orc_rt::' tests the intended functions.

Thanks to @jaredwy for spotting this!
DeltaFile
+46-46orc-rt/unittests/bit-test.cpp
+46-461 files

LLVM/project 1869b15lld/ELF MarkLive.cpp, lld/test/ELF why-live.test

[ELF] --why-live: Skip symbol at index 0 and section symbols, handle .eh_frame symbols (#177099)

Symbols of empty names can be matched by `--why-live='*'`, which are
generally not useful.

* The first entry in a symbol table (STB_LOCAL and undefined)
* `STT_SECTION` symbols (emitted by LLVM integrated assembler when
  needed by relocations). These input section symbols will be demoted by
  `demoteAndCopyLocalSymbols`, so technically not really live.
  In addition, such symbols of non-allocable sections currently lead to
  crashes: `whyLive` does not record the section, causing the second
  iteration of the `while (true)` loop in printWhyLive to call
  `std::get<Symbol *>(cur)` when `cur` is an `InputSectionBase *`.

In addition, handle GCC crtendS.o `__FRAME_END__`, which is defined
relative to a `.eh_frame` section created with
`__attribute__((used, section(".eh_frame")))`.

Fix #176890
DeltaFile
+44-0lld/test/ELF/why-live.test
+8-1lld/ELF/MarkLive.cpp
+52-12 files

LLVM/project b57dcffflang/lib/Optimizer/Transforms/CUDA CUFFunctionRewrite.cpp

[flang][cuda][NFC] Fix typo in header (#177299)

DeltaFile
+1-1flang/lib/Optimizer/Transforms/CUDA/CUFFunctionRewrite.cpp
+1-11 files

FreeBSD/ports 2831cbdchinese/librime distinfo Makefile

chinese/librime: update to 1.16.1.

PR:             292637
DeltaFile
+3-3chinese/librime/distinfo
+1-1chinese/librime/Makefile
+4-42 files

LLVM/project 564571fllvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp, llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp

Fix clang-format.
DeltaFile
+2-2llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+2-2llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+4-42 files

LLVM/project 8c8661elibcxx/include/__ranges subrange.h

[libc++][NFC] Reformat `subrange.h` (#177118)

As a pre-requisite to https://github.com/llvm/llvm-project/pull/176936
DeltaFile
+6-5libcxx/include/__ranges/subrange.h
+6-51 files

LLVM/project 503db98libcxx/include/__iterator wrap_iter.h

[libc++][NFC] Reformat `wrap_iter.h` (#177127)

As a pre-requisite to https://github.com/llvm/llvm-project/pull/172200
DeltaFile
+4-5libcxx/include/__iterator/wrap_iter.h
+4-51 files

LLVM/project f34d420llvm/include/llvm/CodeGen TargetLoweringObjectFileImpl.h, llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp

Set ADA section correctly.
DeltaFile
+8-9llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+12-3llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+2-2llvm/test/CodeGen/SystemZ/zos_sinit.ll
+1-2llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
+23-164 files

LLVM/project cbf5db8llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp, llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp SystemZAsmPrinter.h

Remove ADASym.
DeltaFile
+5-5llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+2-2llvm/test/CodeGen/SystemZ/zos_sinit.ll
+0-4llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+1-2llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
+8-134 files

LLVM/project 32a9da7llvm/include/llvm/CodeGen TargetLoweringObjectFileImpl.h, llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp

Remove separate ctor/dtor section functions and add getStaticXtorSection
DeltaFile
+4-5llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+1-6llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+2-4llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
+7-153 files

LLVM/project f845141llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp, llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp

Address review comments regarding sections, unused parameter/unnecessary code changes.
DeltaFile
+4-10llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+2-5llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+6-152 files

LLVM/project 01ff140llvm/include/llvm/CodeGen TargetLoweringObjectFileImpl.h, llvm/include/llvm/MC MCSectionGOFF.h

[SystemZ] Implement ctor/dtor emission via @@SQINIT and .xtor sections

This patch implements support for constructors/destructors by introducing the
@@SQINIT section and emitting .xtor.<priority> sections within the SystemZ
AsmPrinter and in the GOFF object lowering layer. Improvements to ADA descriptor
handling is also done within this change.
DeltaFile
+60-0llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+49-0llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+36-0llvm/test/CodeGen/SystemZ/zos_sinit.ll
+11-0llvm/include/llvm/MC/MCSectionGOFF.h
+4-1llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
+4-0llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
+164-11 files not shown
+165-17 files

LLVM/project 01f85f9llvm/include/llvm/MC MCSectionGOFF.h, llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp

Update test, movove ADA symbol, fix call to target independent emitXXStructorList
DeltaFile
+7-5llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+0-11llvm/include/llvm/MC/MCSectionGOFF.h
+0-2llvm/test/CodeGen/SystemZ/zos_sinit.ll
+7-183 files