LLVM/project bbc3af0llvm/tools/dsymutil dsymutil.cpp

[dsymutil] Add missing newlines in error messages. (#115191)

Errors like "cannot create bundle: Not a directory" or "error:
a.out.dSYM: Is a directory" were being emitted without a newline.
DeltaFile
+2-2llvm/tools/dsymutil/dsymutil.cpp
+2-21 files

LLVM/project cacbe71llvm/include/llvm/Analysis LastRunTrackingAnalysis.h, llvm/lib/Analysis LastRunTrackingAnalysis.cpp

[Analysis] Avoid running transform passes that have just been run (#112092)

This patch adds a new analysis pass to track a set of passes and their
parameters to see if we can avoid running transform passes that have
just been run. The current implementation only skips redundant
InstCombine runs. I will add support for other passes in follow-up
patches.

RFC link:
https://discourse.llvm.org/t/rfc-pipeline-avoid-running-transform-passes-that-have-just-been-run/82467

Compile time improvement:
http://llvm-compile-time-tracker.com/compare.php?from=76007138f4ffd4e0f510d12b5e8cad529c21f24d&to=64134cf07ea7eb39c60320087c0c5afdc16c3a2b&stat=instructions%3Au
DeltaFile
+117-0llvm/unittests/Analysis/LastRunTrackingAnalysisTest.cpp
+107-0llvm/include/llvm/Analysis/LastRunTrackingAnalysis.h
+51-0llvm/lib/Analysis/LastRunTrackingAnalysis.cpp
+13-1llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+5-3llvm/test/Transforms/Coroutines/coro-retcon-opaque-ptr.ll
+4-2llvm/test/Transforms/Coroutines/coro-retcon.ll
+297-614 files not shown
+313-620 files

LLVM/project f6617d6llvm/include/llvm/IR DebugInfoMetadata.h, llvm/lib/IR DebugInfoMetadata.cpp LLVMContextImpl.h

[DebugInfo] Add num_extra_inhabitants to debug info (#112590)

An extra inhabitant is a bit pattern that does not represent a valid
value for instances of a given type. The number of extra inhabitants is
the number of those bit configurations.

This is used by Swift to save space when composing types. For example,
because Bool only needs 2 bit patterns to represent all of its values
(true and false), an Optional<Bool> only occupies 1 byte in memory by
using a bit configuration that is unused by Bool. Which bit patterns are
unused are part of the ABI of the language.

Since Swift generics are not monomorphized, by using dynamic libraries
you can have generic types whose size, alignment, etc, are known only
at runtime (which is why this feature is needed).

This patch adds num_extra_inhabitants to LLVM-IR debug info and in DWARF
as an Apple extension.
DeltaFile
+79-52llvm/include/llvm/IR/DebugInfoMetadata.h
+34-34llvm/unittests/IR/DebugTypeODRUniquingTest.cpp
+28-25llvm/lib/IR/DebugInfoMetadata.cpp
+41-0llvm/test/DebugInfo/AArch64/num_extra_inhabitants.ll
+20-16llvm/unittests/IR/MetadataTest.cpp
+18-8llvm/lib/IR/LLVMContextImpl.h
+220-1359 files not shown
+280-15815 files

LLVM/project cc4a772llvm/lib/Target/AMDGPU AMDGPULowerKernelAttributes.cpp AMDGPUSubtarget.cpp, llvm/test/CodeGen/AMDGPU amdgpu-max-num-workgroups-load-annotate.ll

AMDGPU: Mark grid size loads with range metadata

Only handles the v5 case.
DeltaFile
+124-0llvm/test/CodeGen/AMDGPU/amdgpu-max-num-workgroups-load-annotate.ll
+29-4llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
+1-0llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
+154-43 files

LLVM/project eaf4a26llvm/lib/Target/AMDGPU AMDGPUAttributor.cpp

Remove fixup of 0
DeltaFile
+0-6llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+0-61 files

LLVM/project 7994c83llvm/lib/Target/AMDGPU AMDGPUAttributor.cpp

Check isValidState
DeltaFile
+1-1llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+1-11 files

LLVM/project 2ad2f35llvm/lib/Target/AMDGPU AMDGPUAttributor.cpp

Remove todo
DeltaFile
+0-1llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+0-11 files

LLVM/project dfe5c82llvm/test/CodeGen/AMDGPU attr-amdgpu-max-num-workgroups-propagate.ll

Add a shader entry test
DeltaFile
+10-0llvm/test/CodeGen/AMDGPU/attr-amdgpu-max-num-workgroups-propagate.ll
+10-01 files

LLVM/project 41bb72bllvm/lib/Target/AMDGPU AMDGPUAttributor.cpp

Comment parameter name
DeltaFile
+3-1llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+3-11 files

LLVM/project fd3ae0bllvm/lib/Target/AMDGPU AMDGPUAttributor.cpp, llvm/test/CodeGen/AMDGPU attr-amdgpu-max-num-workgroups-propagate.ll

AMDGPU: Propagate amdgpu-max-num-workgroups attribute

I'm not sure what the interpretation of 0 is supposed to be,
AMDGPUUsage doesn't say.
DeltaFile
+228-0llvm/test/CodeGen/AMDGPU/attr-amdgpu-max-num-workgroups-propagate.ll
+152-2llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+380-22 files

LLVM/project 3a5d957clang/test/CodeGenHIP default-attributes.hip

clang/AMDGPU: Restore O3 checks in default-attributes.hip

These were dropped in b1bcb7ca460fcd317bbc8309e14c8761bf8394e0 to
avoid some bot failures.
DeltaFile
+30-0clang/test/CodeGenHIP/default-attributes.hip
+30-01 files

FreeBSD/ports 59d5beacomms Makefile, comms/rtlbt-firmware pkg-plist Makefile

comms/rtlbt-firmware: New port

Firmware for the Realtek Bluetooth USB devices.
To be downloaded with rtlbtfw(8).

Sponsored by:   Future Crew LLC
Reviewed by:    arrowd
Differential Revision:  https://reviews.freebsd.org/D46740
DeltaFile
+38-0comms/rtlbt-firmware/pkg-plist
+30-0comms/rtlbt-firmware/Makefile
+4-0comms/rtlbt-firmware/pkg-descr
+3-0comms/rtlbt-firmware/distinfo
+1-0comms/Makefile
+76-05 files

FreeBSD/src 5036d96usr.sbin/bluetooth/rtlbtfw main.c rtlbt_fw.c

rtlbtfw: Firmware loader for Realtek 87XX/88XX bluetooth USB adaptors

Firmware files are available in the comms/rtlbt-firmware port.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D46739
DeltaFile
+525-0usr.sbin/bluetooth/rtlbtfw/main.c
+385-0usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
+373-0usr.sbin/bluetooth/rtlbtfw/rtlbtfw.conf
+236-0usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.c
+104-0usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.h
+100-0usr.sbin/bluetooth/rtlbtfw/rtlbtfw.8
+1,723-06 files not shown
+1,875-012 files

FreeBSD/src 24ae172sys/conf files, sys/modules/netgraph/bluetooth/ubt Makefile

ng_ubt(4): do not attach Realtek 87XX/88XX adaptors in bootloader mode.

Attempt to initialize FreeBSD bluetooth stack while such a device is in
bootloader mode locks the adapter hardly so it requires power on/off
cycle to restore.

This change blocks ng_ubt attachment unless operational firmware is
loaded thus preventing the lock up.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D46738
DeltaFile
+265-0sys/netgraph/bluetooth/drivers/ubt/ng_ubt_rtl.c
+2-2sys/modules/netgraph/bluetooth/ubt/Makefile
+3-0sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h
+3-0sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
+1-0sys/conf/files
+274-25 files

FreeBSD/src aa0b938usr.sbin/bluetooth/iwmbtfw iwmbt_hw.c iwmbt_hw.h

iwmbtfw(8): Ignore unexpected HCI events

If Intel firmware is already in operational mode at boot that takes
place at warm boot, BT adaptor can generate extra HCI events which
interferes with firmware mode detection logic. Ignore them.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D46737
DeltaFile
+46-12usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c
+6-0usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.h
+52-122 files

FreeBSD/src 0b23c50sys/netgraph/bluetooth/drivers/ubt ng_ubt.c ng_ubt_intel.c

ng_ubt_intel: Ignore unexpected HCI events

If Intel firmware is already in operational mode at boot that takes
place at warm boot, BT adaptor can generate extra HCI events which
interferes with firmware mode detection logic. Ignore them.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Reviewed by:    bz
Differential Revision:  https://reviews.freebsd.org/D46736
DeltaFile
+27-0sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
+3-2sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c
+30-22 files

FreeBSD/src c1643ceusr.sbin/bluetooth/iwmbtfw main.c iwmbt_hw.c

iwmbtfw(4): Add support for 9260/9560 bluetooth adaptors

Required firmware files are already included in to comms/iwmbt-firmware port

Sponsored by:   Future Crew LLC
MFC after:      1 month
Reviewed by:    bz
Differential Revision:  https://reviews.freebsd.org/D46735
DeltaFile
+257-72usr.sbin/bluetooth/iwmbtfw/main.c
+167-16usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c
+71-0usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.h
+21-0usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
+11-1usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.h
+3-2usr.sbin/bluetooth/iwmbtfw/iwmbtfw.conf
+530-912 files not shown
+534-938 files

FreeBSD/src 19a577esys/netgraph/bluetooth/drivers/ubt ng_ubt_intel.c

ng_ubt_intel: Allow to attach to 9260 bluetooth adaptors

with operational mode firmware.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Reviewed by:    bz
Differential Revision:  https://reviews.freebsd.org/D46734
DeltaFile
+68-1sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c
+68-11 files

FreeBSD/src d4cfad2sys/tools amd64_vdso.sh amd64_ia32_vdso.sh

amd64: do not pass -z rodynamic to ld.bfd when building vdso

(cherry picked from commit 3b2cf9381ef86847603c3c94811f638660c417ae)
DeltaFile
+7-2sys/tools/amd64_vdso.sh
+6-1sys/tools/amd64_ia32_vdso.sh
+13-32 files

LLVM/project bd3a395lldb/tools/debugserver/source/MacOSX MachProcess.mm

[lldb] Fix deprecated defines in debugserver (XROS -> VISIONOS) (NFC)
DeltaFile
+6-6lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+6-61 files

FreeNAS/freenas 2523dd0src/middlewared/middlewared/api/v24_10 cloud_sync.py, src/middlewared/middlewared/api/v25_04_0 cloud_sync_providers.py cloud_sync.py

Validate cloud credentials using pydantic and discriminator
DeltaFile
+181-0src/middlewared/middlewared/api/v25_04_0/cloud_sync_providers.py
+36-52src/middlewared/middlewared/plugins/cloud_sync.py
+63-0src/middlewared/middlewared/api/v24_10/cloud_sync.py
+17-30src/middlewared/middlewared/rclone/remote/s3.py
+0-44src/middlewared/middlewared/rclone/remote/swift.py
+30-8src/middlewared/middlewared/api/v25_04_0/cloud_sync.py
+327-13442 files not shown
+565-31148 files

Linux/linux ff7afaefs/nfs inode.c super.c, fs/nfs_common nfslocalio.c

Merge tag 'nfs-for-6.12-3' of git://git.linux-nfs.org/projects/anna/linux-nfs

Pull NFS client fixes from Anna Schumaker:
 "These are mostly fixes that came up during the nfs bakeathon the other
  week.

  Stable Fixes:
   - Fix KMSAN warning in decode_getfattr_attrs()

  Other Bugfixes:
   - Handle -ENOTCONN in xs_tcp_setup_socked()
   - NFSv3: only use NFS timeout for MOUNT when protocols are compatible
   - Fix attribute delegation behavior on exclusive create and a/mtime
     changes
   - Fix localio to cope with racing nfs_local_probe()
   - Avoid i_lock contention in fs_clear_invalid_mapping()"

* tag 'nfs-for-6.12-3' of git://git.linux-nfs.org/projects/anna/linux-nfs:
  nfs: avoid i_lock contention in nfs_clear_invalid_mapping

    [6 lines not shown]
DeltaFile
+47-23fs/nfs/inode.c
+18-5fs/nfs_common/nfslocalio.c
+9-1fs/nfs/super.c
+4-0fs/nfs/nfs4proc.c
+1-2fs/nfs/client.c
+2-1fs/nfs/localio.c
+81-322 files not shown
+84-338 files

LLVM/project d08772blibcxxabi CMakeLists.txt, libcxxabi/include CMakeLists.txt

Revert "[libc++abi] Stop copying headers to the build directory" (#115232)

Reverts llvm/llvm-project#115086

2-stage sanitizer build is not happy:
https://lab.llvm.org/buildbot/#/builders/25/builds/3915
DeltaFile
+13-0libcxxabi/include/CMakeLists.txt
+6-0libcxxabi/CMakeLists.txt
+19-02 files

OpenBSD/src xlEAY8iusr.sbin/vmd virtio.c vmm.c

   Fix vmd(8) logging to syslog(3) from child process.

   Log messages from vmd(8) child processes went to /dev/null.  Re-exec
   set the -n option, which in turn sets vmd_noaction and vmd_debug.
   Debugging means no more syslog(3), but stderr, which is /dev/null
   for a daemon.
   Remove -n from child re-exec, it does not have any effect except
   looging.  Pass on the -d flag when debugging.  The VMD_VERBOSE
   defines are more confusing than useful, just write -v like all the
   other options.  Rework creation of execvp arguments.  Do not use
   tab in syslog messages, space is sufficient.

   OK mlarkin@ hshoexer@ dv@
VersionDeltaFile
1.117+21-22usr.sbin/vmd/virtio.c
1.125+18-19usr.sbin/vmd/vmm.c
1.5+3-3usr.sbin/vmd/psp.c
1.131+1-5usr.sbin/vmd/vmd.h
+43-494 files

LLVM/project 7ef7c0dllvm/lib/Target/RISCV RISCVSchedSiFiveP600.td, llvm/test/tools/llvm-mca/RISCV/SiFiveP600 div.s

[RISCV] Refine vector division latencies in SiFive P600's scheduling model (#115038)

For both vector integer and floating point divisions.

Co-authored-by: Yeting Kuo <yeting.kuo at sifive.com>
DeltaFile
+1,012-0llvm/test/tools/llvm-mca/RISCV/SiFiveP600/div.s
+11-4llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
+1,023-42 files

OpenBSD/src 7dgenAXusr.bin/ssh ssh-agent.1 ssh-agent.c

   ssh-agent implemented an all-or-nothing allow-list of FIDO application
   IDs for security key-backed keys, to prevent web key handles from
   being used remotely as this would likely lead to unpleasant surprises.
   By default, only application IDs that start with "ssh:*" are allowed.

   This adds a -Owebsafe-allow=... argument that can override the default
   list with a more or less restrictive one. The default remains unchanged.

   ok markus@
VersionDeltaFile
1.81+19-7usr.bin/ssh/ssh-agent.1
1.309+16-3usr.bin/ssh/ssh-agent.c
+35-102 files

FreeBSD/src ba7844erelease Makefile

release: Include -dbg files in dvd image

In 2016, commit 8834318685bc reworked the code for excluding -dbg
files from install media, and in the process accidentally broke it
for dvd images ('grep -v' should have been 'grep -vE').

FreeBSD Update builds later began to depend on this, and in any case
since DVD images are intended as "include everything" images there's
no point excluding those; so remove the (broken) filtering from DVD
image builds.

Sponsored by:   Amazon
MFC after:      2 days

(cherry picked from commit cdfd0600dc8882f0a0d0e6d9a1cdcf926edba6d6)
DeltaFile
+2-2release/Makefile
+2-21 files

FreeBSD/src ce988aarelease Makefile

release: Remove useless ls

Replace "$((ls *.txz))" with "*.txz"

Reported by:    jrtc27

(cherry picked from commit e166fea685da4ac6a6891f10b07f98d0e9fcfce3)
DeltaFile
+2-2release/Makefile
+2-21 files

GhostBSD/ports 945236bsysutils/gbi distinfo Makefile

updated sysutils/gbi to 10.3
DeltaFile
+3-3sysutils/gbi/distinfo
+1-1sysutils/gbi/Makefile
+4-42 files

NetBSD/pkgsrc Hcq5EQTdoc CHANGES-2024

   doc: Updated security/gpgme to 1.24.0nb1
VersionDeltaFile
1.6807+2-1doc/CHANGES-2024
+2-11 files