LLVM/project e2fc1e7llvm/lib/Target/LoongArch LoongArchISelLowering.cpp LoongArchISelLowering.h, llvm/test/CodeGen/LoongArch set-rounding.ll isel-set-invalid-rounding.ll

[LoongArch] Support ISD::SET_ROUNDING (llvm.set.rounding) (#206395)

Fix https://github.com/llvm/llvm-project/issues/205039.

The LoongArch FCSR RM field supports four rounding modes, whose
encodings differ from LLVM's rounding mode values:
  FCSR: 0=RNE, 1=RZ,  2=RP,  3=RM
  LLVM: 0=RTZ, 1=RNE, 2=RUP, 3=RDN

For LLVM rounding mode 4, round to nearest with ties away from zero,
diagnose an error when it is a constant.

---------

Co-authored-by: tangyuan0821 <tangyuan0821 at email.cn>
DeltaFile
+75-0llvm/test/CodeGen/LoongArch/set-rounding.ll
+60-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+12-0llvm/test/CodeGen/LoongArch/isel-set-invalid-rounding.ll
+1-0llvm/lib/Target/LoongArch/LoongArchISelLowering.h
+148-04 files

LLVM/project a282899flang/test/Driver linker-options.f90

fixup! [Clang] Switch to Default PIE on FreeBSD
DeltaFile
+8-8flang/test/Driver/linker-options.f90
+8-81 files

LLVM/project 6df6a33flang/test/Driver linker-options.f90

fixup! [clang] Rename CLANG_DEFAULT_PIE_ON_LINUX to CLANG_DEFAULT_PIE
DeltaFile
+8-8flang/test/Driver/linker-options.f90
+8-81 files

LLVM/project 0a70352flang/test/Driver linker-options.f90

fixup! [clang] Rename CLANG_DEFAULT_PIE_ON_LINUX to CLANG_DEFAULT_PIE
DeltaFile
+8-8flang/test/Driver/linker-options.f90
+8-81 files

FreeBSD/src 08cda4bshare/man/man4 ktls.4, sys/kern uipc_ktls.c

ktls: Add a tunable to disable TLS receive

TLS receive offload is really only beneficial for in-kernel use cases
(such as NFS over TLS) or when using a hardware offload.  In addition,
several recent SAs have involved the TLS receive path, but the only
current mitigation for those is to disable TLS offload entirely.

Reviewed by:    ziaee, gallatin, markj
Relnotes:       yes
Sponsored by:   Netflix
Sponsored by:   Chelsio Communications
Co-authored-by: John Baldwin <jhb at FreeBSD.org>
Differential Revision:  https://reviews.freebsd.org/D57974
DeltaFile
+58-32tests/sys/kern/ktls_test.c
+6-1sys/kern/uipc_ktls.c
+3-1share/man/man4/ktls.4
+67-343 files

FreeBSD/src 9cee481sys/kern uipc_ktls.c

ktls: Centralize the check for CBC ciphers

Move the check out of ktls_enable_(rx|tx) and into ktls_create_session.

Reviewed by:    gallatin, markj
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D57973
DeltaFile
+3-6sys/kern/uipc_ktls.c
+3-61 files

LLVM/project a5b0b1dllvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp AMDGPUMCResourceInfo.cpp

[AMDGPU] Introduce ABI occupancy for object linking

This PR introduces ABI occupancy as the contract used to compile functions under
object linking. The default is derived from the occupancy needed for a 1024
workitem workgroup, can be overridden with `-amdgpu-abi-waves-per-eu`, and can
be overridden per function by `amdgpu-flat-work-group-size` or tightened by an
accepted `amdgpu-waves-per-eu` hint.

The backend emits the selected occupancy in `.amdgpu.info` and uses it to
enforce the object linking register budget.
DeltaFile
+67-35llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+56-7llvm/docs/AMDGPUUsage.rst
+34-3llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.cpp
+32-2llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
+34-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-preserves-attr.ll
+31-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-kernel-no-attr.ll
+254-4715 files not shown
+446-4821 files

LLVM/project e62ce24lld/ELF AMDGPUObjectLinking.cpp, lld/test/ELF amdgpu-lds-link-time-ordering-multigroup.s amdgpu-lds-link-time-random-layout.s

[RFC][AMDGPU][lld] Add object linking support

Add AMDGPU ELF object-linking support in lld, including resource propagation,
LDS layout, indirect-call handling, named-barrier updates, target compatibility
checks, and kernel descriptor/metadata patching.

This is a large PR because the linker needs to understand and validate several
AMDGPU object-linking concepts end to end. I tried to keep the changes scoped to
the necessary linker support and related metadata plumbing, but I'm open to
suggestions on how to split or structure the review to make it easier.
DeltaFile
+1,914-0lld/ELF/AMDGPUObjectLinking.cpp
+505-0lld/test/ELF/amdgpu-lds-link-time-ordering-multigroup.s
+432-0lld/test/ELF/amdgpu-lds-link-time-random-layout.s
+425-0lld/test/ELF/amdgpu-lds-link-time-grouped.s
+402-0lld/test/ELF/amdgpu-lds-link-time-ordering-complex.s
+400-0lld/test/ELF/amdgpu-resource-usage.s
+4,078-044 files not shown
+9,698-450 files

OpenBSD/src a9cfUawsbin/reboot reboot.c

   fix openlog() arguments, LOG_CONS should not be or'd into facility
   from Ricardo Branco
VersionDeltaFile
1.39+3-3sbin/reboot/reboot.c
+3-31 files

FreeBSD/ports f96acb2security/vuxml/vuln 2026.xml

security/vuxml: add FreeBSD SAs issued on 2026-06-30

FreeBSD-SA-26:37.vm affects all supported releases
FreeBSD-SA-26:38.jail affects 15.0R and 15.1R
FreeBSD-SA-26:39.execve affects all supported releases
FreeBSD-SA-26:40.zfs affects all supported releases
FreeBSD-SA-26:41.libalias affects all supported releases
FreeBSD-SA-26:42.unlinkat affects all supported releases
FreeBSD-SA-26:43.tcp affects all supported releases
FreeBSD-SA-26:44.posixshm affects all supported releases
FreeBSD-SA-26:45.audit affects all supported releases
FreeBSD-SA-26:46.ktls affects all supported releases
FreeBSD-SA-26:47.linux affects 14.3R, 14.4R and 15.0R
FreeBSD-SA-26:48.compat32 affects 14.3R, 14.4R and 15.0R
FreeBSD-SA-26:49.iconv affects all supported releases
DeltaFile
+480-0security/vuxml/vuln/2026.xml
+480-01 files

FreeBSD/ports 805e608security/openconnect Makefile distinfo, security/openconnect/files patch-openconnect-internal.h

security/openconnect: Update 9.12 => 9.21

Changelog:
https://www.infradead.org/openconnect/changelog.html

- Remove unnecessary GNU_CONFIGURE_MANPREFIX.
- Fix warnings from portclippy.
- Add P11KIT option.

PR:             296085
Approved by:    zi (maintainer, timeout 2 weeks)
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
MFH:            2026Q2

(cherry picked from commit 9fdee93d72012d505371d25f8b5bc9a4242bde0c)
DeltaFile
+29-25security/openconnect/Makefile
+8-16security/openconnect/files/patch-openconnect-internal.h
+3-3security/openconnect/distinfo
+40-443 files

FreeBSD/ports 9fdee93security/openconnect Makefile distinfo, security/openconnect/files patch-openconnect-internal.h

security/openconnect: Update 9.12 => 9.21

Changelog:
https://www.infradead.org/openconnect/changelog.html

- Remove unnecessary GNU_CONFIGURE_MANPREFIX.
- Fix warnings from portclippy.
- Add P11KIT option.

PR:             296085
Approved by:    zi (maintainer, timeout 2 weeks)
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
MFH:            2026Q2
DeltaFile
+29-25security/openconnect/Makefile
+8-16security/openconnect/files/patch-openconnect-internal.h
+3-3security/openconnect/distinfo
+40-443 files

FreeBSD/src 43b1adelib/libpkgconf Makefile, lib/libpkgconf/libpkgconf config.h

pkgconf: match the update to version 2.9.93

This update brings spdxtool(1), with the ability to generate software
bill of material files (SBOM) in the SPDX 3.0.1 format (JSON-LD).

Reviewed by:    markj
Approved by:    markj
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D57953
DeltaFile
+58-35lib/libpkgconf/libpkgconf/config.h
+29-4lib/libpkgconf/Makefile
+30-0usr.bin/spdxtool/Makefile
+4-4packages/pkgconf/pkgconf.ucl
+2-0usr.bin/pkgconf/Makefile
+1-0usr.bin/Makefile
+124-431 files not shown
+125-437 files

LLVM/project c7e2809clang/lib/Sema SemaInit.cpp SemaExpr.cpp, clang/test/AST/HLSL ConstantBuffers-AST.hlsl ConstantBuffers-AST-error.hlsl

[HLSL] Enable conversion of ConstantBuffer<T> to T (#205996)

HLSL allows assigning a `ConstantBuffer<T>` to an object of type `T`.
This change adds support for this.

Fixes #195093
DeltaFile
+255-0clang/test/CodeGenHLSL/resources/ConstantBufferT-struct-passing.hlsl
+31-0clang/test/AST/HLSL/ConstantBuffers-AST.hlsl
+29-1clang/lib/Sema/SemaInit.cpp
+0-24clang/test/AST/HLSL/ConstantBuffers-AST-error.hlsl
+0-23clang/test/CodeGenHLSL/cbuffer_copy_layout.hlsl
+14-4clang/lib/Sema/SemaExpr.cpp
+329-526 files not shown
+344-6312 files

FreeBSD/src 592efe2contrib/pkgconf/cli main.c core.c, contrib/pkgconf/cli/spdxtool core.c

Merge commit '0cf7106da9f36671ef62142c27de98eee9d874d6' into khorben/pkgconf-2.9.93
DeltaFile
+173-1,493contrib/pkgconf/cli/main.c
+1,585-0contrib/pkgconf/tests/test-runner.c
+1,464-0contrib/pkgconf/cli/core.c
+194-975contrib/pkgconf/libpkgconf/win-dirent.h
+475-447contrib/pkgconf/libpkgconf/pkg.c
+854-0contrib/pkgconf/cli/spdxtool/core.c
+4,745-2,915542 files not shown
+24,800-6,437548 files

NetBSD/src OZVCckcsys/arch/ofppc/conf EFIKA

   Add kernel config for EFIKA 5200B. The board is supported now.
VersionDeltaFile
1.1+271-0sys/arch/ofppc/conf/EFIKA
+271-01 files

FreeBSD/src bb1e071sys/dev/asmc asmc.c asmcmmio.c

asmc: try PIO before MMIO to avoid false T2 detection

Add hw.asmc.system-state and hw.asmc.board-id read-only sysctls to
expose the T2 system state register and Mac board identifier via SMC.

Try PIO access before MMIO during probe to prevent false T2 detection
on Macs that happen to have something mapped at the T2 BAR address.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D57844
DeltaFile
+34-27sys/dev/asmc/asmc.c
+1-1sys/dev/asmc/asmcmmio.c
+1-1sys/dev/asmc/asmcvar.h
+36-293 files

FreeBSD/src a2d087bsys/net80211 ieee80211_crypto.c

net80211: fix CCMP/GCMP AAD for MFP frames

Update ieee80211_crypto_init_aad() to do what 802.11-2020 says -
only mask fc[0] bits 4-6 on data frames, not on management frames.
This (with other diffs to actually negotiate MFP and configure
ath(4) for MFP + software keys) allows the CCMP path to decrypt
CCMP MFP frames in the software path.

Differential Revision:  https://reviews.freebsd.org/D57799
DeltaFile
+7-2sys/net80211/ieee80211_crypto.c
+7-21 files

FreeBSD/src 126f82asys/dev/asmc asmc.c

asmc: deduplicate sensor converters and cause sysctls

Replace per-type spXX_to_milli() functions with a table-driven
asmc_sensor_convert() that looks up the divisor by SMC type string.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D57854
DeltaFile
+46-109sys/dev/asmc/asmc.c
+46-1091 files

LLVM/project f9f4331libc/shared builtins.h, libc/shared/builtins muldf3.h

[libc] add shared muldf3 builtin (#205674)

Re-exposes LLVM-libc's `__muldf3` as `shared::muldf3` for reuse by
compiler-rt's builtins.

Stacked change - merge these first:
- #200094
- #205669
- #205670
- #205671
- #205672
- #205673

Part of #197824
DeltaFile
+32-0libc/src/__support/builtins/muldf3.h
+29-0libc/shared/builtins/muldf3.h
+9-0libc/src/__support/builtins/CMakeLists.txt
+1-0libc/shared/builtins.h
+1-0libc/test/shared/CMakeLists.txt
+1-0libc/test/shared/shared_builtins_test.cpp
+73-06 files

FreeBSD/src 6a1bd52sys/dev/asmc asmc.c asmcvar.h

asmc: add system state and board identity sysctls

Add dev.asmc.0.system subtree with read-only sysctls for SMC diagnostic
and identity keys: shutdown_cause (MSSD), sleep_cause (MSSP),
thermal_status (MSAL), time_of_day (CLKT), power_state (MSPS),
board_id (RPlt), and chip_gen (RGEN).

Each sysctl is registered only if the key exists on the hardware.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D57853
DeltaFile
+220-0sys/dev/asmc/asmc.c
+86-0sys/dev/asmc/asmcvar.h
+306-02 files

FreeBSD/ports 468bc70. UPDATING

UPDATING: Add description how to migrate from audio/murmur to audio/mumble-server

Sponsored by:   UNIS Labs
DeltaFile
+31-0UPDATING
+31-01 files

OpenBSD/src cNxzNaDusr.bin/ssh ssh.1

   ssh -o doesn't support Host or Include options, they are only
   valid in the config file. bz3968 from xspielinbox
VersionDeltaFile
1.449+2-4usr.bin/ssh/ssh.1
+2-41 files

NetBSD/src 9QpNxuBsys/arch/powerpc/mpc5200 mpc5200_ac97.c

   Add debugging to MPC5200B AC97 driver.

   An attempt to hunt down rare cold boot race.
VersionDeltaFile
1.2+26-7sys/arch/powerpc/mpc5200/mpc5200_ac97.c
+26-71 files

NetBSD/src Ui0b2ucsys/arch/powerpc/conf files.ofw, sys/arch/powerpc/oea ofw_subr.S

   Introduce EFIKA_OFW_WORKAROUNDS - patch OFW trampoline for EFIKA.

   Long story short, is that SmartFirmware (EFIKA's OpenFirmware) misbehaves
   on every OF call from the kernel by zeroing SDR1 and messing with BATs.

   In the olden days, these problems were worked around with FIRMWORKSBUGS
   option. However, that option does not work currently on EFIKA. Presumaly,
   something has changed between 2012 and now, which causes FIRMWORKSBUGS
   to hang on SmartFirmware very early (before NetBSD copyright banner is
   printed).

   So we get this kludge, which only does the bare minimum to let OFW
   call succeed, and the kernel continue after the call.
VersionDeltaFile
1.21+48-1sys/arch/powerpc/oea/ofw_subr.S
1.7+9-1sys/arch/powerpc/conf/files.ofw
+57-22 files

FreeBSD/doc 4eb8e14website/content/en/releases/14.3R errata.adoc, website/content/en/releases/14.4R errata.adoc

Add errata affecting 14.3R, 14.4R, 15.0R and 15.1R

FreeBSD-EN-26:16.arm64 affects all supported releases
FreeBSD-EN-26:17.rpcsec_tls affects 15.0R and 15.1R
DeltaFile
+2-3website/content/en/releases/15.1R/errata.adoc
+2-0website/content/en/releases/15.0R/errata.adoc
+1-0website/content/en/releases/14.3R/errata.adoc
+1-0website/content/en/releases/14.4R/errata.adoc
+6-34 files

FreeBSD/doc c825b69website/content/en/releases/14.3R errata.adoc, website/content/en/releases/14.4R errata.adoc

Add security advisories affecting 14.3R, 14.4R, 15.0R and 15.1R

FreeBSD-SA-26:37.vm affects all supported releases
FreeBSD-SA-26:38.jail affects 15.0R and 15.1R
FreeBSD-SA-26:39.execve affects all supported releases
FreeBSD-SA-26:40.zfs affects all supported releases
FreeBSD-SA-26:41.libalias affects all supported releases
FreeBSD-SA-26:42.unlinkat affects all supported releases
FreeBSD-SA-26:43.tcp affects all supported releases
FreeBSD-SA-26:44.posixshm affects all supported releases
FreeBSD-SA-26:45.audit affects all supported releases
FreeBSD-SA-26:46.ktls affects all supported releases
FreeBSD-SA-26:47.linux affects 14.3R, 14.4R and 15.0R
FreeBSD-SA-26:48.compat32 affects 14.3R, 14.4R and 15.0R
FreeBSD-SA-26:49.iconv affects all supported releases
DeltaFile
+11-3website/content/en/releases/15.1R/errata.adoc
+13-0website/content/en/releases/15.0R/errata.adoc
+12-0website/content/en/releases/14.4R/errata.adoc
+12-0website/content/en/releases/14.3R/errata.adoc
+48-34 files

LLVM/project 443d933libunwind/src Unwind-wasm.c

[libunwind] Fix comment about phase (NFC) (#206660)

We switched to use `_UA_SEARCH_PHASE` in
https://github.com/emscripten-core/emscripten/pull/17991, but the
comment above was not fixed, and it was upstreamed that way later.
DeltaFile
+1-1libunwind/src/Unwind-wasm.c
+1-11 files

OpenBSD/src YZCexVxusr.bin/ssh ssh-keygen.c

   mention mldsa44-ed25519 in usage();
   based on GHPR695 from Loganaden Velvindron
VersionDeltaFile
1.492+2-2usr.bin/ssh/ssh-keygen.c
+2-21 files

LLVM/project bc59f8fllvm/lib/ExecutionEngine/Orc InProcessEPC.cpp

[ORC] Add missing std::move. (#206859)

This should fix the build failure at
https://lab.llvm.org/buildbot/#/builders/116/builds/29995.
DeltaFile
+1-1llvm/lib/ExecutionEngine/Orc/InProcessEPC.cpp
+1-11 files