LLVM/project fae64adlldb/source/Expression DWARFExpression.cpp, lldb/unittests/Expression DWARFExpressionTest.cpp

[lldb] Handle deref of register and implicit locations (#169419)

This commit modifies the dwarf expression evaluator in how we handle the
deref operation for register and implicit locations on the stack. For a
typical memory location a deref operation will read the value from
memory. For register and implicit locations the deref operation will
read the value from the register or its implicit location. In lldb we
eagerly read register and implicit values and push them on the stack so
the deref operation for these becomes a "no-op" that leaves the value on
the stack and updates the tracked location kind.

The motivation for this change is to handle `DW_OP_deref*` operations on
location descriptions as described by the heterogenious debugging
[extensions](https://rocm.docs.amd.com/projects/llvm-project/en/latest/LLVM/llvm/html/AMDGPUDwarfExtensionsForHeterogeneousDebugging.html#a-2-5-4-4-4-register-location-description-operations).

Specifically, for register locations it states

> These operations obtain a register location. To fetch the contents of
> a register, it is necessary to use DW_OP_regval_type, use one of the

    [5 lines not shown]
DeltaFile
+104-0lldb/unittests/Expression/DWARFExpressionTest.cpp
+30-9lldb/source/Expression/DWARFExpression.cpp
+134-92 files

OPNSense/core 96f2c34src/opnsense/scripts/filter/lib/alias __init__.py

Firewall: Aliases - do not support nesting in geoip aliases to prevent overlapping countries with existing alias contents, closes https://github.com/opnsense/core/issues/9482

(cherry picked from commit 7b9aaf9f5dd6f747f1eaafefa5ba1bd5bd6549c3)
DeltaFile
+11-2src/opnsense/scripts/filter/lib/alias/__init__.py
+11-21 files

FreeBSD/ports 91a3eb8security/arti distinfo Makefile.crates

security/arti: Update to 1.8.0
DeltaFile
+267-263security/arti/distinfo
+133-131security/arti/Makefile.crates
+2-3security/arti/Makefile
+402-3973 files

LLVM/project d31bdf1flang/include/flang/Parser openmp-utils.h, flang/lib/Parser openmp-utils.cpp

[flang][OpenMP] Expand GetOmpObjectList to all subclasses of OmpClause

Use GetOmpObjectList instead of extracting the object list by hand.
DeltaFile
+33-42flang/lib/Semantics/check-omp-structure.cpp
+56-0flang/include/flang/Parser/openmp-utils.h
+10-33flang/lib/Parser/openmp-utils.cpp
+14-15flang/lib/Semantics/resolve-directives.cpp
+3-6flang/lib/Semantics/check-omp-loop.cpp
+116-965 files

LLVM/project 3f2e3e6mlir/lib/Dialect/AMDGPU/Transforms MaskedloadToLoad.cpp

[mlir][AMDGPU][NFC] Fix overlapping masked load refinements (#159805)

The two paterns for handlig vector.maskedload on AMD GPUs had an overlap
- both the "scalar mask becomes an if statement" pattern and the "masked
loads become a normal load + a select on buffers" patterns could handle
a load with a broadcast mask on a fat buffer resource.

This commet add checks to resolve the overlap.
DeltaFile
+24-10mlir/lib/Dialect/AMDGPU/Transforms/MaskedloadToLoad.cpp
+24-101 files

HardenedBSD/src 8209c08contrib/sqlite3 sqlite3.c sqlite3.h, libexec/rc/rc.d ippool

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+122-81contrib/sqlite3/sqlite3.c
+148-29sys/amd64/vmm/vmm.c
+45-45contrib/sqlite3/sqlite3.h
+7-23sys/amd64/vmm/vmm_dev.c
+3-0libexec/rc/rc.d/ippool
+2-1sys/amd64/include/vmm.h
+327-1793 files not shown
+330-1829 files

FreeNAS/freenas e1d991bsrc/middlewared/middlewared/api/base/handler inspect.py remove_secrets.py

Address review
DeltaFile
+40-32src/middlewared/middlewared/api/base/handler/inspect.py
+2-1src/middlewared/middlewared/api/base/handler/remove_secrets.py
+42-332 files

HardenedBSD/src 3807418libexec/rc/rc.d ippool

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+3-0libexec/rc/rc.d/ippool
+3-01 files

HardenedBSD/ports 6ecdb7bdevel/py-propcache/files patch-packaging_pep517__backend__backend.py, graphics/partio distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+0-13graphics/partio/files/patch-src_py_partio.i
+11-0devel/py-propcache/files/patch-packaging_pep517__backend__backend.py
+0-11graphics/partio/files/patch-src_tools_partedit.py
+5-5sysutils/eksctl/distinfo
+7-3graphics/partio/distinfo
+3-3lang/janet/distinfo
+26-3515 files not shown
+58-6221 files

DragonFlyBSD/src fcabea4sys/dev/virtual/virtio/block virtio_blk.c

virtio_blk - Compare old/write-cache setting in vtblk_write_cache_sysctl.
DeltaFile
+5-2sys/dev/virtual/virtio/block/virtio_blk.c
+5-21 files

LLVM/project c50802clldb/source/Commands CommandObjectTarget.cpp, lldb/source/Plugins/ScriptInterpreter/Python/Interfaces ScriptedPythonInterface.h

Reland "[lldb] Introduce ScriptedFrameProvider for real threads (#161870)" (#170236)

This patch re-lands #161870 with fixes to the previous test failures.

rdar://161834688

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+418-0lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+222-0lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.py
+221-0lldb/source/Plugins/SyntheticFrameProvider/ScriptedFrameProvider/ScriptedFrameProvider.cpp
+200-0lldb/source/Commands/CommandObjectTarget.cpp
+116-5lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
+117-0lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py
+1,294-541 files not shown
+2,289-7647 files

DragonFlyBSD/src c12552bsys/dev/virtual/virtio/block virtio_blk.c

virtio_blk - Move sysctl setup to the end of attachement.
DeltaFile
+1-2sys/dev/virtual/virtio/block/virtio_blk.c
+1-21 files

LLVM/project 879dddfllvm/test/CodeGen/AArch64 sve-int-mulh-pred.ll sve2-int-mulh.ll

[AArch64] Add tests for umulh. NFC
DeltaFile
+268-10llvm/test/CodeGen/AArch64/sve-int-mulh-pred.ll
+267-10llvm/test/CodeGen/AArch64/sve2-int-mulh.ll
+535-202 files

LLVM/project 6e262aallvm/utils/gn/secondary/lldb/source/Target BUILD.gn

[gn build] Port 41a53c0a23ee
DeltaFile
+1-0llvm/utils/gn/secondary/lldb/source/Target/BUILD.gn
+1-01 files

LLVM/project 73979c1mlir/include/mlir/Dialect/AMDGPU/IR AMDGPU.td, mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp

[mlir][amdgpu] Lower amdgpu.make_dma_base (#169817)

* Adds lowering for `amdgpu.make_dma_base`
DeltaFile
+212-0mlir/test/Conversion/AMDGPUToROCDL/gfx1250.mlir
+0-164mlir/test/Conversion/AMDGPUToROCDL/cvt_scale_pk-gfx1250.mlir
+77-1mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+23-21mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPU.td
+18-0mlir/lib/Dialect/AMDGPU/IR/AMDGPUDialect.cpp
+14-0mlir/test/Dialect/AMDGPU/invalid.mlir
+344-1861 files not shown
+345-1897 files

DragonFlyBSD/src ae06013sys/dev/disk/mmcsd mmcsd.c, sys/dev/virtual/virtio/block virtio_blk.c

kernel - Do readonly check in .d_open method in mmcsd(4) and virtio_blk(4).

* Makes read-write open fail properly for read-only storage in mmcsd(4) and
  virtio_blk(4), instead of only resulting in transfer errors for the
  disk writes.
DeltaFile
+3-13sys/dev/virtual/virtio/block/virtio_blk.c
+6-8sys/dev/disk/mmcsd/mmcsd.c
+9-212 files

LLVM/project 697b1bellvm/lib/Target/AMDGPU AMDGPU.td

[AMDGPU][NFC] Put gfx125x common features into 12_50_Common (#170338)

DeltaFile
+8-8llvm/lib/Target/AMDGPU/AMDGPU.td
+8-81 files

HardenedBSD/src adb4901sys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: when synching HT and VHT cap, mask rx_mcs

When we sync the sta data, mask the rx_mcs with what the hardware is
able to do so that we do not leave, e.g., a 2nd stream enabled on a 1x1
chipset.
iwlwifi(4) has a further check for the smps_mode to limit to NSS=1 but
I believe that is historic and not actually in use anymore.

This fixes firmware crashes on TLC updates with nss=1 but the nss=2 array
index also being populated (with HT/VHT80/160 mcs information):
data being populated:
  iwlwifi0: 0x20101A0D | ADVANCED_SYSASSERT
  iwlwifi0: 0x00000006 | umac data1
  iwlwifi0: 0x00000001 | umac data2
  iwlwifi0: 0x000003FF | umac data3
  iwlwifi0: 0x____050F | last host cmd

Reported by:    Claudio Zumbo (claudiozumbo gmail.com), Erik Power
Tested by:      Claudio Zumbo, Erik Power (eppower umich.edu)

    [3 lines not shown]
DeltaFile
+71-28sys/compat/linuxkpi/common/src/linux_80211.c
+71-281 files

FreeBSD/src adb4901sys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: when synching HT and VHT cap, mask rx_mcs

When we sync the sta data, mask the rx_mcs with what the hardware is
able to do so that we do not leave, e.g., a 2nd stream enabled on a 1x1
chipset.
iwlwifi(4) has a further check for the smps_mode to limit to NSS=1 but
I believe that is historic and not actually in use anymore.

This fixes firmware crashes on TLC updates with nss=1 but the nss=2 array
index also being populated (with HT/VHT80/160 mcs information):
data being populated:
  iwlwifi0: 0x20101A0D | ADVANCED_SYSASSERT
  iwlwifi0: 0x00000006 | umac data1
  iwlwifi0: 0x00000001 | umac data2
  iwlwifi0: 0x000003FF | umac data3
  iwlwifi0: 0x____050F | last host cmd

Reported by:    Claudio Zumbo (claudiozumbo gmail.com), Erik Power
Tested by:      Claudio Zumbo, Erik Power (eppower umich.edu)

    [3 lines not shown]
DeltaFile
+71-28sys/compat/linuxkpi/common/src/linux_80211.c
+71-281 files

HardenedBSD/src ed29ffdsys/compat/linuxkpi/common/src linux_pci.c

LinuxKPI: pci: undo the pci_resource_len() check in lkpi_pci_request_region()

Creating non-passthru SR-IOV interfaces on a mlx5en(4) failed.
The problem lies in the pci_resource_len() call but not that the BAR length
is tmeporary 0 but in that we call lkpi_pci_get_bar() with a true argument
which will create the BAR resource for us and report the approriate length
back.  However, the later call to bus_alloc_resource_any() will then fail
given the resource already exists.

Restore the previous behaviour and let bus_alloc_resource_any() do the
work.  Adjust the return values from -ENODEV to -EBUSY to match callers
expectations.

In linuxkpi_pcim_request_all_regions(), like in linuxkpi_pci_request_regions(),
filter out the -EBUSY errors as "not an error" and try the next bar.
This also seems to be consistent with the expectations of the callers.

PR:             290793
Reported by:    David BOYER (jcduss13 gmail.com)

    [6 lines not shown]
DeltaFile
+3-10sys/compat/linuxkpi/common/src/linux_pci.c
+3-101 files

FreeBSD/src ed29ffdsys/compat/linuxkpi/common/src linux_pci.c

LinuxKPI: pci: undo the pci_resource_len() check in lkpi_pci_request_region()

Creating non-passthru SR-IOV interfaces on a mlx5en(4) failed.
The problem lies in the pci_resource_len() call but not that the BAR length
is tmeporary 0 but in that we call lkpi_pci_get_bar() with a true argument
which will create the BAR resource for us and report the approriate length
back.  However, the later call to bus_alloc_resource_any() will then fail
given the resource already exists.

Restore the previous behaviour and let bus_alloc_resource_any() do the
work.  Adjust the return values from -ENODEV to -EBUSY to match callers
expectations.

In linuxkpi_pcim_request_all_regions(), like in linuxkpi_pci_request_regions(),
filter out the -EBUSY errors as "not an error" and try the next bar.
This also seems to be consistent with the expectations of the callers.

PR:             290793
Reported by:    David BOYER (jcduss13 gmail.com)

    [6 lines not shown]
DeltaFile
+3-10sys/compat/linuxkpi/common/src/linux_pci.c
+3-101 files

LLVM/project 5c3c002llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/lib/Target/AMDGPU SIISelLowering.cpp

[NFC] Refactor TargetLowering::getTgtMemIntrinsic to take CallBase parameter (#170334)

cf.
https://github.com/llvm/llvm-project/pull/133907#discussion_r2578576548
DeltaFile
+4-3llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+2-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2-2llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-2llvm/lib/Target/ARM/ARMISelLowering.h
+1-2llvm/lib/Target/PowerPC/PPCISelLowering.h
+1-1llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
+11-1217 files not shown
+28-2923 files

LLVM/project 2183846llvm/lib/Target/AMDGPU AMDGPURewriteAGPRCopyMFMA.cpp, llvm/test/CodeGen/AMDGPU rewrite-vgpr-mfma-scale-to-agpr.mir

[AMDGPU] Fix AGPR_32 reg assign for mfma scale ops (#168964)

In MFMA rewrite pass, prevent AGPR_32 reg class assignment for scale
operands, not permitted by instruction format.

---------

Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
DeltaFile
+11-4llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+6-4llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-scale-to-agpr.mir
+17-82 files

LLVM/project 41a53c0lldb/include/lldb/Target BorrowedStackFrame.h StackFrame.h, lldb/source/Core FormatEntity.cpp

[lldb/Target] Add BorrowedStackFrame and make StackFrame methods virtual (#170191)

This change makes StackFrame methods virtual to enable subclass
overrides and introduces BorrowedStackFrame, a wrapper that presents an
existing StackFrame with a different frame index.

This enables creating synthetic frame views or renumbering frames
without copying the underlying frame data, which is useful for frame
manipulation scenarios.

This also adds a new borrowed-info format entity to show what was the
original frame index of the borrowed frame.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+187-0lldb/source/Target/BorrowedStackFrame.cpp
+146-0lldb/include/lldb/Target/BorrowedStackFrame.h
+46-35lldb/include/lldb/Target/StackFrame.h
+19-0lldb/source/Core/FormatEntity.cpp
+7-0lldb/source/Plugins/Process/scripted/ScriptedFrame.h
+3-0lldb/source/Target/StackFrame.cpp
+408-353 files not shown
+412-359 files

OpenBSD/ports hOs8ylbmultimedia/gstreamer1/core Makefile, multimedia/gstreamer1/plugins-bad Makefile

   Update GStreamer to version 1.26.9.
VersionDeltaFile
1.6+138-146multimedia/gstreamer1/plugins-rs/distinfo
1.6+67-71multimedia/gstreamer1/plugins-rs/crates.inc
1.138+19-19multimedia/gstreamer1/plugins-bad/Makefile
1.130+12-12multimedia/gstreamer1/plugins-base/Makefile
1.108+5-5multimedia/gstreamer1/core/Makefile
1.8+3-3multimedia/gstreamer1/plugins-rs/Makefile
+244-25616 files not shown
+272-28422 files

FreeNAS/freenas 999c9d0src/middlewared/middlewared/plugins/container container.py, src/middlewared/middlewared/plugins/failover_ event.py

NAS-138309 / 26.04 / Make sure containers work in HA (#17727)

## Context

Validation has been added to prevent containers being used in HA if the
system is not licensed for it (license logic has been copied over from
what we had in virt plugin for containers). Also we will try to
gracefully stop containers on failover (like we do for VMs/apps) but
won't block failover and similarly on master we will make sure that if
any container is set to start on boot - it gets started appropriately.
DeltaFile
+26-0src/middlewared/middlewared/plugins/container/container.py
+14-0src/middlewared/middlewared/plugins/failover_/event.py
+40-02 files

LLVM/project 1a3709cllvm/lib/Target/SPIRV SPIRVGlobalRegistry.cpp, llvm/test/CodeGen/SPIRV zero-length-array.ll

[SPIRV] Error for zero-length arrays if not a shader (#169732)

I had a case where the frontend was generating a zero elem array in
non-shader code so it was just crashing in a release build.
Add a real error and make it not crash.

---------

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
DeltaFile
+8-2llvm/test/CodeGen/SPIRV/zero-length-array.ll
+5-3llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+13-52 files

LLVM/project e0db7f3llvm/lib/Target/WebAssembly WebAssemblyInstrInteger.td, llvm/test/CodeGen/WebAssembly masked-shifts.ll

[WebAssembly] Optimize away mask of 63 for sra and srl( zext (and i32 63))) (#170128)

Follow up to #71844 after shl implementation
DeltaFile
+30-0llvm/test/CodeGen/WebAssembly/masked-shifts.ll
+4-0llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td
+34-02 files

DragonFlyBSD/src 7550650sys/dev/misc/syscons sckmsrndr.c syscons.c

syscons - Add 16bit rendering code for UEFI and KMS driver framebuffers.

This fixes syscons rendering with KMS graphics drivers, when the driver
hands us a 16bit console framebuffer.
DeltaFile
+179-70sys/dev/misc/syscons/sckmsrndr.c
+4-2sys/dev/misc/syscons/syscons.c
+183-722 files

FreeBSD/ports 6a10b6blang/janet distinfo Makefile

lang/janet: update to v1.40.1

Differential Revision: https://reviews.freebsd.org/D54027
DeltaFile
+3-3lang/janet/distinfo
+1-1lang/janet/Makefile
+4-42 files