FreeBSD/src 1da516f — sys/opencrypto cryptodev.c

cryptodev: Fix CIOCGSESSION32

session_op_from_32() already produces a struct session2_op, but the
request was then handled as CIOCGSESSION, so session2_op_from_op() was
called with overlapping source and destination and zeroed the request.

Fixes:          688f8b822cea ("Remove the cloned file descriptors for /dev/crypto.")
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61775
DeltaFile
+1-1sys/opencrypto/cryptodev.c
+1-11 files

FreeBSD/src 0594817 — sys/fs/procfs procfs_map.c

procfs: Release the vmspace reference when map reads fail

When a 32-bit process reads the map of a 64-bit process,
procfs_doprocmap() returned without calling proc_vmspace_unref(),
leaking a vmspace reference and leaving the target unable to exec.

Fixes:          5db31f1b47b5 ("procfs, linprocfs: ensure target process vmspace stability")
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+4-1sys/fs/procfs/procfs_map.c
+4-11 files

LLVM/project c4f3ac7 — llvm/lib/Target/AMDGPU SIInstrInfo.h SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU bug-pk-f32-imm-fold.mir mad-mix-bf16-t16-inline-imm.mir

AMDGPU: Fix immediate folds into bf16 and packed f32 operands (#248493)

On subtargets which read bf16 inline constants from the high half of
the fp32 constant, isOperandLegal accepted a bf16 floating-point inline
constant without op_sel in VOP3 sources and 16-bit mix instruction
sources. A mix instruction source is read as f32 unless op_sel_hi is
set.

SIFoldOperands worked around this for src0 only, and had separate
special cases for packed bf16 and packed f32 operands. Replace these
with one model in SIInstrInfo of the bits an immediate reads as and the
halves op_sel selects. A folded immediate must read the same value as
the register it replaces, choosing op_sel to preserve it.

There's an unfortunate amount of special casing based on instruction
type instead of operand kind. This starts fixing the isPacked special
cases, but there's a lot more to clean up.

Assisted-by: Claude
DeltaFile
+85-171llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+184-0llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+100-0llvm/test/CodeGen/AMDGPU/fold-bf16-inline-imm-op-sel.mir
+90-7llvm/test/CodeGen/AMDGPU/mad-mix-bf16-t16-inline-imm.mir
+27-0llvm/lib/Target/AMDGPU/SIInstrInfo.h
+19-0llvm/test/CodeGen/AMDGPU/bug-pk-f32-imm-fold.mir
+505-1786 files

LLVM/project aabab31 — flang/include/flang/Frontend CompilerInstance.h, flang/lib/Frontend CompilerInstance.cpp

rename func

Created using spr 2.0.0-beta.2
DeltaFile
+1-1flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+1-1flang/lib/Frontend/CompilerInstance.cpp
+1-1flang/include/flang/Frontend/CompilerInstance.h
+3-33 files

LLVM/project 1a858f1 — lldb/include/lldb/Interpreter/Interfaces ScriptedBreakpointInterface.h

[lldb] Return nullopt from ScriptedBreakpointInterface::GetShortHelp (#248504)

Fixes #247670

At least one compiler does not allow a nullptr->std::string->optional
path. Even if they all did, this method's uses imply that empty optional
should be the return value if you have nothing to return.
DeltaFile
+1-1lldb/include/lldb/Interpreter/Interfaces/ScriptedBreakpointInterface.h
+1-11 files

FreeNAS/freenas 820e843 —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas e3d8b39 — src/middlewared/middlewared/plugins account.py, src/middlewared/middlewared/plugins/account_ privilege.py

NAS-145583 / 27.1.0 / When locking a user account, use the common `before_user_deactivation` check instead of the copy-pasted condition (#20359)
DeltaFile
+34-0tests/api2/test_account.py
+4-13src/middlewared/middlewared/plugins/account.py
+7-0src/middlewared/middlewared/plugins/account_/privilege.py
+45-133 files

OpenBSD/src rxPU5hE — sys/dev/ic stifb.c

   Add underline support.
VersionDeltaFile
1.4+16-6sys/dev/ic/stifb.c
+16-61 files

FreeNAS/freenas 2041a55 — src/middlewared/middlewared job.py

NAS-145594 / 27.1.0 / Fix job queueing crash when already queued job has no credentials (#20370)

This was fixed in master by
https://github.com/truenas/middleware/pull/18430 but not backported
DeltaFile
+6-4src/middlewared/middlewared/job.py
+6-41 files

LLVM/project 334e83b — mlir/lib/Dialect/GPU/IR GPUDialect.cpp, mlir/test/Dialect/GPU ops.mlir

[mlir][gpu] Don't crash verifying a launch_func nested in an unregistered op (#245372)

LaunchFuncOp::verifySymbolUses asks SymbolTable::getNearestSymbolTable
for the table the launch should be resolved in, then calls
isa<GPUModuleOp> on the result. That helper returns null when it meets
an unregistered single-region op on the way up, because such an op might
itself be a symbol table. The isa then dereferences the null pointer and
mlir-opt --allow-unregistered-dialect segfaults.

With no known symbol table there is nothing to resolve the kernel
against, so return success in that case. This matches what the function
already does for launches that are nested deeper than a function
directly inside the container module (those are skipped as well), and
what ModuleToBinary does when it cannot find a table.

This is a regression from 67e47fb5317c (#173277): the old
verifyOperationAttribute walk resolved against the module being
verified, which is never null, and skipped any launch whose grandparent
was not that module. Recomputing the table from the launch is what made

    [3 lines not shown]
DeltaFile
+12-0mlir/test/Dialect/GPU/ops.mlir
+3-0mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
+15-02 files

OpenBSD/src X8u1CzE — share/man/man4 sti.4, share/man/man4/man4.hppa artist.4

   Better frame buffer driver for HP Artist (onboard 712) and Visualize EG
   (onboard B-class and some C-class, as well as PCI) devices, allowing proper
   (currently unaccelerated) X11 support, as well as color, underline and larger
   fonts in console.

   Ported from NetBSD.
VersionDeltaFile
1.1+901-0sys/arch/hppa/dev/artist.c
1.1+203-0sys/arch/hppa/dev/nglereg.h
1.1+52-0share/man/man4/man4.hppa/artist.4
1.3+31-1sys/dev/ic/stifb.c
1.32+4-2share/man/man4/sti.4
1.103+5-1sys/arch/hppa/conf/files.hppa
+1,196-42 files not shown
+1,201-78 files

LLVM/project 3a9c173 — clang/lib/CodeGen CodeGenAction.cpp, clang/test/CodeGen linking-bitcode-postopt-ir.ll

[clang][CodeGen] Fix postopt bitcode linking for LLVM IR input (#246138)

Currently the `-mlink-builtin-bitcode-postopt` option completely
disables linking of the builtin bitcode modules for LLVM IR input
instead of moving it after the optimizations. This might lead to the
loss of the symbols defined in these modules.

This patch resolves the issue by enabling the postopt linking for LLVM
IR input.
DeltaFile
+33-0clang/test/CodeGen/linking-bitcode-postopt-ir.ll
+1-1clang/lib/CodeGen/CodeGenAction.cpp
+34-12 files

NetBSD/pkgsrc-wip 69ec54c — libultrahdr DESCR PLIST, libultrahdr/patches patch-CMakeLists.txt

Add libultrahdr version 2.0.2 to pkgsrc-wip

libultrahdr is a library for handling
googles Ultra HDR Image Format.
The Ultra HDR Image format stores the hdr data as
metadata in already established formats as gains maps.
The readers that don't support this meta data will
display the normal image while the ones who do will
display the HDR version of the image on compatible
displays.
This product includes Gain Map technology under
license by Adobe.
DeltaFile
+152-0libultrahdr/patches/patch-CMakeLists.txt
+49-0libultrahdr/Makefile
+12-0libultrahdr/buildlink3.mk
+12-0libultrahdr/COMMIT_MSG
+10-0libultrahdr/PLIST
+9-0libultrahdr/DESCR
+244-02 files not shown
+251-08 files

LLVM/project 85ec363 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Add file headers
DeltaFile
+5-0llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+5-01 files

LLVM/project 48a1189 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Formatting fix
DeltaFile
+2-1llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+2-11 files

LLVM/project a30f7d7 — llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA asm-printer-fp-inline-asm.mir

Fix printing FP immediates
DeltaFile
+23-0llvm/test/CodeGen/PISA/asm-printer-fp-inline-asm.mir
+9-2llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+32-22 files

LLVM/project 57bb104 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Inline comparison into the assertion
DeltaFile
+3-3llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+3-31 files

LLVM/project e05a255 — llvm/test/CodeGen/PISA asm-printer-unsupported-vector-hint-fp128.ll

Add asm-printer-unsupported-vector-hint-fp128.ll test
DeltaFile
+11-0llvm/test/CodeGen/PISA/asm-printer-unsupported-vector-hint-fp128.ll
+11-01 files

LLVM/project 63541c7 — llvm/lib/Target/PISA CMakeLists.txt PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA unreachable.ll return.ll

Add PISA AsmPrinter

Add PISAAsmPrinter to complete the codegen pipeline with end-to-end code
emission.
DeltaFile
+933-0llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+352-0llvm/test/CodeGen/PISA/store.ll
+350-0llvm/test/CodeGen/PISA/load.ll
+37-0llvm/test/CodeGen/PISA/return.ll
+14-0llvm/test/CodeGen/PISA/unreachable.ll
+1-0llvm/lib/Target/PISA/CMakeLists.txt
+1,687-06 files

LLVM/project e8362c1 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Fixes
DeltaFile
+9-8llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+9-81 files

LLVM/project f796d7e — llvm/lib/Target/PISA PISATargetMachine.cpp PISAOptimizeRedundantCopies.cpp, llvm/test/CodeGen/PISA asm-printer-fp-inline-asm.mir

Adjustments after rebase
DeltaFile
+16-1llvm/lib/Target/PISA/PISAOptimizeRedundantCopies.cpp
+0-2llvm/lib/Target/PISA/PISATargetMachine.cpp
+1-1llvm/test/CodeGen/PISA/asm-printer-fp-inline-asm.mir
+17-43 files

LLVM/project 55fa624 — llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA unreachable.ll store.ll

Fix issues raised in earlier PRs
DeltaFile
+111-93llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+11-0llvm/test/CodeGen/PISA/asm-printer-unsupported-vector-hint.ll
+3-3llvm/test/CodeGen/PISA/load.ll
+2-2llvm/test/CodeGen/PISA/unreachable.ll
+2-2llvm/test/CodeGen/PISA/store.ll
+2-2llvm/test/CodeGen/PISA/return.ll
+131-1026 files

LLVM/project 6acff11 — llvm/test/CodeGen/PISA load.ll

Remove -verify-machineinstr
DeltaFile
+2-3llvm/test/CodeGen/PISA/load.ll
+2-31 files

LLVM/project 5863aae — llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA asm-printer-unusual-vector-global.ll

Add a test for reportFatalUsageError
DeltaFile
+8-0llvm/test/CodeGen/PISA/asm-printer-unusual-vector-global.ll
+2-3llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+10-32 files

LLVM/project 35337e0 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Document why AsmPrinter::emitGlobalConstant is not used
DeltaFile
+4-0llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+4-01 files

LLVM/project c93b9f3 — llvm/test/CodeGen/PISA asm-printer-special-globals.ll

Add asm-printer-special-globals.ll to test isIgnoredIntrinsicGlobal
DeltaFile
+48-0llvm/test/CodeGen/PISA/asm-printer-special-globals.ll
+48-01 files

LLVM/project 609b970 — llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA asm-printer-annotation-globals.ll

Remove the user scan and add a test
DeltaFile
+19-0llvm/test/CodeGen/PISA/asm-printer-annotation-globals.ll
+0-18llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+19-182 files

LLVM/project 12e8b78 — llvm/lib/Target/PISA PISATargetMachine.cpp PISAInstructionSelector.cpp

Adjustments after rebase
DeltaFile
+4-3llvm/lib/Target/PISA/PISAInstructionSelector.cpp
+1-1llvm/lib/Target/PISA/PISATargetMachine.cpp
+5-42 files

LLVM/project 2354b0f — llvm/lib/Target/PISA CMakeLists.txt

Review fixes
DeltaFile
+1-1llvm/lib/Target/PISA/CMakeLists.txt
+1-11 files

LLVM/project b92040e — llvm/lib/Target/PISA PISAKernelByValArgsLowering.cpp PISALegalizePredicates.cpp

Fix issues raised in earlier PRs
DeltaFile
+90-89llvm/lib/Target/PISA/PISALegalizeCalls.cpp
+91-80llvm/lib/Target/PISA/PISALegalizeSubregAccess.cpp
+42-36llvm/lib/Target/PISA/PISAEmitIntrinsics.cpp
+39-36llvm/lib/Target/PISA/PISALayout.cpp
+37-37llvm/lib/Target/PISA/PISALegalizePredicates.cpp
+38-34llvm/lib/Target/PISA/PISAKernelByValArgsLowering.cpp
+337-31217 files not shown
+519-49323 files