LLVM/project 19f22a0llvm/lib/Target/AMDGPU SIISelLowering.cpp

whitespace fix
DeltaFile
+1-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+1-11 files

LLVM/project a83a412llvm/lib/Target/AMDGPU SIISelLowering.cpp

Apply suggestion from @cdevadas

Co-authored-by: Christudasan Devadasan <christudasan.devadasan at amd.com>
DeltaFile
+2-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2-21 files

FreeNAS/freenas da41929src/middlewared/middlewared/etc_files/ctdb nodes.mako ctdb.conf.mako, src/middlewared/middlewared/plugins smb.py etc.py

NAS-139388 / 26.04 / Simplify ctdb process management for HA (#18062)

Starting / stopping / reconfiguring ctdbd on an active system is fragile
and can and can trigger asserts in ctdbd if there are dependent services
with active ctdb sessions. Since the configuration is static and relies
on internal interfaces, we can simplify the ctdb process management so
that it always runs on truenas HA.
DeltaFile
+4-4src/middlewared/middlewared/plugins/smb.py
+1-3src/middlewared/middlewared/etc_files/ctdb/nodes.mako
+1-3src/middlewared/middlewared/plugins/etc.py
+4-0src/middlewared/middlewared/plugins/failover.py
+1-1src/middlewared/middlewared/etc_files/ctdb/ctdb.conf.mako
+11-115 files

LLVM/project f3a674aclang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGenOpenCL amdgpu-features.cl amdgpu-features-default-delta.cl

[RFC][Clang][AMDGPU] Emit only delta target-features to reduce IR bloat (#176533)

Currently, AMDGPU functions have `target-features` attribute populated
with all default features for the target GPU. This is redundant because
the backend can derive these defaults from the `target-cpu` attribute
via `AMDGPUTargetMachine::getFeatureString()`.

In this PR, for AMDGPU targets only:

- Functions without explicit target attributes no longer emit
`target-features`
- Functions with `__attribute__((target(...)))` or `-target-feature`
emit only features that differ from the target's defaults (delta)

The backend already handles missing `target-features` correctly by
falling back to the TargetMachine's defaults.

A new cc1 flag `-famdgpu-emit-full-target-features` is added to emit
full features when needed.

    [19 lines not shown]
DeltaFile
+0-117clang/test/CodeGenOpenCL/amdgpu-features.cl
+51-0clang/test/CodeGenOpenCL/amdgpu-features-default-delta.cl
+43-5clang/lib/CodeGen/CodeGenModule.cpp
+4-6clang/test/CodeGenOpenCL/amdgpu-readonly-features-written-with-no-target.cl
+4-4clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl
+2-2clang/test/OpenMP/amdgcn-attributes.cpp
+104-1342 files not shown
+107-1378 files

FreeBSD/src 6bb3f20sys/kern kern_ktrace.c

ktrace: do not enqueue request if the process' ktrioparams are freed

The p_ktrioparms are freed on termination of tracing.  Any ktr requests
added to the queue after that would hang there and leak on the struct
proc recycling, or trigger an assert in the process destructor for debug
builds.

Reported and tested by: pho
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D54804
DeltaFile
+8-2sys/kern/kern_ktrace.c
+8-21 files

FreeNAS/freenas c21758asrc/middlewared/middlewared/utils tdb.py

Simplify TDB handle validation

Since NAS-139387 we now have access to the tdb_fd through
the samba python tdb bindings and so we can directly check
whether our handle is still valid.
DeltaFile
+4-12src/middlewared/middlewared/utils/tdb.py
+4-121 files

FreeBSD/src b19f74ccrypto/openssh includes.h

openssh: Include <fcntl.h> explicitly in includes.h

This was previously included due to nested includes in Heimdal's
headers.  Without this, the build fails with an error due to redefining
AT_FDCWD.

clang:

In file included from crypto/openssh/sshd-session.c:46:
/usr/obj/.../tmp/usr/include/fcntl.h:232:9: error: 'AT_FDCWD' macro redefined [-Werror,-Wmacro-redefined]
  232 | #define AT_FDCWD                -100
      |         ^
crypto/openssh/openbsd-compat/bsd-misc.h:69:10: note: previous definition is here
   69 | # define AT_FDCWD (-2)
      |          ^

GCC (can't be disabled):

In file included from crypto/openssh/sshd-session.c:46:

    [14 lines not shown]
DeltaFile
+3-0crypto/openssh/includes.h
+3-01 files

FreeBSD/src 7904194crypto/openssh ssh_namespace.h, crypto/openssh/openbsd-compat libressl-api-compat.c

openssh: Don't include an unused EVP_CIPHER_CTX_get_iv() stub

This stub isn't actually used on modern versions of OpenSSL for which
OpenSSH uses EVP_CIPHER_CTX_get_updated_iv instead via a wrapper macro.

However, the wrapper macro conflicted with the existing namespace
macro triggering an error on GCC:

In file included from crypto/openssh/sshd-session.c:65:
crypto/openssh/openbsd-compat/openssl-compat.h:71:11: error: "EVP_CIPHER_CTX_get_iv" redefined [-Werror]
   71 | #  define EVP_CIPHER_CTX_get_iv EVP_CIPHER_CTX_get_updated_iv
      |           ^~~~~~~~~~~~~~~~~~~~~
In file included from <command-line>:
crypto/openssh/ssh_namespace.h:12:9: note: this is the location of the previous definition
   12 | #define EVP_CIPHER_CTX_get_iv                   Fssh_EVP_CIPHER_CTX_get_iv
      |         ^~~~~~~~~~~~~~~~~~~~~

The error was masked on clang due to MIT krb5 adding a blanket
-Wno-macro-redefined.  Building sshd-session without Kerberos support

    [6 lines not shown]
DeltaFile
+5-3crypto/openssh/openbsd-compat/libressl-api-compat.c
+0-1crypto/openssh/ssh_namespace.h
+5-42 files

FreeBSD/src e5e98c2crypto/openssh monitor.c sshd-session.c

openssh: blocklist: Use NetBSD probes

Use NetBSD probe locations for consistency.  We have submitted all
improved or missing probes, keeping them synchronized with NetBSD (our
blocklist upstream) should simplify upgrades and maintenance, as the
locations of these probes are a moving target, depending on upstream
OpenSSH changes.

Additionally, use BLACKLIST_AUTH_FAIL exclusively for now.  At the time
of this commit BLACKLIST_BAD_USER, is a no-op.  However, it will change
in a future upgrade.

Also, enhance blacklist notification messages for better debugging by
making them more descriptive.

Reviewed by:    emaste
Approved by:    emaste (mentor)
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D52749

    [5 lines not shown]
DeltaFile
+12-2crypto/openssh/monitor.c
+9-4crypto/openssh/sshd-session.c
+4-2crypto/openssh/auth.c
+1-4crypto/openssh/auth2.c
+2-2crypto/openssh/auth-pam.c
+0-2crypto/openssh/packet.c
+28-166 files

FreeBSD/src 7ca599acrypto/openssh ChangeLog sshd-auth.c, crypto/openssh/regress/misc/ssh-verify-attestation ssh-verify-attestation.c

OpenSSH: Update to 10.0p2

Full release notes are available at
https://www.openssh.com/txt/release-10.0

Selected highlights from the release notes:

Potentially-incompatible changes

- This release removes support for the weak DSA signature algorithm.
  [This change was previously merged to FreeBSD main.]

- This release has the version number 10.0 and announces itself as
  "SSH-2.0-OpenSSH_10.0".  Software that naively matches versions using
  patterns like "OpenSSH_1*" may be confused by this.

- sshd(8): this release removes the code responsible for the user
  authentication phase of the protocol from the per-connection
  sshd-session binary to a new sshd-auth binary.

    [17 lines not shown]
DeltaFile
+1,864-1,164crypto/openssh/ChangeLog
+888-0crypto/openssh/sshd-auth.c
+433-411crypto/openssh/moduli
+433-0crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
+260-140crypto/openssh/sshd.c
+120-212crypto/openssh/sshd-session.c
+3,998-1,927128 files not shown
+6,483-3,098134 files

LLVM/project 51e2c82offload/liboffload/src OffloadImpl.cpp

[OFFLOAD] Add a check before calling dataExchange (#176853)

Per documentation the call to dataExchange API (move memory block
between different devices) is permitted only if isDataExchangable() call
returned true. While almost all platforms support memory transfer
between different devices, in the case when the transfer is attempted
between devices belonging to different platforms if they are present on
the same machine which can lead to unexpected results. This PR adds a
check if dataExchange can be called and if not uses a workaround by
initiating memory transfer through host.
DeltaFile
+19-1offload/liboffload/src/OffloadImpl.cpp
+19-11 files

FreeNAS/freenas 62052c5src/middlewared/middlewared/plugins filesystem.py

Flush the pwenc file on receive
DeltaFile
+2-0src/middlewared/middlewared/plugins/filesystem.py
+2-01 files

FreeNAS/freenas f5a9513src/middlewared/middlewared/plugins config.py

Flake8 fix
DeltaFile
+1-2src/middlewared/middlewared/plugins/config.py
+1-21 files

LLVM/project 636dab0clang Maintainers.rst

Move Tom Honermann to the inactive maintainers list (#176965)

While reaching out to folks for a maintainers list refresh, Tom asked to
step down due to other commitments. Thank you for all your help!
DeltaFile
+1-3clang/Maintainers.rst
+1-31 files

LLVM/project f98be99bolt/docs BinaryAnalysis.md

Describe extending PtrAuth gadget scanner
DeltaFile
+22-0bolt/docs/BinaryAnalysis.md
+22-01 files

LLVM/project 67b09fbbolt/docs BinaryAnalysis.md

Document more known issues
DeltaFile
+101-2bolt/docs/BinaryAnalysis.md
+101-21 files

HardenedBSD/src cd2eb12libexec/rc rc.subr

Merge branch 'required_modules_jails' into 'hardened/current/master'

HBSD: rc.subr: Ignore required_modules failures in jails

See merge request hardenedbsd/HardenedBSD!116
DeltaFile
+1-1libexec/rc/rc.subr
+1-11 files

LLVM/project 2ed6c5cllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle fptrunc in SimplifyDemandedFPClass

Also handle llvm.fptrunc.round since it's the same.
DeltaFile
+60-30llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc.ll
+60-28llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc-round.ll
+41-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+14-0llvm/lib/Support/KnownFPClass.cpp
+1-9llvm/lib/Analysis/ValueTracking.cpp
+3-0llvm/include/llvm/Support/KnownFPClass.h
+179-676 files

LLVM/project e7ad0b4llvm/test/CodeGen/RISCV clmul.ll, llvm/test/CodeGen/X86 clmul-vector.ll

Merge branch 'main' into users/vangthao95/globalisel-smed3-cvt-pk-i16-i32-patch-2
DeltaFile
+12,546-0llvm/test/CodeGen/RISCV/clmul.ll
+5,892-5,598llvm/test/CodeGen/X86/clmul-vector.ll
+4,065-1,302llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
+3,137-2,053mlir/utils/vscode/package-lock.json
+0-4,569llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp8.txt
+3,157-0llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp8-fake16.txt
+28,797-13,5221,225 files not shown
+70,377-33,5401,231 files

FreeNAS/freenas c5cca65src/middlewared/middlewared/plugins pwenc.py config.py

Shift the config setup to setup of pwenc plugin

We want all pwenc operations consolidated into one method to
avoid potentially bad interactions.
DeltaFile
+46-1src/middlewared/middlewared/plugins/pwenc.py
+0-31src/middlewared/middlewared/plugins/config.py
+46-322 files

NetBSD/pkgsrc mtZm8g5doc/guide/files components.xml

   doc/guide: Back out unintended change (draft from a while ago)
VersionDeltaFile
1.67+40-64doc/guide/files/components.xml
+40-641 files

FreeNAS/freenas e160f71src/middlewared/middlewared/plugins pwenc.py config.py

Shift the config setup to setup of pwenc plugin

We want all pwenc operations consolidated into one method to
avoid potentially bad interactions.
DeltaFile
+36-0src/middlewared/middlewared/plugins/pwenc.py
+0-31src/middlewared/middlewared/plugins/config.py
+36-312 files

LLVM/project 4355895llvm/lib/Target/Hexagon HexagonVectorCombine.cpp, llvm/test/CodeGen/Hexagon vector-load-group-min-threshold.ll

[Hexagon[ Optimize HVXVectorCombine:Limit Conversion for Unaligned Loads (#176457)

The current implementation of HVXVectorCombine converts unaligned loads
to aligned ones if adjacency is proven. However, this does not account
for the cost of extra loads whether it is amortized or not, leading to
performance regressions in certain cases. This change prevents
performance regressions by avoiding unnecessary conversions for few
numbers of contiguous unaligned loads.

Patch By: Fateme Hosseini

Co-authored-by: Prasoon Mishra <prasmish at hu-prasmish-hyd.qualcomm.com>
Co-authored-by: Prasoon Mishra <prasmish at qti.qualcomm.com>
DeltaFile
+9-48llvm/test/CodeGen/Hexagon/autohvx/vector-align-tbaa.ll
+53-0llvm/test/CodeGen/Hexagon/vector-load-group-min-threshold.ll
+11-14llvm/test/CodeGen/Hexagon/autohvx/vector-align-basic.ll
+8-2llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
+1-1llvm/test/CodeGen/Hexagon/autohvx/vector-align-bad-move.ll
+1-1llvm/test/CodeGen/Hexagon/autohvx/vector-align-addr.ll
+83-662 files not shown
+85-688 files

LLVM/project 7bee6c1clang/lib/CIR/Dialect/Transforms CXXABILowering.cpp, clang/lib/CIR/Dialect/Transforms/TargetLowering LowerItaniumCXXABI.cpp CIRCXXABI.h

[CIR] Upstream handling for member pointer bool and reinterpret casts (#175996)

This change upstreams the code to generate CIR for bool casts and
reinterpret casts involving member pointer types and the code to lower
these casts for the Itanium C++ ABI.
DeltaFile
+71-0clang/test/CIR/CodeGen/pointer-to-member-func-cast.cpp
+61-0clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerItaniumCXXABI.cpp
+55-0clang/test/CIR/CodeGen/pointer-to-data-member-cast.cpp
+40-2clang/lib/CIR/Dialect/Transforms/CXXABILowering.cpp
+27-0clang/test/CIR/IR/invalid-cast.cir
+18-0clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRCXXABI.h
+272-23 files not shown
+287-49 files

LLVM/project 5fdac76llvm/test/CodeGen/AMDGPU/GlobalISel combine-short-clamp.ll

Change uniform test to return add result.
DeltaFile
+16-2llvm/test/CodeGen/AMDGPU/GlobalISel/combine-short-clamp.ll
+16-21 files

HardenedBSD/ports c605fabnet/tayga Makefile

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-5net/tayga/Makefile
+0-51 files

HardenedBSD/ports 41a4402devel/folly pkg-plist, devel/py-qcs-sdk-python distinfo Makefile

Merge remote-tracking branch 'internal/freebsd/main' into hardenedbsd/main

Conflicts:
        net/tayga/Makefile (unresolved)
DeltaFile
+797-621multimedia/youtui/distinfo
+695-605devel/py-qcs-sdk-python/distinfo
+398-311multimedia/youtui/Makefile
+353-305devel/py-qcs-sdk-python/Makefile
+605-6devel/folly/pkg-plist
+47-73shells/atuin/distinfo
+2,895-1,921147 files not shown
+3,537-2,506153 files

LLVM/project d35960ebolt/test/binary-analysis/AArch64 gs-pacret.s gs-pacret-autiasp.s

[BOLT] Update obsolete test cases of llvm-bolt-binary-analysis

Drop obsolete FIXME and `f_detect_clobbered_x30_passed_to_other` test
case in `gs-pacret-autiasp.s` - checking that LR is trusted before tail
call was implemented long ago (enabled with `--scanners=pauth`).
Furthermore, this particular test case is almost identical to
`bad_direct_tailcall_not_auted` from `gs-pauth-tail-calls.s`.

Drop TODO from `gs-pacret-multi-bb.s`, as currently there are `_nocfg`
test cases in `gs-pacret-autiasp.s`.

Merge `gs-pacret-autiasp.s` and `gs-pacret-multi-bb.s` to `gs-pacret.s`,
as the tests added later place `_nocfg` and `_multi_bb` test cases
into the same file.
DeltaFile
+1,024-0bolt/test/binary-analysis/AArch64/gs-pacret.s
+0-973bolt/test/binary-analysis/AArch64/gs-pacret-autiasp.s
+0-74bolt/test/binary-analysis/AArch64/gs-pacret-multi-bb.s
+2-0bolt/test/binary-analysis/AArch64/gs-pauth-tail-calls.s
+1,026-1,0474 files

LLVM/project 848d736offload/liboffload/API Queue.td, offload/liboffload/src OffloadImpl.cpp

[OFFLOAD] Add asynchronous queue query API for libomptarget migration (#172231)

Add liboffload asynchronous queue query API for libomptarget migration

This PR adds liboffload asynchronous queue query API that needed to make
libomptarget to use liboffload
DeltaFile
+24-0offload/unittests/OffloadAPI/queue/olQueryQueue.cpp
+14-4offload/plugins-nextgen/level_zero/src/L0Device.cpp
+11-4offload/plugins-nextgen/cuda/src/rtl.cpp
+11-3offload/plugins-nextgen/amdgpu/src/rtl.cpp
+12-0offload/liboffload/API/Queue.td
+9-0offload/liboffload/src/OffloadImpl.cpp
+81-115 files not shown
+97-1811 files

LLVM/project 9040212clang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp, clang/test/CIR/CodeGenBuiltins/X86 ms-x86-intrinsics.c

[CIR][X86]Implement handling for shiftleft/shiftright builtins in CIR (#176653)

Related to: #167765

---------

Co-authored-by: Roberto Turrado Camblor <rturrado at gmail.com>
DeltaFile
+49-0clang/test/CIR/CodeGenBuiltins/X86/ms-x86-intrinsics.c
+17-4clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+66-42 files