FreeBSD/src 5b48968share/man/man9 pci.9, sys/dev/pci pcivar.h pci.c

pci: Export pcie_flr_supported()

Move the capability and quirk checks used by pcie_flr() into a public
side effect free helper.  This lets callers determine whether an FLR
can be attempted before quiescing a device or saving state.

The helper considers the advertised PCIe FLR capability and both the
enable and disable FLR quirks.

MFC after:      2 weeks
Sponsored by:   BBOX.io
DeltaFile
+24-7sys/dev/pci/pci.c
+14-1share/man/man9/pci.9
+1-0sys/dev/pci/pcivar.h
+39-83 files

HardenedBSD/src 36cde1dlibexec/rc rc.conf, sys/compat/linuxkpi/common/include/kunit test-bug.h

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+12-0sys/compat/linuxkpi/common/include/kunit/test-bug.h
+3-1sys/compat/linuxkpi/common/include/linux/pm_qos.h
+3-1sys/compat/linuxkpi/common/include/linux/kobject.h
+1-1libexec/rc/rc.conf
+1-0sys/compat/linuxkpi/common/include/linux/mm.h
+1-0sys/compat/linuxkpi/common/include/linux/gfp.h
+21-34 files not shown
+22-310 files

HardenedBSD/src c00021alibexec/rc rc.conf, sys/compat/linuxkpi/common/include/kunit test-bug.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+12-0sys/compat/linuxkpi/common/include/kunit/test-bug.h
+3-1sys/compat/linuxkpi/common/include/linux/pm_qos.h
+3-1sys/compat/linuxkpi/common/include/linux/kobject.h
+1-1libexec/rc/rc.conf
+1-0sys/compat/linuxkpi/common/include/linux/mm.h
+1-0sys/compat/linuxkpi/common/include/linux/gfp.h
+21-34 files not shown
+22-310 files

LLVM/project 16d1129llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/lib/Support APFloat.cpp

[APFloat][SelectionDAG] Support Float8E5M3FNU in convert.{to,from}.arbitrary.fp

Float8E5M3FNU was already accepted by the IR verifier, because
isValidArbitraryFPFormat is defined in terms of
getArbitraryFPFormatSizeInBits and that table covers it. It was missing
from getArbitraryFPSemantics, so SelectionDAGBuilder rejected
it with "not implemented format" and the verifier-clean IR failed to
compile. Add the mapping and the corresponding entries in the
expandCONVERT_{TO,FROM}_ARBITRARY_FP format allowlists.

Unlike every other format the expansions handle so far, Float8E5M3FNU is
unsigned: it has no sign bit, so all 8 bits go to a 5-bit exponent and a
3-bit significand.

Since an unsigned format cannot represent a negative value, a negative
input now saturates to zero when the saturate flag is set, and is poison
otherwise. -0.0 is excluded from that and still converts to +0, and the
check is ordered before the NaN case so a negative NaN still produces the
NaN encoding. APFloat treats constructing a negative value in an unsigned

    [3 lines not shown]
DeltaFile
+263-0llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-e5m3fnu.ll
+189-0llvm/test/CodeGen/X86/float-to-arbitrary-fp.ll
+37-11llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+2-2llvm/lib/Support/APFloat.cpp
+2-1llvm/unittests/ADT/APFloatTest.cpp
+493-145 files

LLVM/project ca01779llvm/unittests/ADT APFloatTest.cpp

[APFloat][NFC] Add unit test coverage for `getArbitraryFPSemantics` (#216501)

`isValidArbitraryFPFormat` and `getArbitraryFPFormatSizeInBits` have
unit tests, but `getArbitraryFPSemantics`, the mapping the conversion
intrinsics actually lower through, had none. Cover the formats it
supports, the valid formats it does not support yet, and invalid format
strings, and check that the two tables agree on the size of every format
with lowerable semantics.

Also add the missing Float8E5M3FNU case to the
`getArbitraryFPFormatSizeInBits` test.
DeltaFile
+45-0llvm/unittests/ADT/APFloatTest.cpp
+45-01 files

FreeBSD/ports 9056520graphics/glfw Makefile distinfo, graphics/glfw/files patch-tests_empty.c

graphics/glfw: Update 3.4 => 3.5.1

News:
https://www.glfw.org/docs/3.5/news.html

Changelog:
https://github.com/glfw/glfw/releases/tag/3.5.1
https://www.glfw.org/changelog.html

Sponsored by:   UNIS Labs
DeltaFile
+49-31graphics/glfw/distinfo
+26-18graphics/glfw/Makefile
+0-10graphics/glfw/files/patch-tests_empty.c
+75-593 files

HardenedBSD/ports 9056520graphics/glfw Makefile distinfo, graphics/glfw/files patch-tests_empty.c

graphics/glfw: Update 3.4 => 3.5.1

News:
https://www.glfw.org/docs/3.5/news.html

Changelog:
https://github.com/glfw/glfw/releases/tag/3.5.1
https://www.glfw.org/changelog.html

Sponsored by:   UNIS Labs
DeltaFile
+49-31graphics/glfw/distinfo
+26-18graphics/glfw/Makefile
+0-10graphics/glfw/files/patch-tests_empty.c
+75-593 files

LLVM/project 2393da9llvm/lib/Target/AArch64/GISel AArch64PostLegalizerLowering.cpp, llvm/test/CodeGen/AArch64/GlobalISel arm64-atomic.ll

[AArch64][GlobalISel] Do not create atomic truncstore (#216522)

After #213935 the i64->i32 truncstore was failing to create a COPY
correctly.
We do not have tablegen patterns, so mirror what SDAG does and do not
create
atomic truncstore.
DeltaFile
+2,202-1,876llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic.ll
+2-0llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
+2,204-1,8762 files

LLVM/project 86502ddllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 reduction-vals-used-as-load-indices.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+27-30llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+36-19llvm/test/Transforms/SLPVectorizer/X86/reduction-vals-used-as-load-indices.ll
+63-492 files

NetBSD/pkgsrc sJEGep5www/ijb DESCR Makefile

   www/ijb: Adjust HOMEPAGE and MASTER_SITES
VersionDeltaFile
1.12+3-3www/ijb/Makefile
1.2+2-0www/ijb/DESCR
+5-32 files

LLVM/project b8afe9fllvm/test/Transforms/SLPVectorizer/X86 reduction-vals-used-as-load-indices.ll

[SLP][NFC]Add a test with non-profitable vectorization for GEPs external users, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/216518
DeltaFile
+202-0llvm/test/Transforms/SLPVectorizer/X86/reduction-vals-used-as-load-indices.ll
+202-01 files

LLVM/project e1ece3dclang/test/CodeGen/Mips variadic-aggregate.c

[MIPS][NFC] test mips variadic aggregate handling (#216509)

mips64 has some bugs here that I'll address in a followup. The problem
is that we get `inreg {float}` items in the variable argument list. That
breaks for aggregates like `_Complex long double` or just `struct { long
double a; b }`.
DeltaFile
+2,162-0clang/test/CodeGen/Mips/variadic-aggregate.c
+2,162-01 files

FreeBSD/ports 18896c1textproc/cgrep Makefile.cabal Makefile, textproc/cgrep/files patch-__cabal__deps_rawfilepath-1.1.0_cbits_runProcess.c

textproc/cgrep: Update 8.1.0 => 9.2.3, switch GHC 9.8 => 9.12

Approved by:            lwhsu@ (maintainer)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58846
DeltaFile
+165-193textproc/cgrep/distinfo
+1-81textproc/cgrep/Makefile
+79-0textproc/cgrep/Makefile.cabal
+0-11textproc/cgrep/files/patch-__cabal__deps_rawfilepath-1.1.0_cbits_runProcess.c
+245-2854 files

HardenedBSD/ports 18896c1textproc/cgrep Makefile.cabal Makefile, textproc/cgrep/files patch-__cabal__deps_rawfilepath-1.1.0_cbits_runProcess.c

textproc/cgrep: Update 8.1.0 => 9.2.3, switch GHC 9.8 => 9.12

Approved by:            lwhsu@ (maintainer)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58846
DeltaFile
+165-193textproc/cgrep/distinfo
+1-81textproc/cgrep/Makefile
+79-0textproc/cgrep/Makefile.cabal
+0-11textproc/cgrep/files/patch-__cabal__deps_rawfilepath-1.1.0_cbits_runProcess.c
+245-2854 files

LLVM/project 85cffe6llvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp

AMDGPU: Use m_GTrunc in selector def check (#216511)

Prefer mi_match over raw getVRegDef + opcode checks.
DeltaFile
+1-1llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+1-11 files

FreeBSD/ports decf4f8comms/fldigi Makefile distinfo

comms/fldigi: Update 4.2.11 => 4.2.13

Approved by:            hamradio@ (alven@, yuri@)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58857
DeltaFile
+3-3comms/fldigi/distinfo
+1-1comms/fldigi/Makefile
+4-42 files

HardenedBSD/ports decf4f8comms/fldigi Makefile distinfo

comms/fldigi: Update 4.2.11 => 4.2.13

Approved by:            hamradio@ (alven@, yuri@)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58857
DeltaFile
+3-3comms/fldigi/distinfo
+1-1comms/fldigi/Makefile
+4-42 files

FreeBSD/ports 331b0d9cad/hs-verismith pkg-descr Makefile.cabal, cad/hs-verismith/files patch-__cabal__deps_tasty-1.5.3_tasty.cabal

cad/hs-verismith: Improve port

* Switch upstream to Hackage
* Improve COMMENT and pkg-descr

Approved by:            yuri@ (maintainer, Mentor)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58847
DeltaFile
+139-175cad/hs-verismith/distinfo
+4-110cad/hs-verismith/Makefile
+102-0cad/hs-verismith/Makefile.cabal
+19-2cad/hs-verismith/pkg-descr
+0-11cad/hs-verismith/files/patch-__cabal__deps_tasty-1.5.3_tasty.cabal
+264-2985 files

HardenedBSD/ports 331b0d9cad/hs-verismith pkg-descr Makefile.cabal, cad/hs-verismith/files patch-__cabal__deps_tasty-1.5.3_tasty.cabal

cad/hs-verismith: Improve port

* Switch upstream to Hackage
* Improve COMMENT and pkg-descr

Approved by:            yuri@ (maintainer, Mentor)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58847
DeltaFile
+139-175cad/hs-verismith/distinfo
+4-110cad/hs-verismith/Makefile
+102-0cad/hs-verismith/Makefile.cabal
+19-2cad/hs-verismith/pkg-descr
+0-11cad/hs-verismith/files/patch-__cabal__deps_tasty-1.5.3_tasty.cabal
+264-2985 files

OpenBSD/src RQvhqQVsys/kern kern_pledge.c

   Don't panic if ni_pledge is unset in pledge_namei.

   ok deraadt
VersionDeltaFile
1.360+2-2sys/kern/kern_pledge.c
+2-21 files

LLVM/project 6d9a775utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/test/src/math BUILD.bazel

[libc][bazel] Update bazel overlay for ceilf128 emulated float128 changes (#216515)

This updates the Bazel overlay following commit
e5174fe683e882f6bbd2ef023c9c9e293b273a98:

- Remove `:llvm_libc_types_float128` from `__support_math_ceilf128` deps
as `include/llvm-libc-types/float128.h` is no longer included.
- Add `:__support_cpp_bit` to `ceilf128` additional_deps for `bit_cast`.
- Add `ceilf128` math MPFR test target in
`libc/test/src/math/BUILD.bazel`.
DeltaFile
+5-0utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+6-12 files

LLVM/project 8f88dfdclang/lib/StaticAnalyzer/Checkers UseAfterLifetimeEnd.cpp, clang/test/Analysis lifetime-bound.cpp

[analyzer] Correctly highlight the variables' range in UseAfterLifetimeEnd reports (#215905)

Currently in the emitted reports from the `UseAfterLifetimeEnd` checker
the highlight range of the variables is incorrect which can lead to
confusion for the user.

```
temp.cpp:5:31: note: Value's lifetime bound to the lifetime of 'y' here
    4 |   int x = 1, y = 2;
      |   ~~~~~~~~~~~~~~~~
```

In this emitted note the highlight of the variable `y` incorrectly spans
to the variable `x` as well and vice versa. This does not meet the
quality requirements of a core Clang Static Analyzer Checker.

In this PR I get the `VarDecl` of the `VarRegion` and then return the
`SourceRange` based on the `VarDecl`'s location through `getLocation`.
This leads to the following emitted notes:

    [5 lines not shown]
DeltaFile
+29-1clang/test/Analysis/lifetime-bound.cpp
+4-2clang/lib/StaticAnalyzer/Checkers/UseAfterLifetimeEnd.cpp
+33-32 files

LLVM/project 2d6ec50llvm/lib/Target/RISCV/GISel RISCVLegalizerInfo.cpp

RISCV: Use m_GImplicitDef instead of getVRegDef + opcode check

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+3-2llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+3-21 files

OpenBSD/src vHXtXv5sys/kern vfs_syscalls.c

   Consistently guard against NULL vp->v_mount in vfs_syscalls.c

   OK kirill@

   Reported-by: syzbot+5c4d0d721f4b850a14d6 at syzkaller.appspotmail.com
VersionDeltaFile
1.388+7-7sys/kern/vfs_syscalls.c
+7-71 files

LLVM/project d4c0230llvm/lib/CodeGen/GlobalISel Utils.cpp LegalizerHelper.cpp

GlobalISel: Use m_GImplicitDef instead of getVRegDef opcode checks

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+1-2llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+1-1llvm/lib/CodeGen/GlobalISel/Utils.cpp
+2-32 files

OpenBSD/src vZZn2gKsys/dev/usb usb_subr.c

   Trim trailing \n from usb descriptor strings

   deraadt@ "I like this"
VersionDeltaFile
1.167+6-4sys/dev/usb/usb_subr.c
+6-41 files

LLVM/project 1567dcallvm/include/llvm/CodeGen/GlobalISel MIPatternMatch.h, llvm/lib/Target/AArch64/GISel AArch64PostLegalizerCombiner.cpp

AArch64: Use MIPatternMatch in PostLegalizerCombiner ext checks

Replace the getVRegDef + opcode-check idiom with mi_match. Add an
m_GSExtInReg matcher for G_SEXT_INREG, which has an extra immediate
operand and so does not fit the plain unary-op matcher shape.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+21-0llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
+3-3llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
+24-32 files

HardenedBSD/ports f17d69carchivers/minizip pkg-plist Makefile, archivers/minizip/files patch-Makefile.am

archivers/minizip: Update 1.3.1 => 1.3.2

Changelog:
https://github.com/madler/zlib/releases/tag/v1.3.2

- Add patch "install ints.h with public headers":
  https://github.com/madler/zlib/issues/1164.

Sponsored by:   UNIS Labs
DeltaFile
+10-0archivers/minizip/files/patch-Makefile.am
+3-3archivers/minizip/distinfo
+1-1archivers/minizip/Makefile
+1-0archivers/minizip/pkg-plist
+15-44 files

FreeBSD/ports f17d69carchivers/minizip pkg-plist Makefile, archivers/minizip/files patch-Makefile.am

archivers/minizip: Update 1.3.1 => 1.3.2

Changelog:
https://github.com/madler/zlib/releases/tag/v1.3.2

- Add patch "install ints.h with public headers":
  https://github.com/madler/zlib/issues/1164.

Sponsored by:   UNIS Labs
DeltaFile
+10-0archivers/minizip/files/patch-Makefile.am
+3-3archivers/minizip/distinfo
+1-1archivers/minizip/Makefile
+1-0archivers/minizip/pkg-plist
+15-44 files

LLVM/project 803b185llvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp

AMDGPU: Use m_GTrunc in selector def check

Prefer mi_match over raw getVRegDef + opcode checks.
DeltaFile
+1-1llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+1-11 files