LLVM/project 00617c9compiler-rt/lib/tsan/rtl tsan_interceptors_libdispatch.cpp, compiler-rt/test/tsan/Darwin dispatch_apply.mm

[Darwin][TSan] Fix false positive race report when using dispatch_apply (#204866)

Currently I have seen some false positive race reports caused by
instrumented block copy code that writes after the release-annotation.
When the block runs on another thread and reads the copied data, it
incorrectly reports this as a race.

This patch casts the block to a `void *` in order to avoid the block
copy - thus avoiding the reported race. This is safe because
`dispatch_apply` runs synchronously, so the block lives beyond all
invocations.

rdar://92286127
DeltaFile
+30-0compiler-rt/test/tsan/Darwin/dispatch_apply.mm
+17-1compiler-rt/lib/tsan/rtl/tsan_interceptors_libdispatch.cpp
+47-12 files

LLVM/project e5418e8llvm/utils/lit/lit/builtin_commands diff.py

[lit] Fix builtin diff importing system lit.util in subprocess mode (#206723)

'import lit.util' silently picks up a system-installed lit package
instead of the local one, which may lack abs_path_preserve_drive.

Switch to 'from .. import util': in subprocess mode __package__ is None,
so the relative import raises ImportError and the fallback correctly
picks up the local util.py via PYTHONPATH

Signed-off-by: Prasoon Kumar <prasoonkumar054 at gmail.com>
DeltaFile
+9-10llvm/utils/lit/lit/builtin_commands/diff.py
+9-101 files

FreeBSD/src 3de9dc5lib/libc/tests/gen posix_spawn_test.c Makefile, lib/libc/tests/gen/libdummy libdummy.c Makefile

libc: gen: add a test for rtld underflowing our posix_spawn thread

This is a distillation of the environment described in the PR, using
a dummy shlib and mapping it repeatedly.  This takes advantage of the
guard page added in 2767a1f3686e5b16 to reliably crash if rtld tries to
scale its stack usage excessively with the # DSOs loaded.

PR:             295991
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D57954
DeltaFile
+68-0lib/libc/tests/gen/posix_spawn_test.c
+14-0lib/libc/tests/gen/libdummy/libdummy.c
+9-0lib/libc/tests/gen/libdummy/Makefile
+2-0lib/libc/tests/gen/Makefile
+93-04 files

FreeBSD/src f7f916dsbin/ping/tests test_ping.py

ping: Fix bell char ordering in -A test cases

Previously, these tests expected the bell chars to arrive
before the initial status line. This appeared to be ok because
ping(8) incorrectly mixed unbuffered and buffered writes by using
printf(3) calls for the initial status, but direct write(2) calls
for the bell chars. 141bb85798 revealed that the test's assertions
only passed because the buffered writes did not get flushed before
the direct writes in the test runs.

8bda488114f3 fixed ping(8) to use POSIX stdio buffered writes
in all cases and guarantee a deterministic output ordering to stdout
observers. This patch fixes the test to match the correct ordering.

Reviewed by:    des
Sponsored by:   The FreeBSD Foundation
DeltaFile
+4-4sbin/ping/tests/test_ping.py
+4-41 files

FreeBSD/src 7ac9995sbin/ping/tests test_ping.py

Revert "ping/tests: expect bell chars from stderr after initial status"

This reverts commit 5b8c28adb829b50fb8ac065637fa99f717858bab.

The commit message was wrong.

Reported by:    des
DeltaFile
+4-4sbin/ping/tests/test_ping.py
+4-41 files

LLVM/project d53a1a1llvm/test/Transforms/LoopInterchange dependency-all-eq.ll

[LoopInterchange] Add test with dependency `[* =]` and `[= *]` (NFC) (#193479)

Add test cases that are legal to interchange but currently cannot be
interchanged due to restrictions in the legality check.
DeltaFile
+117-0llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+117-01 files

LLVM/project 732900allvm/lib/Target/AArch64 AArch64RegisterInfo.td AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Address Marian's comments
DeltaFile
+20-19llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+7-1llvm/lib/Target/AArch64/AArch64RegisterInfo.td
+4-2llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+3-2llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+1-1llvm/lib/Target/AArch64/AArch64InstrInfo.td
+35-255 files

FreeBSD/ports 079466flang/cbqn distinfo Makefile

lang/cbqn: update to 0.12.0
DeltaFile
+7-7lang/cbqn/distinfo
+3-3lang/cbqn/Makefile
+10-102 files

FreeNAS/freenas 373c4d1tests/directory_services test_activedirectory_basic.py test_ipa_join.py

NAS-141564 / 26.0.0-RC.1 / Fix failing directory services tests (by anodos325) (#19211)

Change in backend presentation of errors in middleware responses
basically broke the pytest expectations of exception types. This
switches to simpler regex matching.

Original PR: https://github.com/truenas/middleware/pull/19210

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+1-2tests/directory_services/test_activedirectory_basic.py
+1-2tests/directory_services/test_ipa_join.py
+2-42 files

LLVM/project bc5e47fclang/lib/AST/ByteCode Pointer.cpp, clang/test/AST/ByteCode codegen.cpp

[clang][bytecode] Check pointer types in ::toRValue() (#206712)

Now that we let more reinterpret_casts through, we need to check we have
the proper type here, too. We already did that for some of the types but
not for records and arrays.
DeltaFile
+14-10clang/lib/AST/ByteCode/Pointer.cpp
+9-0clang/test/AST/ByteCode/codegen.cpp
+23-102 files

FreeNAS/freenas 0032653src/middlewared/middlewared/plugins/smb_ util_smbconf.py, tests/unit test_smb_share.py

NAS-141586 / 26.0.0-RC.1 / Use truenas_streams_xattr VFS module name for Samba 4.24 (by anodos325) (#19225)

Samba 4.24 forks the TrueNAS streams_xattr customizations into a
separate module, truenas_streams_xattr. Emit that name in the generated
vfs objects line so shares get the TrueNAS backend instead of silently
falling back to upstream's streams_xattr. Parametric options keep the
streams_xattr: prefix (the module still reads them there), so only the
module name changes.

Original PR: https://github.com/truenas/middleware/pull/19224

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+6-0tests/unit/test_smb_share.py
+3-1src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+9-12 files

OPNSense/core 68f341dsrc/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api AssignmentController.php, src/opnsense/mvc/app/controllers/OPNsense/Interfaces/forms dialogAssignment.xml

interfaces: show identifier and add placeholder for description
DeltaFile
+6-8src/opnsense/mvc/app/controllers/OPNsense/Interfaces/forms/dialogAssignment.xml
+5-1src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
+11-92 files

LLVM/project 2eb6379libc/startup/baremetal/aarch64 start.cpp, libc/startup/baremetal/arm start.cpp

[LIBC][ARM] Enable MMU setup and alignment fault handling during startup. (#204803)

This change adds MMU initialisation for Arm targets and configures
alignment fault behaviour.

This patch:
1. Add MMU setup for AArch64 startup.
  - Create a minimal flat-mapped translation table.
  - Configure TTBR0_EL1, MAIR_EL1, and TCR_EL1.
  - Mark stack/heap memory as execute-never (XN) when possible.
  - Enable the MMU and configure alignment checking through SCTLR_EL1.

2. Add MMU setup for ARMA startup:
  - Create a flat 1 MB section mapping covering the address space.
  - Configure DACR, TTBCR, and TTBR0.
  - Enable MMU, instruction cache, and data cache.
  - Configure alignment fault handling through SCTLR.
  
3. Enable unaligned access trapping on Arm M-profile targets when

    [7 lines not shown]
DeltaFile
+84-0libc/startup/baremetal/aarch64/start.cpp
+66-0libc/startup/baremetal/arm/start.cpp
+150-02 files

LLVM/project 34b3299llvm/lib/Target/AMDGPU SIISelLowering.cpp AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.fmin.ll llvm.amdgcn.reduce.fmax.ll

[AMDGPU] Support Wave Reduction intrinsics for half types (#202916)

Supported Ops: `fmin`, `fmax`, `fadd`, `fsub`.
DeltaFile
+941-264llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fmin.ll
+941-264llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fmax.ll
+902-160llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fsub.ll
+899-160llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fadd.ll
+18-5llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+15-3llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+3,716-8566 files

NetBSD/xsrc kChR95qexternal/mit/libdrm/dist configure

   libdrm: bump versions in fake configure
VersionDeltaFile
1.8+2-2external/mit/libdrm/dist/configure
+2-21 files

FreeNAS/freenas 164e9d6tests/sharing_protocols/nfs test_nfs_change_attr.py

NAS-141603 / 26.0.0-RC.1 / Remove xfail from compound cinfo monotonic test now that z_seq persists (by ixhamza) (#19228)

`test_create_compound_cinfo_strictly_monotonic` now passes with `z_seq`
persistence (truenas/zfs#407). Drop the `XFAIL` and the now-unused
`pytest` import.

### Testing
`test_create_compound_cinfo_strictly_monotonic` (previously `XFAIL`)
should pass once the test suite finishes:
~http://jenkins.eng.ixsystems.net:8080/job/tests/job/sharing_protocols_tests/2763/console
(build didn't pull in latest ZFS changes)~
http://jenkins.eng.ixsystems.net:8080/job/tests/job/sharing_protocols_tests/2764/.

Original PR: https://github.com/truenas/middleware/pull/19227

Co-authored-by: Ameer Hamza <ahamza at ixsystems.com>
DeltaFile
+0-7tests/sharing_protocols/nfs/test_nfs_change_attr.py
+0-71 files

OpenBSD/ports CDFLFvAaudio/vorbisgain Makefile distinfo, audio/vorbisgain/patches patch-vorbis_c

   Update vorbisgain to 0.37.
VersionDeltaFile
1.3+4-3audio/vorbisgain/patches/patch-vorbis_c
1.23+1-3audio/vorbisgain/Makefile
1.7+2-2audio/vorbisgain/distinfo
+7-83 files

LLVM/project 4da31b4llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp, llvm/utils/TableGen/Basic ARMTargetDefEmitter.cpp

fixup! Address Carol's comments
DeltaFile
+8-0llvm/utils/TableGen/Basic/ARMTargetDefEmitter.cpp
+2-2llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+10-22 files

LLVM/project e1c9446llvm/utils/TableGen/Basic ARMTargetDefEmitter.cpp

fixup! Use SmallDenseSet<> for quick lookup
DeltaFile
+30-28llvm/utils/TableGen/Basic/ARMTargetDefEmitter.cpp
+30-281 files

LLVM/project c3d9f88llvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/test/MC/AArch64 arm-poe2.s

[AArch64][llvm] POE2: remove TPMAXn_ELn/TPMINn_ELn and create TPCRn_ELn registers

Some POE2 system registers have been removed/created:

  * `TPMAXn_ELn`/`TPMINn_ELn` system registers are now removed
  * these encodings are reused in new `TPCRn_ELn` system registers

Adjusted testcases as appropriate.
DeltaFile
+48-128llvm/test/MC/AArch64/arm-poe2.s
+4-9llvm/lib/Target/AArch64/AArch64SystemOperands.td
+52-1372 files

LLVM/project 73e07f8llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp, llvm/utils/TableGen/Basic ARMTargetDefEmitter.cpp

[AArch64][llvm] Generate asm parser extension map from TableGen (NFC)

Modify ARMTargetDefEmitter to emit the assembly parser `ExtensionMap[]`
and replace the hand-written table in AArch64AsmParser.cpp with the
generated one.

Keep the assembly parser-only quirks in the emitter: the directive
denylist, the legacy primary spellings for `mte` and `compnum`, and the
extra bits needed for the `sve2-*` shorthand extensions.

This removes the duplicate manual table while preserving existing
directive parsing and required-feature diagnostics.
DeltaFile
+11-141llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+97-0llvm/utils/TableGen/Basic/ARMTargetDefEmitter.cpp
+108-1412 files

FreeNAS/freenas c580fd5tests/sharing_protocols/nfs test_nfs_change_attr.py

NAS-141603 / 27.0.0-BETA.1 / Remove xfail from compound cinfo monotonic test now that z_seq persists (#19227)

`test_create_compound_cinfo_strictly_monotonic` now passes with `z_seq`
persistence (truenas/zfs#407). Drop the `XFAIL` and the now-unused
`pytest` import.

### Testing
`test_create_compound_cinfo_strictly_monotonic` (previously `XFAIL`)
should pass once the test suite finishes:
~http://jenkins.eng.ixsystems.net:8080/job/tests/job/sharing_protocols_tests/2763/console
(build didn't pull in latest ZFS changes)~
http://jenkins.eng.ixsystems.net:8080/job/tests/job/sharing_protocols_tests/2764/.
DeltaFile
+0-7tests/sharing_protocols/nfs/test_nfs_change_attr.py
+0-71 files

LLVM/project 42f1e1bllvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange dependency-all-eq.ll

[LoopInterchange] Change the cost model to interchange `[* =]`
DeltaFile
+30-53llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+33-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+63-552 files

NetBSD/src xkFUMo5sys/arch/mips/mips locore.S

   Tweak a comment indentation
VersionDeltaFile
1.232+6-5sys/arch/mips/mips/locore.S
+6-51 files

LLVM/project 1bbe79fllvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange dependency-all-eq.ll pr43176-move-to-new-latch.ll

[LoopInterchange] Relax legality check to accept more patterns
DeltaFile
+103-42llvm/test/Transforms/LoopInterchange/dependency-all-eq.ll
+36-19llvm/test/Transforms/LoopInterchange/pr43176-move-to-new-latch.ll
+15-0llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+6-3llvm/test/Transforms/LoopInterchange/legality-check.ll
+3-5llvm/test/Transforms/LoopInterchange/inner-only-reductions.ll
+0-8llvm/test/Transforms/LoopInterchange/innermost-latch-uses-values-in-middle-header.ll
+163-771 files not shown
+167-817 files

FreeBSD/ports 3cbbed1sysutils/dockerbox distinfo Makefile

sysutils/dockerbox: Update to 0.2.5

PR:             296397
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3sysutils/dockerbox/distinfo
+3-2sysutils/dockerbox/Makefile
+6-52 files

FreeBSD/ports 3cc7d33net Makefile

*/Makefile: Sort SUBDIRs
DeltaFile
+1-1net/Makefile
+1-11 files

OpenBSD/ports Q7Y2ojUdevel/ccache Makefile

   ccache picks up libblake3 if installed; add dep
   similar to a diff from Nazarenko Mykyta
VersionDeltaFile
1.112+3-1devel/ccache/Makefile
+3-11 files

FreeBSD/ports 3c4e84escience/orthanc-postgresql distinfo Makefile

science/orthanc-postgresql: Update to 10.2

Improve internal error handling.
Changes: https://orthanc.uclouvain.be/hg/orthanc-databases/file/\
            tip/PostgreSQL/NEWS
DeltaFile
+3-3science/orthanc-postgresql/distinfo
+1-1science/orthanc-postgresql/Makefile
+4-42 files

LLVM/project c2da3accompiler-rt/test/builtins CMakeLists.txt, compiler-rt/test/builtins/Unit lit.cfg.py lit.site.cfg.py.in

[compiler-rt][test][builtins] Check linker support for --start-group (#205610)

This patch is to add a check for the linker whether the --start-group
option is supported before passing to the linker. This can accommodate
different linker requirements.
DeltaFile
+13-2compiler-rt/test/builtins/Unit/lit.cfg.py
+13-0compiler-rt/test/builtins/CMakeLists.txt
+1-0compiler-rt/test/builtins/Unit/lit.site.cfg.py.in
+27-23 files