LLVM/project ab95de0mlir/lib/Dialect/NVGPU/Transforms OptimizeSharedMemory.cpp, mlir/test/Dialect/NVGPU optimize-shared-memory.mlir

[mlir][nvgpu] Fix a division by zero crash in OptimizeSharedMemoryPass (#174931)

Fixes #173553.
DeltaFile
+11-0mlir/test/Dialect/NVGPU/optimize-shared-memory.mlir
+3-0mlir/lib/Dialect/NVGPU/Transforms/OptimizeSharedMemory.cpp
+14-02 files

FreeBSD/ports de024b9devel/py-ty distinfo Makefile.crates

devel/py-ty: Update to 0.0.12

Changelog: https://github.com/astral-sh/ty/blob/0.0.12/CHANGELOG.md

Reported by:    Repology
DeltaFile
+19-15devel/py-ty/distinfo
+8-6devel/py-ty/Makefile.crates
+1-1devel/py-ty/Makefile
+28-223 files

LLVM/project f9d34fcllvm/test/CodeGen/AMDGPU memory-legalizer-private-workgroup.ll memory-legalizer-private-singlethread.ll

[AMDGPU] Disable generic DAG combines at -O0 to preserve debuggability.

Disable generic DAG combines for AMDGPU at -O0 via disableGenericCombines()
to preserve instructions that users may want to set breakpoints
on during debugging.

Since power-of-2 division/remainder for types > i64 was dependent on
DAG combine optimizations, added shouldExpandPowerOf2DivRem()
to request IR-level expansion for these cases at -O0.
DeltaFile
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-workgroup.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-singlethread.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-wavefront.ll
+8,449-1,355llvm/test/CodeGen/AMDGPU/memory-legalizer-private-cluster.ll
+8,449-1,355llvm/test/CodeGen/AMDGPU/memory-legalizer-private-agent.ll
+8,069-1,315llvm/test/CodeGen/AMDGPU/memory-legalizer-private-system.ll
+50,599-8,12373 files not shown
+196,618-26,14579 files

LLVM/project 96bfc57mlir/lib/Conversion/ArithAndMathToAPFloat MathToAPFloat.cpp

address comments
DeltaFile
+4-5mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp
+4-51 files

LLVM/project d3d7260llvm/test/MC/AMDGPU gfx8_asm_vop3.s gfx7_asm_vop3.s, llvm/test/MC/Disassembler/AMDGPU gfx9_vop3.txt

Merge remote-tracking branch 'origin/users/makslevental/python-remove-obj' into users/makslevental/vectormathapfloat
DeltaFile
+42,349-42,348llvm/test/MC/AMDGPU/gfx8_asm_vop3.s
+41,419-41,418llvm/test/MC/AMDGPU/gfx7_asm_vop3.s
+36,428-36,427llvm/test/MC/AMDGPU/gfx9_asm_vop3.s
+28,175-28,174llvm/test/MC/AMDGPU/gfx9_asm_vopc.s
+22,708-22,884llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3.txt
+22,276-22,275llvm/test/MC/AMDGPU/gfx8_asm_vopc.s
+193,355-193,526884 files not shown
+967,791-959,868890 files

LLVM/project dc5702cllvm/test/CodeGen/AMDGPU swdev503538-move-to-valu-stack-srd-physreg.ll

[NFC] Reduce fragility of swdev503538-... test.

The original test was created in PR #120815, but it depends on -O0 and
implicitly uses DAGCombiner (that is switched on by default for -O0).
The patch reduces fragility of the test and removes dependency on
DAGCombiner.
DeltaFile
+2-2llvm/test/CodeGen/AMDGPU/swdev503538-move-to-valu-stack-srd-physreg.ll
+2-21 files

LLVM/project d972311mlir/lib/Bindings/Python TransformInterpreter.cpp

[mlir][Python] remove stray nb::cast
DeltaFile
+0-6mlir/lib/Bindings/Python/TransformInterpreter.cpp
+0-61 files

FreeNAS/freenas e6dbc22src/middlewared/middlewared/plugins/iscsi_ alua.py

Include service reload as part of iscsi.alua.settled
DeltaFile
+11-0src/middlewared/middlewared/plugins/iscsi_/alua.py
+11-01 files

LLVM/project 02e615dllvm/docs NVPTXUsage.rst

[NFC] Fix some issues in NVPTX Usage document (#176289)

- Fix RST syntax for links.
- Fix names for 2 fence proxy intrinsics.
DeltaFile
+4-4llvm/docs/NVPTXUsage.rst
+4-41 files

FreeBSD/ports 6b9a971. MOVED, graphics/ufraw Makefile

graphics/ufraw: deprecate this port

Ufraw is unmaintained since 2015, user shoud move to
graphics/rawtherapee.
DeltaFile
+3-0graphics/ufraw/Makefile
+1-0MOVED
+4-02 files

FreeNAS/freenas 3a862bbsrc/middlewared/middlewared/plugins/iscsi_ alua.py

Optimize removal of ALUA HA LUN in removed_target_extent
DeltaFile
+26-5src/middlewared/middlewared/plugins/iscsi_/alua.py
+26-51 files

LLVM/project f3f982dllvm/lib/Target/X86 X86TargetMachine.cpp X86CodeGenPassBuilder.cpp

Fix build breakage caused by #176061 (#176283)

https://github.com/llvm/llvm-project/pull/176061 added an extern
declaration of `EnableMachineCombinerPass`, which is `static`, causing
missing symbol errors in the debug build. This PR fixes this by making
that symbol non-static. Furthermore, this PR renames that symbol to
`X86EnableMachineCombinerPass` as `EnableMachineCombinerPass` exists in
other places.
DeltaFile
+5-4llvm/lib/Target/X86/X86TargetMachine.cpp
+2-2llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+7-62 files

Illumos/gate ca31524usr/src/tools/svc/svccfg Makefile

17211 Tools svccfg build missing LIBSCF
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+2-0usr/src/tools/svc/svccfg/Makefile
+2-01 files

HardenedBSD/src d3306c9contrib/libarchive/libarchive archive_read_support_filter_lz4.c, contrib/libarchive/libarchive/test test_compat_lz4_skippable_frames_B4.tar.lz4.uu

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+6,739-0contrib/libarchive/libarchive/test/test_compat_lz4_skippable_frames_B4.tar.lz4.uu
+64-114usr.sbin/makefs/tests/makefs_cd9660_tests.sh
+52-51usr.sbin/makefs/tests/makefs_zfs_tests.sh
+70-14contrib/libarchive/libarchive/archive_read_support_filter_lz4.c
+33-49usr.sbin/makefs/tests/makefs_ffs_tests.sh
+43-39usr.sbin/makefs/tests/makefs_tests_common.sh
+7,001-26755 files not shown
+7,438-44161 files

Linux/linux 983d014kernel/module kmod.c

kernel: modules: Add SPDX license identifier to kmod.c

Add a GPL-2.0 license identifier line for this file.

kmod.c was originally introduced in the kernel in February
of 1998 by Linus Torvalds - who was familiar with kernel
licensing at the time this was introduced.

Signed-off-by: Tim Bird <tim.bird at sony.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
DeltaFile
+1-0kernel/module/kmod.c
+1-01 files

FreeBSD/ports 3500e98net-im/p5-Protocol-XMPP Makefile distinfo

net-im/p5-Protocol-XMPP: update 0.006 -> 0.007

Changelog: https://metacpan.org/dist/Protocol-XMPP/changes

Fix test target by adding missing dependencies
DeltaFile
+6-2net-im/p5-Protocol-XMPP/Makefile
+3-2net-im/p5-Protocol-XMPP/distinfo
+9-42 files

FreeBSD/ports e669ba5misc/p5-Business-ISBN-Data distinfo Makefile

misc/p5-Business-ISBN-Data: update 20251223.001 -> 20260109.001

Changelog: https://metacpan.org/dist/Business-ISBN-Data/changes
DeltaFile
+3-3misc/p5-Business-ISBN-Data/distinfo
+1-1misc/p5-Business-ISBN-Data/Makefile
+4-42 files

LLVM/project f2038d1mlir/lib/Conversion/ArithAndMathToAPFloat MathToAPFloat.cpp, mlir/test/Integration/Dialect/Arith/CPU test-apfloat-emulation-vector.mlir

add/fix tests
DeltaFile
+41-0mlir/test/Integration/Dialect/Math/CPU/test-apfloat-emulation-vector.mlir
+19-13mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp
+10-4mlir/test/Integration/Dialect/Math/CPU/test-apfloat-emulation.mlir
+0-2mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir
+70-194 files

LLVM/project 7f2eb31llvm/docs/CommandGuide llvm-readobj.rst llvm-readelf.rst

[NFC][llvm][docs] Fix alphabetical order of commands (#176280)

Fix the order of commands for llvm-readelf and llvm-readobj docs.
DeltaFile
+18-18llvm/docs/CommandGuide/llvm-readobj.rst
+4-4llvm/docs/CommandGuide/llvm-readelf.rst
+22-222 files

LLVM/project a3aa038lldb/source/DataFormatters ValueObjectPrinter.cpp, lldb/test/API/lang/objc/failing-description TestObjCFailingDescription.py

[lldb] Add missing newline to po warning (#176257)

Follow up fix to #175847
DeltaFile
+2-2lldb/test/API/lang/objc/failing-description/TestObjCFailingDescription.py
+2-2lldb/test/API/lang/objc/struct-description/TestObjCStructDescription.py
+1-1lldb/source/DataFormatters/ValueObjectPrinter.cpp
+5-53 files

FreeBSD/src 1e8c287share/man/man4 mac.4, usr.sbin/jail jail.8

jail: document the mac.label parameter

In particular, we should provide a hint about mac.conf(5), since libjail
will just use the mac_prepare_type(3) API to provide a reasonably sane
interface for system administrators.  Progammers wanting to fetch an
arbitrary MAC label would need to bypass libjail and use jail_get(2)
directly with their own prepared `struct mac`.

Differential Revision:  https://reviews.freebsd.org/D54067
DeltaFile
+12-1usr.sbin/jail/jail.8
+3-1share/man/man4/mac.4
+15-22 files

HardenedBSD/src db3b39flib/libjail jail.c

libjail: extend struct handlers to included MAC labels

MAC label handling is a little special; to avoid being too disruptive,
we allocate a `mac_t *` here for the value so that we can mac_prepare()
or mac_from_text() into.  As a result, we need:

 - A custom free() handler to avoid leaking the *jp_value
 - A custom jailparam_get() handler to mac_prepare() the mac_t and
    populate the iove properly, so that the kernel doesn't have to
    do something funky like copyin, dereference, copyin again.
 - A custom jailparam_set() handler to similarly populate the iovec
    properly.

Reviewed by:    jamie
Differential Revision:  https://reviews.freebsd.org/D53960
DeltaFile
+189-3lib/libjail/jail.c
+189-31 files

HardenedBSD/src 1af8d56lib/libjail jail.c

libjail: start refactoring struct ioctl support

Instead of ad-hoc comparisons against the struct type in a few places,
start to abstract out an interface for dealing with struct types.  For
now, this just means that we have some special jailparam_import and
jailparam_export handling for the ip addr types, but in the next commit
we'll extend it further to support MAC labels.

Reviewed by:    jamie
Differential Revision:  https://reviews.freebsd.org/D53959
DeltaFile
+149-57lib/libjail/jail.c
+149-571 files

FreeBSD/src db3b39flib/libjail jail.c

libjail: extend struct handlers to included MAC labels

MAC label handling is a little special; to avoid being too disruptive,
we allocate a `mac_t *` here for the value so that we can mac_prepare()
or mac_from_text() into.  As a result, we need:

 - A custom free() handler to avoid leaking the *jp_value
 - A custom jailparam_get() handler to mac_prepare() the mac_t and
    populate the iove properly, so that the kernel doesn't have to
    do something funky like copyin, dereference, copyin again.
 - A custom jailparam_set() handler to similarly populate the iovec
    properly.

Reviewed by:    jamie
Differential Revision:  https://reviews.freebsd.org/D53960
DeltaFile
+189-3lib/libjail/jail.c
+189-31 files

FreeBSD/src 1af8d56lib/libjail jail.c

libjail: start refactoring struct ioctl support

Instead of ad-hoc comparisons against the struct type in a few places,
start to abstract out an interface for dealing with struct types.  For
now, this just means that we have some special jailparam_import and
jailparam_export handling for the ip addr types, but in the next commit
we'll extend it further to support MAC labels.

Reviewed by:    jamie
Differential Revision:  https://reviews.freebsd.org/D53959
DeltaFile
+149-57lib/libjail/jail.c
+149-571 files

HardenedBSD/src 1e8c287share/man/man4 mac.4, usr.sbin/jail jail.8

jail: document the mac.label parameter

In particular, we should provide a hint about mac.conf(5), since libjail
will just use the mac_prepare_type(3) API to provide a reasonably sane
interface for system administrators.  Progammers wanting to fetch an
arbitrary MAC label would need to bypass libjail and use jail_get(2)
directly with their own prepared `struct mac`.

Differential Revision:  https://reviews.freebsd.org/D54067
DeltaFile
+12-1usr.sbin/jail/jail.8
+3-1share/man/man4/mac.4
+15-22 files

HardenedBSD/src 31c2728sys/security/mac mac_syscalls.c mac_prison.c, sys/security/mac_stub mac_stub.c

mac_set_fd(3): add support for jail descriptors

We'll still add an old-fashioned jail param to configure jail MAC
labels, but for testing it's really easy to grab a jaildesc and use
that.

Reviewed by:    jamie, olce
Differential Revision:  https://reviews.freebsd.org/D53956
DeltaFile
+44-0sys/security/mac/mac_syscalls.c
+26-2sys/security/mac/mac_prison.c
+11-0sys/security/mac_test/mac_test.c
+5-0sys/security/mac/mac_internal.h
+3-0sys/security/mac/mac_policy.h
+1-0sys/security/mac_stub/mac_stub.c
+90-26 files

HardenedBSD/src 8254b0dsys/kern kern_jail.c, sys/security/mac mac_prison.c mac_policy.h

kern: mac: add various jail MAC hooks

This adds the following hooks:
 - mpo_prison_check_attach: check for subject capability to attach to
    a given jail
 - mpo_prison_check_create: check for subject capability to create a
    jail with the given option set
 - mpo_prison_check_get: check for subject capability to fetch the
    given parameters for a jail
 - mpo_prison_check_set: check for subject capability to set the
    given parameters for a jail
 - mpo_prison_check_remove: check for subject capability to remove the
    jail

check_get wouldn't typically be a privileged operation, but is included
to give MAC policies a wider range of capabilities at a relatively low
cost.  We also add two more for the purpose of label propagation:
 - mpo_prison_created: surface the creation of a jail so that one can
    do propagation to, e.g., the root vnode or any mounts

    [28 lines not shown]
DeltaFile
+161-0sys/security/mac_test/mac_test.c
+104-22sys/kern/kern_jail.c
+87-0sys/security/mac/mac_prison.c
+83-0sys/security/mac_stub/mac_stub.c
+25-0sys/security/mac/mac_policy.h
+12-0sys/security/mac/mac_framework.h
+472-221 files not shown
+474-227 files

HardenedBSD/src 11d6ea4sys/kern kern_jail.c, sys/security/mac mac_prison.c mac_policy.h

kern: mac: add a MAC label to struct prison

Reviewed by:    olce
Differential Revision:  https://reviews.freebsd.org/D53953
DeltaFile
+144-0sys/security/mac/mac_prison.c
+26-0sys/kern/kern_jail.c
+20-0sys/security/mac/mac_policy.h
+9-0sys/security/mac/mac_internal.h
+6-0sys/security/mac/mac_framework.h
+1-0sys/security/mac/mac_framework.c
+206-02 files not shown
+208-08 files

HardenedBSD/src 626fe12sys/security/mac mac_syscalls.c

kern: mac: pull mac_label_copyin_string out

A future commit to the area will further our jail integration and add
a use for this: the struct mac itself was already copied in as part of
vfs_buildopts(), so we only need to copyin the strings.

We add an explicit flag argument because the jail operation will need to
do it while holding the prison lock.

Reviewed by:    olce
Differential Revision:  https://reviews.freebsd.org/D53957
DeltaFile
+30-18sys/security/mac/mac_syscalls.c
+30-181 files