FreeBSD/src 9dbff03sys/dev/nvme nvme_sysctl.c nvme_ctrlr.c

nvme: Inject artificial failure on reset

Add a sysctl to artificially fail the reset to test the failure to reset
hardware code path. While there are many ways that reset can fail, this
provides an adequate way that similates enough of the failures well
enough to shake out this failure path.

Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D28584
DeltaFile
+4-0sys/dev/nvme/nvme_sysctl.c
+1-1sys/dev/nvme/nvme_ctrlr.c
+1-0sys/dev/nvme/nvme_private.h
+6-13 files

FreeBSD/src 82c96fesys/dev/nvme nvme_sysctl.c

nvme: Export recovery state

Export recovery state as a sysctl. This helps, sometimes, diagnose
what's going on.

Sponsored by:           Netflix
DeltaFile
+4-0sys/dev/nvme/nvme_sysctl.c
+4-01 files

FreeBSD/ports 8996535devel/json-glib pkg-plist Makefile

devel/json-glib: update to 1.10.0

Changelog: https://gitlab.gnome.org/GNOME/json-glib/-/blob/1.10.0/NEWS

- correct LICENSE
- clean up DOCS
- add MANPAGES and NLS options
- build but do not install tests (-Dinstalled_tests=false)
DeltaFile
+389-377devel/json-glib/pkg-plist
+13-15devel/json-glib/Makefile
+3-3devel/json-glib/distinfo
+405-3953 files

LLVM/project 7cbb365flang/include/flang/Semantics type.h, flang/lib/Semantics type.cpp

[flang] Fix broken shared library build (#112444)

I just introduced a dependency from the Evaluate library to the
Semantics library, which is circular in a shared library build.
Rearrange the code a little to ensure that the dependence is only on a
header.
DeltaFile
+12-1flang/include/flang/Semantics/type.h
+0-6flang/lib/Semantics/type.cpp
+12-72 files

LLVM/project 4c89473llvm/test/Analysis/CostModel/RISCV arith-fp.ll reduce-fmul.ll

[RISCV] Fix bf16 cost model tests. NFC

These were inadvertently changed in #112393
DeltaFile
+29-29llvm/test/Analysis/CostModel/RISCV/arith-fp.ll
+5-5llvm/test/Analysis/CostModel/RISCV/reduce-fmul.ll
+34-342 files

LLVM/project d741435mlir/include/mlir/Dialect/LLVMIR ROCDLOps.td, mlir/test/Dialect/LLVMIR rocdl.mlir

[MLIR][ROCDL] Added `SchedGroupBarrier` and `IglpOpt` ops (#112237)

This PR adds missing `sched.group.barrier` and `rocdl.iglp.opt` ops to
the ROCDL dialect (see
[here](https://github.com/llvm/llvm-project/blob/ec78f0da0e9b1b8e2b2323e434ea742e272dd913/clang/include/clang/Basic/BuiltinsAMDGPU.def#L66-L68)).
The ops are converted to the corresponding intrinsic calls during the
translation from MLIR to LLVM IRs. This intrinsics are hints to the
instruction scheduler of the AMDGPU backend.
DeltaFile
+18-0mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+16-0mlir/test/Target/LLVMIR/rocdl.mlir
+12-0mlir/test/Dialect/LLVMIR/rocdl.mlir
+46-03 files

LLVM/project 2e8ad49llvm/include/llvm/SandboxIR PassManager.h, llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer SandboxVectorizerPassBuilder.h

[SandboxVec] Add pass to create Regions from metadata. Generalize SandboxVec pass pipelines. (#112288)

My previous attempt (#111904) hacked creation of Regions from metadata
into the bottom-up vectorizer. I got some feedback that it should be its
own pass. So now we have two SandboxIR function passes (`BottomUpVec`
and `RegionsFromMetadata`) that are interchangeable, and we could have
other SandboxIR function passes doing other kinds of transforms, so this
commit revamps pipeline creation and parsing.

First, `sandboxir::PassManager::setPassPipeline` now accepts pass
arguments in angle brackets. Pass arguments are arbitrary strings that
must be parsed by each pass, the only requirement is that nested angle
bracket pairs must be balanced, to allow for nested pipelines with more
arguments. For example:
```
    bottom-up-vec<region-pass-1,region-pass-2<arg>,region-pass-3>
```
This has complicated the parser a little bit (the loop over pipeline
characters now contains a small state machine), and we now have some new

    [27 lines not shown]
DeltaFile
+116-17llvm/include/llvm/SandboxIR/PassManager.h
+41-11llvm/unittests/SandboxIR/PassTest.cpp
+5-36llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp
+38-0llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/RegionsFromMetadata.h
+33-3llvm/lib/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizer.cpp
+32-0llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerPassBuilder.h
+265-6711 files not shown
+409-7917 files

LLVM/project f6c2322llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv fixed-vectors-fp.ll

[RISCV] Promote fixed-length bf16 arith vector ops with zvfbfmin (#112393)

The aim is to have the same set of promotions on fixed-length bf16
vectors as on fixed-length f16 vectors, and then deduplicate them
similarly to what was done for scalable vectors.

It looks like fneg/fabs/fcopysign end up getting expanded because fsub
is now legal, and the default operation action must be expand.
DeltaFile
+1,648-83llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp.ll
+8-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+1,656-842 files

FreeNAS/freenas d31a9f1src/middlewared/middlewared/etc_files scst.conf.mako, src/middlewared/middlewared/plugins/fc utils.py

Add LUN masking for Fibre Channel targets
DeltaFile
+39-6src/middlewared/middlewared/etc_files/scst.conf.mako
+2-0src/middlewared/middlewared/plugins/fc/utils.py
+41-62 files

LLVM/project 01b78b2compiler-rt/lib/sanitizer_common/tests sanitizer_chained_origin_depot_test.cpp

[NFC] Fix flakiness in test if run unsharded (#112439)

If we run all test in a single process, there is high
probability that `99` is already claimed.
DeltaFile
+1-1compiler-rt/lib/sanitizer_common/tests/sanitizer_chained_origin_depot_test.cpp
+1-11 files

LLVM/project e12fbdfcompiler-rt/lib/sanitizer_common/tests sanitizer_linux_test.cpp

[NFC] Remove unnececary check from test (#112438)

Important part of the test to have correct
`ThreadDescriptorSize` after `InitTlsSize()`.

It's not a problem if another test called
`InitTlsSize()` before.

Fixes #112399.
DeltaFile
+0-1compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cpp
+0-11 files

LLVM/project 568e28bcompiler-rt/lib/sanitizer_common/tests sanitizer_linux_test.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.4

[skip ci]
DeltaFile
+0-1compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cpp
+0-11 files

LLVM/project 9fb2db1flang/lib/Parser prescan.cpp prescan.h, flang/test/Parser continuation-in-conditional-compilation.f

[flang] Retain spaces when preprocessing fixed-form source (#112417)

When running fixed-form source through the compiler under -E, don't
aggressively remove space characters, since the parser won't be parsing
the result and some tools might need to see the spaces in the -E
preprocessed output.

Fixes https://github.com/llvm/llvm-project/issues/112279.
DeltaFile
+5-3flang/lib/Parser/prescan.cpp
+5-0flang/lib/Parser/prescan.h
+2-2flang/test/Preprocessing/pp031.F
+1-1flang/test/Parser/continuation-in-conditional-compilation.f
+1-1flang/test/Preprocessing/pp029.F
+1-1flang/test/Preprocessing/pp041.F
+15-82 files not shown
+17-98 files

LLVM/project 38b9dd7flang/include/flang/Common erfc-scaled.h, flang/lib/Evaluate intrinsics-library.cpp

[flang] Fold ERFC_SCALED (#112287)

Move the ErfcScaled template function from the runtime into a new header
file in flang/include/Common, then use it in constant folding to
implement folding for the erfc_scaled() intrinsic function.
DeltaFile
+116-0flang/include/flang/Common/erfc-scaled.h
+2-100flang/runtime/numeric-templates.h
+7-0flang/test/Evaluate/fold-erfc-scaled.f90
+2-0flang/lib/Evaluate/intrinsics-library.cpp
+127-1004 files

LLVM/project 35e8624flang/include/flang/Evaluate tools.h, flang/include/flang/Semantics type.h

[flang] Silence impossible error about SMP interface incompatibility (#112054)

It is possible for the compiler to emit an impossible error message
about dummy argument character length incompatibility in the case of a
MODULE SUBROUTINE or FUNCTION defined later in a submodule with MODULE
PROCEDURE, when the character length is defined by USE association in
its interface. The checking for separate module procedure interface
compatibility needs to use a more flexible check than just operator== on
a semantics::ParamValue.
DeltaFile
+23-0flang/test/Semantics/smp-def01.f90
+14-2flang/lib/Evaluate/tools.cpp
+6-0flang/lib/Semantics/type.cpp
+5-1flang/include/flang/Evaluate/tools.h
+4-1flang/lib/Evaluate/type.cpp
+1-0flang/include/flang/Semantics/type.h
+53-46 files

LLVM/project a70ffe7flang/docs Extensions.md, flang/include/flang/Common Fortran-features.h

[flang] Support "PRINT namelistname" (#112024)

Nearly every Fortran compiler supports "PRINT namelistname" as a synonym
for "WRITE (*, NML=namelistname)". Implement this extension via parse
tree rewriting.

Fixes https://github.com/llvm/llvm-project/issues/111738.
DeltaFile
+26-1flang/lib/Semantics/rewrite-parse-tree.cpp
+8-0flang/test/Semantics/rewrite02.f90
+1-1flang/include/flang/Common/Fortran-features.h
+2-0flang/docs/Extensions.md
+37-24 files

LLVM/project 5a9d684flang/include/flang/Common Fortran-features.h, flang/lib/Common Fortran-features.cpp

[flang] Split interoperability warnings, disable some by default (#111922)

Type interoperability warnings current issue for intrinsic types when
their type, kind, or length do not meet the requirements for C
interoperability. This turns out to be too noisy for the case of
one-byte characters with lengths other than one when creating C pointers
from C_LOC or C_F_POINTER -- it is not uncommon for programs to use
pointers to longer character objects.

So split the interoperability warning so that the case of a known bad
character length for an otherwise interoperable type is controlled by
its own UsageWarning enumerator, and leave that usage warning off by
default. This will better fit expectations in the default case while
still showing a warning under -pedantic.
DeltaFile
+33-12flang/lib/Evaluate/intrinsics.cpp
+3-3flang/include/flang/Common/Fortran-features.h
+4-1flang/test/Semantics/c_f_pointer.f90
+4-1flang/test/Semantics/c_loc01.f90
+1-0flang/lib/Common/Fortran-features.cpp
+45-175 files

LLVM/project 8588014flang/include/flang/Optimizer/Transforms Passes.td, flang/lib/Optimizer/Transforms CUFAddConstructor.cpp CMakeLists.txt

[flang][cuda] Add kernel registration in CUF constructor (#112416)

Update the CUF constructor with the cuf.register_kernel operations.
DeltaFile
+18-2flang/lib/Optimizer/Transforms/CUFAddConstructor.cpp
+2-6flang/test/Fir/CUDA/cuda-register-func.fir
+1-1flang/include/flang/Optimizer/Transforms/Passes.td
+1-0flang/lib/Optimizer/Transforms/CMakeLists.txt
+22-94 files

OpenBSD/ports 7fgUrSsnet/qbittorrent/qbittorrent distinfo, net/qbittorrent/qbittorrent-nox distinfo

   update to qbittorrent 5.0.0
VersionDeltaFile
1.1+14-0net/qbittorrent/qbittorrent/patches/patch-CMakeLists_txt
1.1+14-0net/qbittorrent/qbittorrent-nox/patches/patch-CMakeLists_txt
1.1+13-0net/qbittorrent/qbittorrent/patches/patch-dist_unix_CMakeLists_txt
1.1+13-0net/qbittorrent/qbittorrent-nox/patches/patch-dist_unix_CMakeLists_txt
1.32+2-2net/qbittorrent/qbittorrent/distinfo
1.32+2-2net/qbittorrent/qbittorrent-nox/distinfo
+58-41 files not shown
+59-57 files

OpenBSD/ports SmBfCKrarchivers/libarchive Makefile distinfo

   archivers/libarchive: update to 3.7.7

   Security fixes:
   * gzip: prevent a hang when processing a malformed gzip inside a gzip
   * tar: don't crash on truncated tar archives
   * tar: fix two leaks in tar header parsing

   Important bugfixes:
   * 7-zip: read/write symlink paths as UTF-8
   * cpio: exit with an error code if an entry could not be extracted
   * rar5: report encrypted entries
   * tar: fix truncation of entry pathnames in specific archives
VersionDeltaFile
1.60.2.2+2-2archivers/libarchive/Makefile
1.40.2.2+2-2archivers/libarchive/distinfo
+4-42 files

FreeBSD/src 1667245share/man/man9 cdefs.9, sys/compat/linuxkpi/common/include/linux compiler.h

cdefs: Add __deprecated

Add __deprecated decorator. This is for a deprecated interface. copystr
is tagged with this today in copy(9), but don't actually provide it or
use it. copystr is a #define so adding it will have to wait.

LinuxKPI was defining this away completely in compiler.h. Since this is
shared between Linux KPI consumers and OpenZFS, if it's already defined,
use the FreeBSD sys/cdefs.h version, otherwise define it away. For
OpenZFS this will retain it, while for Linux KPI it will tend to drop it
(I think always, but I didn't look at everything).

Sponsored by:           Netflix
Reviewed by:            jhb, emaste
Differential Revision:  https://reviews.freebsd.org/D46137
DeltaFile
+5-1share/man/man9/cdefs.9
+2-0sys/compat/linuxkpi/common/include/linux/compiler.h
+1-0sys/sys/cdefs.h
+8-13 files

FreeBSD/src b487b1fsys/contrib/openzfs/include/os/freebsd/linux compiler.h, sys/contrib/openzfs/include/os/freebsd/spl/sys ccompat.h debug.h

openzfs/freebsd: Use compiler.h from FreeBSD's base's linuxkpi

The FreeBSD linux/compiler.h in OpenZFS was copied from a very old
version of FreeBSD's linuxkpi's linux/compiler.h. There's no need for
this duplication. Use FreeBSD's linuxkpi version instead, and provide
zfs_fallthrough to augment it (it's all that's needed). Use #pragma once
to avoid naming issues for guard variables. Since this is a complete
rewrite, use my copyright here (the original code in FreeBSD still
credits everybody).

Remove extra copies of macros that were defined elsewhere, but are now
properly defined in LinuxKPI so are redundant.

This is currently pull request #16650 upstream. Committing now to get
wider testing (make universe works, but historically doesn't catch all
errors).

Sponsored by:           Netflix
Reviewed by:            brooks
Differential Revision:  https://reviews.freebsd.org/D47131
DeltaFile
+8-75sys/contrib/openzfs/include/os/freebsd/linux/compiler.h
+0-9sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompat.h
+0-4sys/contrib/openzfs/include/os/freebsd/spl/sys/debug.h
+8-883 files

OpenBSD/ports i7BY7uUdevel/quirks Makefile, devel/quirks/files Quirks.pm

   drop pre-6.9 quirks entries (we want to keep some old versions but
   don't need all the way back to 6.3 - older versions here are mainly
   for people skipping updates but that's too far to work anyway really.

   from the remaining newer ones, remove some more-specific "obsolete
   reasons" which don't really provide actionable information and use
   simpler ones instead.

   ok kn espie
VersionDeltaFile
1.1660+95-923devel/quirks/files/Quirks.pm
1.1649+1-1devel/quirks/Makefile
+96-9242 files

NetBSD/src 0mj257jcrypto/external/bsd/openssl/dist/crypto/evp legacy_sha.c, crypto/external/bsd/openssl/dist/include/openssl sha.h

   openssl: Just rename the sha2 symbols.

   Ditch all our other local changes related to them.

   These symbols end up as private symbols in libcrypto, and our
   libcrypto has never exported the sha2 symbols anyway so that can't
   break existing applications.  So this might even be safe to pull up
   to branches.

   This changes some libcrypto symbols listed in crypto.map -- but those
   symbols weren't defined anyway!  And ld apparently doesn't care if
   they're not defined.

   PR bin/51333
   PR lib/58039
VersionDeltaFile
1.4+14-14crypto/external/bsd/openssl/dist/include/openssl/sha.h
1.14+14-14crypto/external/bsd/openssl/lib/libcrypto/crypto.map
1.9+7-13crypto/external/bsd/openssl/lib/libcrypto/sha.inc
1.3+14-0crypto/external/bsd/openssl/lib/libcrypto/crypto.expsym
1.3+2-4crypto/external/bsd/openssl/dist/providers/implementations/digests/sha2_prov.c
1.3+2-2crypto/external/bsd/openssl/dist/crypto/evp/legacy_sha.c
+53-474 files not shown
+53-4710 files

OpenBSD/src AeCA0jRregress/usr.sbin/rpki-client/openssl Makefile

   rpki-client/openssl: eliminate pointless OpenSSL deprecation vomit
VersionDeltaFile
1.2+2-1regress/usr.sbin/rpki-client/openssl/Makefile
+2-11 files

LLVM/project 23da169llvm/lib/Target/PowerPC PPC.td, llvm/lib/Target/PowerPC/AsmParser PPCAsmParser.cpp

[NFC][PowerPC] Use tablegen's MatchRegisterName() (#111553)

Use PPC `MatchRegisterName()` that is auto generated by table gen.
DeltaFile
+13-41llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
+2-1llvm/lib/Target/PowerPC/PPC.td
+15-422 files

LLVM/project ba898dblld/COFF Symbols.cpp Symbols.h, lld/test/COFF weak-lazy.s

[LLD][COFF] Fix handling of weak aliases referencing lazy symbols (#112243)

The assumption that a symbol is either `Defined` or `Undefined` is not
always true for some cases. For example, `mangleMaybe` may create a weak
alias to a lazy archive symbol.
DeltaFile
+18-0lld/test/COFF/weak-lazy.s
+4-4lld/COFF/Symbols.cpp
+4-1lld/COFF/Symbols.h
+2-2lld/COFF/Driver.cpp
+28-74 files

FreeBSD/src b34a4edusr.sbin/bhyve pci_virtio_console.c

bhyve: avoid buffer overflow in pci_vtcon_control_send

This is a follow-up to the fix for HYP-19, addressing another condition
where an overflow might still occur. (Spotted by jhb@, thanks!)

Reported by:    Synacktiv
Reviewed by:    markj
Security:       HYP-19
Sponsored by:   Alpha-Omega Project
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D46882
DeltaFile
+5-2usr.sbin/bhyve/pci_virtio_console.c
+5-21 files

LLVM/project 34cdd67llvm/lib/Transforms/Vectorize VPlan.h VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/RISCV vplan-vp-select-intrinsics.ll

[VPlan] Use VPWidenIntrinsicRecipe to vp.select. (#110489)

Use VPWidenIntrinsicRecipe
(https://github.com/llvm/llvm-project/pull/110486)
to create vp.select intrinsics. This potentially offers an alternative
to duplicating EVL recipes for all existing recipes.

There are some recipes that will need duplicates (at least at the
moment), due to extra code-gen needs (e.g. widening loads and stores).
But in cases the intrinsic can directly be used, creating the widened
intrinsic directly would reduce the need to duplicate some recipes.


PR: https://github.com/llvm/llvm-project/pull/110489
DeltaFile
+65-0llvm/test/Transforms/LoopVectorize/RISCV/vplan-vp-select-intrinsics.ll
+12-0llvm/lib/Transforms/Vectorize/VPlan.h
+8-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+9-0llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+4-0llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
+2-0llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
+100-11 files not shown
+101-27 files

FreeBSD/src 23cb03dlib/libsys thr_kill.2

thr_kill(2): fix title

Mandoc emits a STYLE warning due to the lowercase letters.
DeltaFile
+1-1lib/libsys/thr_kill.2
+1-11 files