FreeNAS/freenas 627759asrc/middlewared/middlewared/plugins/network_ global_config.py, tests/api2 test_service_announcement.py

Fix
DeltaFile
+36-8tests/api2/test_service_announcement.py
+22-9src/middlewared/middlewared/plugins/network_/global_config.py
+58-172 files

LLVM/project 8e4f0ceclang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaDeclCXX.cpp

[HLSL] Remove support for user-defined constructors and destructors (#193375)

This change removes the support for user-defined constructors and
destructors.

Authored-by: Sarah Spall <sarahspall at microsoft.com>

Related to #185466
DeltaFile
+0-94clang/test/CodeGenHLSL/GlobalDestructors.hlsl
+0-76clang/test/CodeGenHLSL/inline-constructors.hlsl
+52-0clang/test/SemaHLSL/Constructors.hlsl
+12-0clang/lib/Sema/SemaDeclCXX.cpp
+1-0clang/test/SemaHLSL/GlobalConstructors.hlsl
+1-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+66-1706 files

FreeBSD/ports 7e26838misc Makefile, misc/qwen-code pkg-plist Makefile

misc/qwen-code: new port

Qwen Code is a command-line AI workflow tool adapted from Gemini CLI and
optimized for Qwen3-Coder models
DeltaFile
+254-0misc/qwen-code/files/package-lock.json
+85-0misc/qwen-code/pkg-plist
+56-0misc/qwen-code/Makefile
+5-0misc/qwen-code/pkg-descr
+3-0misc/qwen-code/distinfo
+1-0misc/Makefile
+404-06 files

LLVM/project a3941b8clang/lib/Lex HeaderSearch.cpp, clang/test/Lexer search-perm.c

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+11-0clang/test/Lexer/search-perm.c
+1-0clang/lib/Lex/HeaderSearch.cpp
+12-02 files

LLVM/project a1a4da0libc/shared/math ddivf128.h ddivl.h, libc/src/__support/math ddivf128.h ddivl.h

[libc][math] Refactor ddiv family to header-only (#182149)

Refactors the ddiv math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182148

Target Functions:
  - ddivf128
  - ddivl
DeltaFile
+31-0libc/src/__support/math/ddivf128.h
+29-0libc/shared/math/ddivf128.h
+28-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+25-0libc/src/__support/math/ddivl.h
+23-0libc/shared/math/ddivl.h
+19-0libc/src/__support/math/CMakeLists.txt
+155-17 files not shown
+173-1213 files

FreeBSD/src 072744dsys/compat/linuxkpi/common/src linux_simple_attr.c linux_seq_file.c

LinuxKPI: Use simple_read_from_buffer in simple_attr_read and seq_read

Reviewed by:    bz
Sponsored by:   AFRL, DARPA
Differential Revision:  https://reviews.freebsd.org/D55879

(cherry picked from commit 58d74d7b0ca9bdf3aacfbe014bd00387f87b9be0)
DeltaFile
+2-11sys/compat/linuxkpi/common/src/linux_simple_attr.c
+2-9sys/compat/linuxkpi/common/src/linux_seq_file.c
+4-202 files

FreeBSD/src a7cf142sys/x86/acpica acpi_apm.c

acpi_apm: Narrow scope of ACPI_LOCK

This lock doesn't need to be held across seldrain/knlist_destroy.  It
is also redundant (and a bug) to hold it across knlist_add and
knlist_remove since it is the mutex for the knlist.

PR:             293901
Reported by:    Jiaming Zhang <r772577952 at gmail.com>
Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55994

(cherry picked from commit cc2715cf1f864345ab175db691d4e152d5fb84af)
DeltaFile
+2-6sys/x86/acpica/acpi_apm.c
+2-61 files

FreeBSD/src a783b0bsys/x86/acpica acpi_apm.c

acpi_apm: Don't recurse on ACPI_LOCK in apmreadfilt

The lock is already held by the caller since it is used as the knlist
lock.

PR:             293901
Reported by:    Jiaming Zhang <r772577952 at gmail.com>
Fixes:          cc2715cf1f86 ("acpi_apm: Narrow scope of ACPI_LOCK")
(cherry picked from commit 8c941e313e3925b17e49b093244c159db7a112f8)
DeltaFile
+0-2sys/x86/acpica/acpi_apm.c
+0-21 files

FreeBSD/src 8fae13bsys/compat/linuxkpi/common/include/linux fs.h

LinuxKPI: Fix simple_read_from_buffer for zero-size and off-the-end reads

I noticed that the buf_size < 0 check can never be true (it's a
size_t) and decided to check for this condition by an alternate
expression, and I also noticed that a read_size of 0 would incorrectly
return -EFAULT.  Instead, return success for both of these cases as
reading beyond the EOF of a normal file also returns EOF, not EINVAL.

Reviewed by:    bz
Sponsored by:   AFRL, DARPA
Differential Revision:  https://reviews.freebsd.org/D55845

(cherry picked from commit 2353fa1aca553883141a7b5d0aa54312a4610412)
DeltaFile
+2-2sys/compat/linuxkpi/common/include/linux/fs.h
+2-21 files

FreeBSD/src 2b9d85fsys/compat/lindebugfs lindebugfs.c, sys/compat/linuxkpi/common/include/linux fs.h seq_file.h

lindebugfs: Pass user buffer pointers to the read/write file operations

The Linux file_operations API expects the read and write operations
to take a single user buffer pointer (along with the length and the
file offset as an in/out parameter).

However, the debugfs_fill function was violating this part of the
contract as it was passing down kernel pointers instead.  An earlier
commit (5668c22a13c6befa9b8486387d38457c40ce7af4) hacked around this
by modifying simple_read_from_buffer() to treat its user pointer
argument as a kernel pointer instead.  However, other commits keep
tripping over this same API mismatch
(e.g. 78e25e65bf381303c8bdac9a713ab7b26a854b8c passes a kernel pointer
to copy_from_user in fops_str_write).

Instead, change debugfs_fill to use the "raw" pseudofs mode where the
uio is passed down to directly to the fill callback rather than an
sbuf.  debufs_fill now iterates over the iovec in the uio similar to
the implementation of uiomove invoking the read or write operation on

    [26 lines not shown]
DeltaFile
+54-27sys/compat/lindebugfs/lindebugfs.c
+23-12sys/compat/linuxkpi/common/src/linux_simple_attr.c
+13-15sys/compat/linuxkpi/common/include/linux/fs.h
+1-1sys/compat/linuxkpi/common/src/linux_seq_file.c
+1-1sys/compat/linuxkpi/common/include/linux/seq_file.h
+92-565 files

FreeBSD/src cd1180dsys/compat/linuxkpi/common/src linux_seq_file.c

LinuxKPI: Clear the sbuf at the start of each call to seq_read

Each invocation of seq_read invokes the seq_file.show callback which
writes into the sbuf.  Then it invokes sbuf_finish before copying the
data into the caller's buffer.  Without this, a second call to
seq_read on the same file would try to append data to a finished sbuf.

Reviewed by:    bz
Sponsored by:   AFRL, DARPA

(cherry picked from commit c181c8f5ca707962359e636ca5aa536e60147eee)
DeltaFile
+1-0sys/compat/linuxkpi/common/src/linux_seq_file.c
+1-01 files

FreeBSD/src ae4ae80usr.sbin/pciconf pciconf.c pciconf.8

pciconf: Add a tree mode

This lists PCI devices in a hierarchy showing the parent/child
relationship of PCI devices and bridges.  While this is inspired by
lspci -t output, the format is closer to ps -d and also prefers using
new-bus device names when possible.  If a device does not have a
driver, the PCI selector is output in place of the device name.

When the -v flag is given, the vendor and device ID strings are output
after the device name.  If a string for an ID isn't found, the hex ID
values are output instead.

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55774

(cherry picked from commit 14b8a27883c15d3add3114f855eff7c6bda1b015)
DeltaFile
+253-2usr.sbin/pciconf/pciconf.c
+24-0usr.sbin/pciconf/pciconf.8
+277-22 files

LLVM/project b06f62fllvm/include/llvm/ABI TargetInfo.h Types.h, llvm/lib/ABI TargetInfo.cpp Types.cpp

[llvm] Introduce TargetInfo (#190730)

This PR introduces ABIInfo and TargetCodeGenInfo, the abstract ABI
lowering layer for the LLVM ABI library introduced in #158329.

This is a direct parallel to clang::ABIInfo and
clang::TargetCodeGenInfo, but operating entirely on the llvm::abi type
system rather than Clang's AST, keeping ABI logic independent of the
frontend. It is a prerequisite for implementing the target specific
lowering passes that lower FunctionInfo to LLVM IR calling conventions.

Co-authored-by: Nikita Popov <npopov at redhat.com>
DeltaFile
+89-0llvm/include/llvm/ABI/TargetInfo.h
+46-0llvm/lib/ABI/TargetInfo.cpp
+41-0llvm/lib/ABI/Types.cpp
+9-2llvm/include/llvm/ABI/Types.h
+1-0llvm/lib/ABI/CMakeLists.txt
+186-25 files

LLVM/project 323c3daflang-rt/include/flang-rt/runtime format-implementation.h, flang-rt/lib/runtime edit-output.cpp edit-input.cpp

[flang] [flang-rt] Implement AT edit descriptor for Fortran 202X with appropriate handling and tests (#189157)

This PR is to add AT edit descriptor, a new feature of Fortran 2023, 5.1
US 10.

AT is like A (character output) but trims trailing blanks before
emitting the string. AT is functionally the same as TRIM intrinsic.

AT is treated as a variant of A during parse. The trimming of the
trailing spaces are implemented the same as TRIM(). There exists a
method, LenTrim, that can be used to do the trimming. However it's local
to a different .cpp file, character.cpp. And the code is so simple that
no need to make extra effort to use LenTrim.

AT is output only and do not accept width.

This PR will fix #181379.
DeltaFile
+65-0flang-rt/unittests/Runtime/NumericalFormatTest.cpp
+48-0flang/test/Semantics/io19.f90
+27-8flang/include/flang/Common/format.h
+11-4flang-rt/include/flang-rt/runtime/format-implementation.h
+8-0flang-rt/lib/runtime/edit-output.cpp
+6-0flang-rt/lib/runtime/edit-input.cpp
+165-126 files not shown
+180-1712 files

OpenBSD/ports WVqMoL5graphics/ImageMagick Makefile

   remove BROKEN marker to try building on arm(v7).  the platform has changed
   a lot since 2019

   OK sthen@ naddy@
VersionDeltaFile
1.229+0-2graphics/ImageMagick/Makefile
+0-21 files

LLVM/project 4d8fe64mlir/test/Dialect/AMDGPU invalid.mlir

nit on comment

Signed-off-by: Eric Feng <Eric.Feng at amd.com>
DeltaFile
+0-6mlir/test/Dialect/AMDGPU/invalid.mlir
+0-61 files

FreeBSD/src c4a3c64usr.sbin/pciconf pciconf.8

pciconf.8: Reorganize slightly to handle additional modes

Move the description of the optional device argument earlier before
describing individual command modes.

Add a subsection for list mode and a second subsection for the other
modes that work with a single device.

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55773

(cherry picked from commit 98a0d2283701e08353ce670c8023803c58a4994c)
DeltaFile
+27-31usr.sbin/pciconf/pciconf.8
+27-311 files

FreeBSD/src 5daad07usr.sbin/pciconf pciconf.c

pciconf: Use the exported values of bus numbers for PCI bridges

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55772

(cherry picked from commit 9a1394957c3054c24995d684e8bc26878702dc6b)
DeltaFile
+4-8usr.sbin/pciconf/pciconf.c
+4-81 files

FreeBSD/src 920d0afshare/man/man4 pci.4, sys/dev/pci pci_user.c pci.c

pci: Export bus numbers for bridge devices in struct pci_conf

This exports bus information about bridges to userspace via the
less-privileged PCIOCGETCONF ioctl.  Previously if userspace wished to
query this information, it had to use direct PCI config register
access which requires higher privilege.

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55771

(cherry picked from commit 7e7a1b61531a29b4a0a5cdac66b96f420e6c66e4)
DeltaFile
+31-1sys/dev/pci/pci_user.c
+6-0share/man/man4/pci.4
+3-1sys/sys/pciio.h
+3-0sys/dev/pci/pci.c
+43-24 files

FreeBSD/src f97ba9fshare/man/man4 pci.4

pci.4: Quote argument to -width for a list block

This fixes an mdoc warning and also properly indents this list.  While
here, update the quoted argument to be the longest tag in the list.

Also while here, correct the description of pd_numa_domain.  NUMA
domains are a property of the device, not of the driver.

Reviewed by:    ziaee, imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55770

(cherry picked from commit c3ac5f14c8b330c036149d1d24cd3369d1418de2)
DeltaFile
+3-3share/man/man4/pci.4
+3-31 files

FreeBSD/src 656838ausr.sbin/pciconf pciconf.c

pciconf: Factor out fetching of matching devices from list_devs

The new fetch_devs function fetches the entire list of PCI devices
into a single list, retrying if the list changes while it is being
fetched.

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55768

(cherry picked from commit 9eb035ff8439195f565b9e3180b727333a4e7170)
DeltaFile
+96-72usr.sbin/pciconf/pciconf.c
+96-721 files

FreeBSD/src 7f4940dshare/man/man9 bus_alloc_resource.9, sys/arm/nvidia tegra_pcie.c

sys: Don't pass RF_ALLOCATED to bus_alloc_resource*

This is a nop as eventually these flags are passed to rman_reserve_resource
which unconditionally sets RF_ALLOCATED in the new flags for a region.
However, it's really a layering violation to use RF_ALLOCATED in relation
to struct resource objects outside of subr_rman.c as subr_rman.c uses
this flag to manage it's internal tracking of allocated vs free regions.

In addition, don't document this as a valid flag in the manual.  I
think the intention here was that if a caller didn't want to pass
RF_ACTIVE or RF_SHAREABLE, they could pass RF_ALLOCATED instead of 0,
but given the layering violation, I think it's best to just pass 0
instead in that case.

NB: The bhnd bus uses RF_ALLOCATED (along with RF_ACTIVE) in a
separate API to manage resource regions that are not struct resource
objects (but a separate wrapper object).  It would perhaps be cleaner
if the chipc_retain_region and chipc_release_region functions used
their own flag constants instead of reusing the rman(9) flags.

    [5 lines not shown]
DeltaFile
+3-7share/man/man9/bus_alloc_resource.9
+2-3sys/arm/nvidia/tegra_pcie.c
+1-1sys/x86/iommu/amd_drv.c
+6-113 files

FreeBSD/src f1bf541usr.sbin/pciconf pciconf.c

pciconf: Use a single enum to track the current operation mode

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55769

(cherry picked from commit c8fb16542a52ca889c1adf56b2ce13b4ad4cf887)
DeltaFile
+38-28usr.sbin/pciconf/pciconf.c
+38-281 files

FreeBSD/src b9a823busr.sbin/devinfo devinfo.c devinfo.8

devinfo: Support PCI DBSF and ACPI handles for -p

When matching on a name of a device, match on ACPI handles and PCI
selectors in addition to device names.  This can be useful for
matching on devices without an attached driver.

For example: devinfo -p pci0:0:31:0

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55673

(cherry picked from commit ca25b1b26379e27bf2bab7742a7b383ca0bfc7d2)
DeltaFile
+57-1usr.sbin/devinfo/devinfo.c
+21-1usr.sbin/devinfo/devinfo.8
+78-22 files

FreeBSD/src 65d949elib/libc/quad Symbol.map

libc/quad: fix missing closing #endif in Symbol.map

Without this lib32 libc.so.7 would be missing critical symbols,
including malloc / free and all syscall wrappers.

(cherry picked from commit 8dd28e13e41b6200e58d6e99981ff8323cff3711)
DeltaFile
+1-0lib/libc/quad/Symbol.map
+1-01 files

LLVM/project b3cc192clang/lib/AST/ByteCode Context.cpp Context.h

[NFC][Clang][ByteCode] Apply rule of three to Context and EvalIDScope (#193856)

Static analysis flagged these because they had destructor but did not
define copy constructor or copy assignment. For `EvalIDScope` I defined
them as deleted and was able to default the destructor for `Context`.
DeltaFile
+1-1clang/lib/AST/ByteCode/Context.cpp
+2-0clang/lib/AST/ByteCode/Context.h
+3-12 files

OpenBSD/ports 5tKH9Xtsecurity/nss distinfo Makefile

   security/nss: bugfix update to 3.123.1

   fixes #2033783: invalid DTLS CertificateVerify signature breaks Firefox WebRTC to pion and webrtc-rs servers
   see https://hg-edge.mozilla.org/projects/nss/raw-file/tip/doc/rst/releases/nss_3_123_1.rst
   ok naddy@
VersionDeltaFile
1.172+2-2security/nss/distinfo
1.213+1-1security/nss/Makefile
+3-32 files

LLVM/project 61bfd7dclang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/test/CIR/CodeGen self-assign.c

[CIR] Tolerate identical source and destination in cir.copy (#193852)

The SIBsim4 test in the llvm-test-suite MultiSource tests has code that
initializes a structure with itself. This was triggering a CIR
verifcation error because we were checking for source and destination
addresses matching. Since Clang allows this, this change is updating the
cir.copy operation to allow it.
DeltaFile
+27-0clang/test/CIR/CodeGen/self-assign.c
+0-11clang/test/CIR/IR/invalid-copy.cir
+0-3clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+27-143 files

LLVM/project 0fdc8fcllvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp

Add comment

Change-Id: I2180bba631fe4a01ed3c3fbcfa8c19cbefa84133
DeltaFile
+1-0llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+1-01 files

LLVM/project d462e46llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp

clang-format

Change-Id: I534b1a979f55339a814ef3416c2492252845add5
DeltaFile
+6-3llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+6-31 files