Illumos/gate b050c14 — usr/src/cmd/cmd-inet/lib/ipmgmtd ipmgmt_door.c, usr/src/cmd/cmd-inet/usr.lib/wpad wpa_supplicant.c

18536 door servers should use DOOR_PARAM_DATA_MIN to reject undersized requests
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Dan McDonald <danmcd at oxide.computer>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+68-31usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
+24-14usr/src/cmd/devfsadm/message.h
+22-13usr/src/cmd/vt/vtdaemon.c
+21-11usr/src/cmd/fs.d/autofs/autod_main.c
+24-4usr/src/cmd/cmd-inet/usr.lib/wpad/wpa_supplicant.c
+21-6usr/src/lib/libsysevent/libsysevent.c
+180-7931 files not shown
+525-23737 files

FreeBSD/ports 2adf877 — databases/py-postgresql distinfo Makefile, databases/py-postgresql/files patch-postgresql_bin_pg__dotconf.py patch-postgresql_python_command.py

databases/py-postgresql: Update 1.3.0 => 1.3.1

Commit log:
https://github.com/python-postgres/fe/compare/v1.3.0...v1.3.1

While here, strip the extension modules, define LICENSE_FILE
and add concurrent to USE_PYTHON.

PR:             300170
Approved by:    Volodymyr Kostyrko <arcade at b1t.name> (maintainer)
Approved by:    osa, vvd (mentors, implicit)
DeltaFile
+44-0databases/py-postgresql/pkg-message
+35-0databases/py-postgresql/files/patch-postgresql_____init____.py
+24-0databases/py-postgresql/files/patch-postgresql_python_command.py
+21-0databases/py-postgresql/files/patch-postgresql_bin_pg__dotconf.py
+8-4databases/py-postgresql/Makefile
+3-3databases/py-postgresql/distinfo
+135-76 files

LLVM/project c529abc — libc/shared/math dsubf128.h, libc/src/__support/math dsubf128.h

[libc] add emulated f128 support for dsubf128 (#242204)

this pr implements support for dsubf128 to use the emulated f128 type

addresses https://github.com/llvm/llvm-project/issues/234601
DeltaFile
+19-0libc/test/src/math/dsubf128_test.cpp
+12-3libc/test/src/math/smoke/dsubf128_test.cpp
+15-0libc/test/src/math/CMakeLists.txt
+4-7libc/src/__support/math/dsubf128.h
+8-0utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
+0-6libc/shared/math/dsubf128.h
+58-1624 files not shown
+95-3030 files

FreeBSD/ports 86cf4a0 — mail Makefile, mail/imapgoose pkg-plist pkg-descr

mail/imapgoose: [NEW PORT] Keep local Maildir directories synchronised with an IMAP server

PR:             298128
Approved by:    maintainer is submitter
DeltaFile
+48-0mail/imapgoose/Makefile
+21-0mail/imapgoose/distinfo
+17-0mail/imapgoose/pkg-descr
+3-0mail/imapgoose/pkg-plist
+1-0mail/Makefile
+90-05 files

LLVM/project 9e9b4c3 — clang/docs ReleaseNotes.md, clang/include/clang/Options Options.td

[HLSL][Driver][SPIRV] Default -fspv-extension to the DXC extension set (#239374)

Without `-fspv-extension`, `clang-dxc -spirv` passes `-spirv-ext=all`,
which causes Vulkan modules to declare extensions such as `SPV_KHR_fma`,
`SPV_KHR_float_controls2` and `SPV_EXT_long_vector`. Applications that
did not enable the matching features fail validation. This does not
happen to DXC's modules for the same shaders.

This change passes the list that `-fspv-extension=DXC` produces instead.
`-fspv-extension=all` restores the old behavior.

`dxc_fspv_extension.hlsl` checks the default list and
`-fspv-extension=all`.

Fixes [#237364](https://github.com/llvm/llvm-project/issues/237364).
DeltaFile
+10-2clang/test/Driver/dxc_fspv_extension.hlsl
+5-5clang/include/clang/Options/Options.td
+6-4clang/lib/Driver/ToolChains/HLSL.cpp
+4-0clang/docs/ReleaseNotes.md
+25-114 files

LLVM/project 6de2189 — offload/languages/kernel CMakeLists.txt, offload/liboffload/src OffloadImpl.cpp

[Offload] Remove unused helper and include dir (#242352)

Removed one liboffload helper that somehow I missed before (only RR
remain and adjust the comment to reflect that).

Removed an include path for the plugins directory from the kernel
languages directory that was unnecessary.
DeltaFile
+2-5offload/liboffload/src/OffloadImpl.cpp
+2-3offload/languages/kernel/CMakeLists.txt
+4-82 files

LLVM/project 80c9b5c — llvm/test/Analysis/CostModel/AArch64 shuffle-store.ll load_store.ll, llvm/test/Transforms/PhaseOrdering/AArch64 interleave_vec.ll

[AArch64][COST]Split aligned non-pow2 loads/stores too

Aligned non-pow2 vectors are decomposed into pow2 pieces just like
unaligned ones, so drop the align-1 restriction. A load aligned to
the widened tail size reads the whole tail at once.

Required to support non-power-of-2 vectorization in SLP

Assisted-by: Cursor

Pull-request: https://github.com/llvm/llvm-project/pull/238379
Reviewers: davemgreen, david-arm, huntergr-arm, john-brawn-arm, paulwalker-arm, sdesmalen-arm
Reviewed-by: john-brawn-arm
DeltaFile
+311-292llvm/test/Analysis/CostModel/AArch64/load_store.ll
+46-23llvm/test/Transforms/PhaseOrdering/AArch64/interleave_vec.ll
+13-25llvm/test/Transforms/SLPVectorizer/AArch64/vec3-reorder-reshuffle.ll
+12-22llvm/test/Transforms/SLPVectorizer/AArch64/vec3-base.ll
+14-19llvm/test/Transforms/SLPVectorizer/AArch64/non-pow2-store-chain-shared-ops.ll
+13-13llvm/test/Analysis/CostModel/AArch64/shuffle-store.ll
+409-3944 files not shown
+427-40910 files

LLVM/project 9a7e0d8 — llvm/lib/DWARFLinker/Classic DWARFLinkerDeclContext.cpp, llvm/test/tools/dsymutil/Inputs compilation-prefix-map-odr.s

[dsymutil] Undo prefix mapping before resolving paths for ODR uniquing

The classic linker resolves the declaration file of a type with
realpath() to tell apart types with the same name, line and size. For
paths remapped by compilation caching, which don't exist on disk,
realpath() fails and only the file name is left, so different types
declared in headers with the same name in different directories were
merged. Undo the prefix mapping from compilation-prefix-map.json first.
DeltaFile
+679-0llvm/test/tools/dsymutil/Inputs/compilation-prefix-map-odr.s
+47-0llvm/test/tools/dsymutil/X86/compilation-prefix-map-odr.test
+3-0llvm/lib/DWARFLinker/Classic/DWARFLinkerDeclContext.cpp
+729-03 files

LLVM/project 55f5faa — llvm/test/Transforms/GlobalOpt comdat-available-externally.ll comdat-available-externally-lto.ll

Add full repro test
DeltaFile
+85-0llvm/test/Transforms/GlobalOpt/comdat-available-externally-lto.ll
+3-0llvm/test/Transforms/GlobalOpt/comdat-available-externally.ll
+88-02 files

LLVM/project 3166917 — llvm/lib/DWARFLinker/Classic DWARFLinker.cpp, llvm/test/tools/dsymutil/Inputs swift-interface-prefix-map.s compilation-prefix-map.s

[dsymutil] Support compilation-prefix-map.json from compilation caching

Compilation caching can prefix map the paths that the compiler sees, so
that cache keys don't depend on where the build happens, for example
/path/to/project becomes /^src. The build system records the mapping in
a compilation-prefix-map.json file in a parent directory of the object
files, as a JSON object from each remapped prefix to the original one.

dsymutil didn't support it, so it used the remapped paths from the
debug info as is: it failed to copy the Swift interfaces that the debug
info refers to, didn't recognize interfaces from the SDK or the
toolchain that it should skip, and wrote the remapped paths into the
dSYM.

Load the compilation-prefix-map.json closest to each object file, and
use it to find Swift interfaces and Clang modules, and to restore the
original paths in the path attributes and line tables of the linked
debug info. Clang modules use the map of the object file that refers to
them. -object-prefix-map still only applies to looking up Clang

    [6 lines not shown]
DeltaFile
+349-0llvm/test/tools/dsymutil/Inputs/compilation-prefix-map.s
+262-0llvm/test/tools/dsymutil/Inputs/swift-interface-prefix-map.s
+70-0llvm/test/tools/dsymutil/X86/swift-interface-prefix-map.test
+58-0llvm/test/tools/dsymutil/X86/compilation-prefix-map.test
+52-0llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
+36-14llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
+827-1412 files not shown
+972-5718 files

LLVM/project 316a1bf — llvm/test/CodeGen/PowerPC inline-asm-wide-gpr.ll

Merge branch 'users/void/asm-goto-_Complext-types' into users/void/cir-complex-asm-operands

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+199-29llvm/test/CodeGen/PowerPC/inline-asm-wide-gpr.ll
+199-291 files

LLVM/project c4b6325 — llvm/test/CodeGen/PowerPC inline-asm-wide-gpr.ll

Merge branch 'users/void/ppc-asm-wide-gpr' into users/void/asm-goto-_Complext-types

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+199-29llvm/test/CodeGen/PowerPC/inline-asm-wide-gpr.ll
+199-291 files

LLVM/project 1291a44 — llvm/lib/Target/X86 X86ISelLoweringCall.cpp, llvm/test/CodeGen/X86 kcfi-invoke.ll

[X86][KCFI] Check indirect calls that are invokes (#242471)

Without this, `try { p(); } catch (...) { f(); }` compiles to a bare
`callq *%rdi` under `-fsanitize=kcfi -fexceptions`, where the same call
outside of the `try` is checked.

This changes X86 to match other architectures and pass the kCFI type on
both `call` and `invoke`.

There are other things looking at indirect calls only for `CallInst` in
this routine, and they should probably be checked to see if they should
change in a similar way, but the only place where I have a clear test
case is for kCFI so this is a narrow change just to address that.

The existing test of an invoke, `f9` in `llvm/test/CodeGen/X86/kcfi.ll`
(from #148742), doesn't notice: its landing pad only resumes, so the
invoke is turned into a call before instruction selection.

Assisted-by: Antigravity with Gemini
DeltaFile
+182-0llvm/test/CodeGen/X86/kcfi-invoke.ll
+1-1llvm/lib/Target/X86/X86ISelLoweringCall.cpp
+183-12 files

OpenZFS/src 781878c — man Makefile.am

mancheck: locate the script in the source tree

Use top_srcdir so manual checks also work in an out-of-tree build.

Assisted-by: OpenAI Codex
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: ooonea <ooonea at gmail.com>
Closes #19784
DeltaFile
+1-1man/Makefile.am
+1-11 files

FreeNAS/freenas c67173f — tests/sharing_protocols/nvmet test_nvmet_tcp.py

Add tests for FILE namespace size handling

- test__file_namespace_size_alignment
- test__file_namespace_existing_file_size
DeltaFile
+106-0tests/sharing_protocols/nvmet/test_nvmet_tcp.py
+106-01 files

FreeBSD/src cb1627e — sys/conf kern.mk

kernel: Add -mindirect-branch-cs-prefix for WITH_KERNEL_RETPOLINE

-mindirect-branch-cs-prefix adds a CS segment-override prefix (0x2e)
to each call or jmp to a retpoline thunk.  The CPU ignores the prefix,
but it extends the instruction to six bytes instead of five.  This
leaves enough room for a future kernel change to patch all of the call
sites at boot time to disable retpoline if not required.

Support for this option arrived in GCC 12 and Clang/LLVM 16.

Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D61514
DeltaFile
+1-1sys/conf/kern.mk
+1-11 files

FreeNAS/freenas ae7b954 — tests/sharing_protocols/nvmet test_nvmet_tcp.py

Add tests for FILE namespace size handling
- test__file_namespace_size_alignment
- test__file_namespace_existing_file_size
DeltaFile
+106-0tests/sharing_protocols/nvmet/test_nvmet_tcp.py
+106-01 files

FreeBSD/src 7fca909 — sys/net if_media.h

if_media: Add 100BASE-T1 and 1000BASE-T1 media types

100BASE-T1 (IEEE 802.3bw) and 1000BASE-T1 (IEEE 802.3bp) are Single-Pair
Ethernet (SPE) standards intended for use in automotive and industrial
applications.

Reviewed by:    kbowling
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60864

(cherry picked from commit f69099fc0fc55262741621451a52de50f164271a)
DeltaFile
+6-0sys/net/if_media.h
+6-01 files

LLVM/project 3724c49 — llvm/lib/Target/AMDGPU GCNHazardRecognizer.cpp GCNFeatures.td, llvm/test/CodeGen/AMDGPU coexec-window-model-gfx1250-only.mir

Add and use FeatureCoExecWindowModel

Change-Id: I6289f5816bd5e7a426a77a60017551b36cb213b5
DeltaFile
+9-9llvm/test/CodeGen/AMDGPU/coexec-window-model-gfx1250-only.mir
+7-0llvm/lib/Target/AMDGPU/GCNFeatures.td
+1-2llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+17-113 files

LLVM/project a8ccb90 — utils/bazel/llvm-project-overlay/lldb/unittests BUILD.bazel

[Bazel] Fixes de2cb18 (#242435)

This fixes de2cb180f78036d8e738194823acd0903fca208b (#239789).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=de2cb180f78036d8e738194823acd0903fca208b

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/lldb/unittests/BUILD.bazel
+1-01 files

LLVM/project 5df6387 — llvm/include/llvm/Support VirtualFileSystem.h, llvm/lib/Support VirtualFileSystem.cpp

[Support] Add vfs::findFileInParentDirectories()

Several tools look for a file in a directory and its parent
directories, for example clang-format for .clang-format and clang-tidy
for .clang-tidy, and each has its own loop for that. Add a function for
it, which dsymutil will use to find the compilation-prefix-map.json
files that compilation caching writes.
DeltaFile
+30-0llvm/unittests/Support/VirtualFileSystemTest.cpp
+16-0llvm/lib/Support/VirtualFileSystem.cpp
+11-0llvm/include/llvm/Support/VirtualFileSystem.h
+57-03 files

LLVM/project 1d2fb01 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp

try to reduce compile-time impact
DeltaFile
+10-2llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+10-21 files

FreeBSD/ports 3321d6c — print/pdfcpu Makefile

print/pdfcpu: Fix build with WITH_PIE

The port is built without cgo and cannot be linked as PIE.

PR:             300434
Reported by:    nimaje+fbz at bureaucracy.de
Approved by:    portmgr (build fix blanket)
Sponsored by:   Netzkommune GmbH
DeltaFile
+2-0print/pdfcpu/Makefile
+2-01 files

OpenZFS/src d3ce9e0 — module/os/linux/spl spl-taskq.c

Linux: initialize tq_ksp in taskq_create()

taskq_create() allocates the taskq with kmem_alloc(), which does not
zero it, and only sets tq_ksp in taskq_kstats_init(). If starting the
taskq's threads fails, taskq_create() calls taskq_destroy() before
that, and taskq_kstats_fini() then frees whatever tq_ksp contained.

Initialize tq_ksp to NULL along with the other fields.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
Signed-off-by: Matthew Ahrens <matt at mahrens.org>
Closes #19828
DeltaFile
+1-0module/os/linux/spl/spl-taskq.c
+1-01 files

OpenZFS/src 80690ea — module/os/linux/spl spl-taskq.c, tests/runfiles linux.run

Linux: don't use per-taskq kstats in the taskq summary

spl_taskq_kstat_data() walks tq_list under tq_list_sem and reads each
taskq's counters through its kstat, tq_ksp. But taskq_create() adds the
taskq to tq_list before taskq_kstats_init() sets tq_ksp, and
taskq_destroy() deletes the kstat before removing the taskq from
tq_list. Reading /proc/spl/kstat/taskq/summary while a pool is created
or imported can therefore follow tq_ksp before it is set or after it
has been freed, and the oops leaves tq_list_sem held, hanging every
later taskq_create().

The summary only prints counters kept in the taskq itself, which are
valid for as long as the taskq is on tq_list. Read them directly. This
also stops the summary from taking each taskq kstat's lock while
holding its own.

Add a ZTS test that reads the summary during pool create, export,
import and destroy.


    [4 lines not shown]
DeltaFile
+78-0tests/zfs-tests/tests/functional/procfs/taskq_summary_race.ksh
+11-14module/os/linux/spl/spl-taskq.c
+1-1tests/runfiles/linux.run
+1-0tests/zfs-tests/tests/Makefile.am
+91-154 files

LLVM/project 981a8d9 — utils/bazel/llvm-project-overlay/libc/src BUILD.bazel

[bazel] Add subpackage for libc/src
DeltaFile
+7-0utils/bazel/llvm-project-overlay/libc/src/BUILD.bazel
+7-01 files

LLVM/project 67517aa — llvm/include/llvm/Support PrefixMapper.h, llvm/lib/Support CMakeLists.txt PrefixMapper.cpp

[Support] Add PrefixMapper

Add a utility for remapping path prefixes, along with MappedPrefix for
parsing "old=new" mappings. Mappings are matched on whole path
components and respect the configured path style, so Windows paths are
matched case- and separator-insensitively.

This will be used by dsymutil to undo the path prefix mapping applied
by compilation caching.
DeltaFile
+355-0llvm/unittests/Support/PrefixMapperTest.cpp
+190-0llvm/lib/Support/PrefixMapper.cpp
+141-0llvm/include/llvm/Support/PrefixMapper.h
+1-0llvm/unittests/Support/CMakeLists.txt
+1-0llvm/lib/Support/CMakeLists.txt
+688-05 files

LLVM/project 8eadc15 — clang/include/clang/Basic BuiltinsRISCV.td, clang/lib/CodeGen/TargetBuiltins RISCV.cpp

[RISCV][P-ext] Rename pm4add/pm2add/pm2sub intrinsics to match latest spec. (#242085)

This applies the rename from
https://github.com/riscv/riscv-p-spec/pull/381

Assisted-by: Claude
DeltaFile
+331-331cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
+234-234clang/test/CodeGen/RISCV/rvp-intrinsics.c
+108-108clang/lib/CodeGen/TargetBuiltins/RISCV.cpp
+70-70clang/lib/Headers/riscv_packed_simd.h
+70-70clang/include/clang/Basic/BuiltinsRISCV.td
+813-8135 files

FreeNAS/freenas 96223b9 — src/middlewared/middlewared/plugins/nvmet namespace.py

Use actual file size when resizing FILE namespaces

save_file decided whether a filesize change was an expansion by comparing
against the stored filesize. That value is None for a namespace created
from an existing file without a filesize, which made a later resize fail
with a TypeError. It can also be stale: if it was smaller than the real
file, a requested "expansion" would truncate the file and lose data.

Compare against the file's actual size instead, and record that size when
an existing file is used without a filesize being supplied.
DeltaFile
+13-7src/middlewared/middlewared/plugins/nvmet/namespace.py
+13-71 files

LLVM/project 4fac876 — llvm/lib/Target/SystemZ SystemZOperators.td SystemZInstrInfo.td, llvm/test/CodeGen/SystemZ zos-stackrestore-debug.ll zos-stackrestore.ll

[SystemZ][z/OS] Restore the frame header on stack restore (#228376)

`@@ALCAXP`, which `lowerDYNAMIC_STACKALLOC_XPLINK` calls for a dynamic
alloca, moves the frame header (register save area at SP + 2048) down
with the stack pointer. Calls made while the stack pointer is lowered
place their arguments over the old header. `lowerSTACKRESTORE` only
reset the stack pointer, so the epilogue and the LE stack walk then used
the clobbered old header; the program ended with abend U4083 RSN 0F.

The current header must therefore be copied to the restored stack
pointer, and no signal may be delivered while the stack pointer is
changed and the header is copied. Language Environment delays signals
while a stub routine runs, so this patch does it in a stub:

- The stub has a stub entry marker (mark type C'4', preceded by 8 bytes
of padding so that the entry is 16 bytes after the start, as for a
normal routine), no PPA1 and no save area. Like the stack extension
routine it does not follow the XPLINK calling convention: it is called
with `BASR 3,3` and returns with `B 2(3)`. It gets the new stack pointer

    [31 lines not shown]
DeltaFile
+68-0llvm/lib/Target/SystemZ/SystemZXPLINKAsmPrinter.cpp
+63-0llvm/test/CodeGen/SystemZ/zos-stackrestore.ll
+34-0llvm/test/CodeGen/SystemZ/zos-stackrestore-debug.ll
+22-4llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+10-0llvm/lib/Target/SystemZ/SystemZInstrInfo.td
+7-0llvm/lib/Target/SystemZ/SystemZOperators.td
+204-41 files not shown
+210-47 files