LLVM/project 9416b19llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine saturating-add-sub.ll

[InstCombine] Add missing constant check (#170068)

`cast<Constant>` is not guarded by a type check during canonicalization
of predicates. This patch adds a type check in the outer if to avoid the
crash. `dyn_cast` may introduce another nested if, so I just use
`isa<Constant>` instead.

Address the crash reported in
https://github.com/llvm/llvm-project/pull/153053#issuecomment-3593914124.
DeltaFile
+16-0llvm/test/Transforms/InstCombine/saturating-add-sub.ll
+1-0llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+17-02 files

OPNSense/plugins 77424cdsecurity/acme-client pkg-descr, security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/forms dialogValidation.xml

security/acme-client: fix style for "DEPREC(I)ATED"
DeltaFile
+5-5security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/forms/dialogValidation.xml
+2-2security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml
+1-1security/acme-client/pkg-descr
+8-83 files

OPNSense/plugins 564674bnet/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms dialogFrontend.xml

net/haproxy: change wording style for "DEPRECATED"
DeltaFile
+2-2net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/dialogFrontend.xml
+2-21 files

OPNSense/plugins 5675e6f. LICENSE

LICENSE: sync
DeltaFile
+3-0LICENSE
+3-01 files

HardenedBSD/src 003ca02sys/cam/scsi scsi_xpt.c, sys/dev/ufshci ufshci_sim.c ufshci_private.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+157-82sys/cam/scsi/scsi_xpt.c
+141-2sys/dev/ufshci/ufshci_sim.c
+16-0sys/dev/ufshci/ufshci_private.h
+13-1sys/dev/ufshci/ufshci_dev.c
+6-6sys/dev/ufshci/ufshci_ctrlr.c
+10-0sys/dev/ufshci/ufshci.h
+343-9112 files not shown
+364-9518 files

HardenedBSD/src e2a8e82share/man/man9 exterror.9, sys/dev/nvme nvme_ns.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+82-0share/man/man9/exterror.9
+32-0sys/kern/sys_generic.c
+23-0sys/sys/exterrvar.h
+13-4sys/kern/vfs_bio.c
+7-7sys/dev/nvme/nvme_ns.c
+12-2sys/geom/geom_subr.c
+169-139 files not shown
+219-2915 files

HardenedBSD/ports 5066c39x11-toolkits/hyprtoolkit/files patch-CMakeLists.txt patch-src_sessionLock_WaylandSessionLock.cpp

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+0-28x11-toolkits/hyprtoolkit/files/patch-CMakeLists.txt
+11-0x11-toolkits/hyprtoolkit/files/patch-src_sessionLock_WaylandSessionLock.cpp
+0-11x11-toolkits/hyprtoolkit/files/patch-src_element_scrollArea_ScrollArea.cpp
+11-0x11-toolkits/hyprtoolkit/files/patch-src_layout_Positioner.cpp
+0-11x11-toolkits/hyprtoolkit/files/patch-src_renderer_gl_OpenGL.cpp
+0-11x11-toolkits/hyprtoolkit/files/patch-src_palette_ConfigManager.cpp
+22-6118 files not shown
+58-13924 files

OPNSense/plugins b9241d6security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation DnsAzure.php DnsSelectel.php

security/acme-client: style changes
DeltaFile
+1-1security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsAzure.php
+1-1security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsSelectel.php
+2-22 files

HardenedBSD/ports 0fe6932graphics/xv distinfo Makefile

graphics/xv: update to 6.1.0
DeltaFile
+3-3graphics/xv/distinfo
+1-1graphics/xv/Makefile
+4-42 files

FreeBSD/ports 0fe6932graphics/xv distinfo Makefile

graphics/xv: update to 6.1.0
DeltaFile
+3-3graphics/xv/distinfo
+1-1graphics/xv/Makefile
+4-42 files

NetBSD/src 6OLm7dAsys/dev/usb files.usb

   spaces -> tabs
VersionDeltaFile
1.185+4-4sys/dev/usb/files.usb
+4-41 files

HardenedBSD/ports a0a1ba2x11/hyprland-guiutils Makefile, x11/hyprlauncher Makefile

x11/{hyprland-guiutils,hyprlauncher}: Bump port revision after hyprtoolkit update (ee44f36ed04b)
DeltaFile
+1-0x11/hyprland-guiutils/Makefile
+1-0x11/hyprlauncher/Makefile
+2-02 files

FreeBSD/ports a0a1ba2x11/hyprland-guiutils Makefile, x11/hyprlauncher Makefile

x11/{hyprland-guiutils,hyprlauncher}: Bump port revision after hyprtoolkit update (ee44f36ed04b)
DeltaFile
+1-0x11/hyprlauncher/Makefile
+1-0x11/hyprland-guiutils/Makefile
+2-02 files

FreeBSD/ports ee44f36x11-toolkits/hyprtoolkit/files patch-CMakeLists.txt patch-include_hyprtoolkit_palette_Palette.hpp

x11-toolkits/hyprtoolkit: Update to 0.4.0

Changelog: https://github.com/hyprwm/hyprtoolkit/releases/tag/v0.4.0

Reported by:    GitHub (watch releases)
DeltaFile
+0-28x11-toolkits/hyprtoolkit/files/patch-CMakeLists.txt
+0-11x11-toolkits/hyprtoolkit/files/patch-include_hyprtoolkit_palette_Palette.hpp
+11-0x11-toolkits/hyprtoolkit/files/patch-src_layout_Positioner.cpp
+11-0x11-toolkits/hyprtoolkit/files/patch-src_sessionLock_WaylandSessionLock.cpp
+0-11x11-toolkits/hyprtoolkit/files/patch-src_element_Element.cpp
+0-11x11-toolkits/hyprtoolkit/files/patch-src_element_scrollArea_ScrollArea.cpp
+22-619 files not shown
+41-12315 files

HardenedBSD/ports ee44f36x11-toolkits/hyprtoolkit/files patch-CMakeLists.txt patch-src_sessionLock_WaylandSessionLock.cpp

x11-toolkits/hyprtoolkit: Update to 0.4.0

Changelog: https://github.com/hyprwm/hyprtoolkit/releases/tag/v0.4.0

Reported by:    GitHub (watch releases)
DeltaFile
+0-28x11-toolkits/hyprtoolkit/files/patch-CMakeLists.txt
+11-0x11-toolkits/hyprtoolkit/files/patch-src_sessionLock_WaylandSessionLock.cpp
+0-11x11-toolkits/hyprtoolkit/files/patch-src_palette_ConfigManager.cpp
+0-11x11-toolkits/hyprtoolkit/files/patch-src_window_WaylandPopup.cpp
+0-11x11-toolkits/hyprtoolkit/files/patch-src_renderer_gl_OpenGL.cpp
+0-11x11-toolkits/hyprtoolkit/files/patch-include_hyprtoolkit_palette_Palette.hpp
+11-729 files not shown
+41-12315 files

FreeNAS/freenas 508365bsrc/middlewared/middlewared/pytest/unit/plugins test_truenas_connect.py

Fix unit tests
DeltaFile
+56-17src/middlewared/middlewared/pytest/unit/plugins/test_truenas_connect.py
+56-171 files

FreeBSD/ports 12ff828editors/vim distinfo Makefile

editors/vim: Update to 9.1.1942
DeltaFile
+3-3editors/vim/distinfo
+1-1editors/vim/Makefile
+4-42 files

HardenedBSD/ports 12ff828editors/vim distinfo Makefile

editors/vim: Update to 9.1.1942
DeltaFile
+3-3editors/vim/distinfo
+1-1editors/vim/Makefile
+4-42 files

LLVM/project 036279alldb/tools/debugserver/source DNB.cpp, lldb/tools/debugserver/source/MacOSX MachProcess.mm MachProcess.h

[lldb][debugserver] Return shared cache filepath in jGetSharedCacheInfo (#168474)

Add a "shared_cache_path" key-value to the jGetSharedCacheInfo response,
if we can fetch the shared cache path.

If debugserver and the inferior process are running with the same shared
cache UUID, there is a simple SPI to get debugserver's own shared cache
filepath and we will return that.

On newer OSes, there are SPI we can use to get the inferior process'
shared cache filepath, use that if necessary and the SPI are available.

The response for the jGetSharedCacheInfo packet will now look like


{"shared_cache_base_address":6609256448,"shared_cache_uuid":"B69FF43C-DBFD-3FB1-B4FE-A8FE32EA1062","no_shared_cache":false,"shared_cache_private_cache":false,"shared_cache_path":"/System/Volumes/Preboot/Cryptexes/OS/System/Library/dyld/dyld_shared_cache_arm64e"}

when we have the full information about the shared cache in the
inferior. There are three possible types of responses:

    [16 lines not shown]
DeltaFile
+121-4lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+13-1lldb/tools/debugserver/source/MacOSX/MachProcess.h
+1-1lldb/tools/debugserver/source/DNB.cpp
+135-63 files

NetBSD/pkgsrc g6MU9c2devel/ada-gnat_util14 Makefile

   ada-gnat_util14: change execution time of code fragment to fix build error
VersionDeltaFile
1.2+3-1devel/ada-gnat_util14/Makefile
+3-11 files

LLVM/project 5eb1e66llvm/lib/Target/AMDGPU AMDGPURewriteAGPRCopyMFMA.cpp AMDGPURewriteAGPRCopyMFMA.h, llvm/unittests/Target/AMDGPU AMDGPURewriteAGPRCopyMFMATest.cpp CMakeLists.txt

[AMDGPU] Verify dominance when rewriting spills to registers

Rev1: Updated condition to check for "joint domination", i.e. no reload
is reachable from entry without reaching a store to the same slot. Still
working on reduced test or unit test.

When performing spill elimination in the AGPR copy rewrite pass it was
possible to see spill reloads that were not jointly dominated by any
store. This caused invalid MIR to be generated where vreg uses were not
dominated by defs. This patch adds a joint dominance check before
rewriting spills.
DeltaFile
+196-0llvm/unittests/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMATest.cpp
+110-4llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+32-0llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.h
+1-0llvm/unittests/Target/AMDGPU/CMakeLists.txt
+339-44 files

FreeBSD/src 3140755sys/dev/ufshci ufshci_sim.c ufshci_dev.c

ufshci: Add a check for WLUN during driver initialization

This patch checks whether wlun is registered as a periph device.
It also implements a function to issue an SSU.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53923
DeltaFile
+113-1sys/dev/ufshci/ufshci_sim.c
+13-1sys/dev/ufshci/ufshci_dev.c
+14-0sys/dev/ufshci/ufshci_private.h
+6-6sys/dev/ufshci/ufshci_ctrlr.c
+4-0sys/dev/ufshci/ufshci_sysctl.c
+150-85 files

HardenedBSD/src 3140755sys/dev/ufshci ufshci_sim.c ufshci_dev.c

ufshci: Add a check for WLUN during driver initialization

This patch checks whether wlun is registered as a periph device.
It also implements a function to issue an SSU.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53923
DeltaFile
+113-1sys/dev/ufshci/ufshci_sim.c
+13-1sys/dev/ufshci/ufshci_dev.c
+14-0sys/dev/ufshci/ufshci_private.h
+6-6sys/dev/ufshci/ufshci_ctrlr.c
+4-0sys/dev/ufshci/ufshci_sysctl.c
+150-85 files

FreeBSD/src 8c35de4sbin/camcontrol camcontrol.c, sys/cam cam_periph.c

cam/scsi: Add power condition support to START STOP UNIT

This patch adds a power_condition parameter to the
scsi_start_stop() function and sets the power condition via SSU.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronic
Differential Revision:  https://reviews.freebsd.org/D53922
DeltaFile
+3-1sys/cam/scsi/scsi_all.c
+2-1sys/cam/scsi/scsi_all.h
+2-0sys/cam/scsi/scsi_cd.c
+1-0sys/dev/mps/mps_sas_lsi.c
+1-0sbin/camcontrol/camcontrol.c
+1-0sys/cam/cam_periph.c
+10-21 files not shown
+11-27 files

HardenedBSD/src 8c35de4sbin/camcontrol camcontrol.c, sys/cam cam_periph.c

cam/scsi: Add power condition support to START STOP UNIT

This patch adds a power_condition parameter to the
scsi_start_stop() function and sets the power condition via SSU.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronic
Differential Revision:  https://reviews.freebsd.org/D53922
DeltaFile
+3-1sys/cam/scsi/scsi_all.c
+2-1sys/cam/scsi/scsi_all.h
+2-0sys/cam/scsi/scsi_cd.c
+1-0sys/dev/mpr/mpr_sas_lsi.c
+1-0sbin/camcontrol/camcontrol.c
+1-0sys/cam/cam_periph.c
+10-21 files not shown
+11-27 files

HardenedBSD/src 5e0d065sys/dev/ufshci ufshci.h ufshci_sim.c

ufshci: Enable WLUN scan

QEMU ufs device does not implement WLUN, so QUIRK is added.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53921
DeltaFile
+8-0sys/dev/ufshci/ufshci.h
+5-1sys/dev/ufshci/ufshci_sim.c
+2-1sys/dev/ufshci/ufshci_pci.c
+2-0sys/dev/ufshci/ufshci_private.h
+17-24 files

FreeBSD/src 5e0d065sys/dev/ufshci ufshci.h ufshci_sim.c

ufshci: Enable WLUN scan

QEMU ufs device does not implement WLUN, so QUIRK is added.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53921
DeltaFile
+8-0sys/dev/ufshci/ufshci.h
+5-1sys/dev/ufshci/ufshci_sim.c
+2-1sys/dev/ufshci/ufshci_pci.c
+2-0sys/dev/ufshci/ufshci_private.h
+17-24 files

FreeBSD/src ba96377sys/cam cam_xpt.c cam_ccb.h, sys/cam/scsi scsi_xpt.c scsi_all.h

cam/scsi: Support well known logical unit

This patch adds an additional state to probe well-known logical units
before probing normal logical units.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53920
DeltaFile
+157-82sys/cam/scsi/scsi_xpt.c
+1-1sys/cam/scsi/scsi_all.h
+1-0sys/cam/cam_xpt.c
+1-0sys/cam/cam_ccb.h
+1-0sys/cam/cam_xpt_internal.h
+161-835 files

HardenedBSD/src ba96377sys/cam cam_xpt_internal.h cam_ccb.h, sys/cam/scsi scsi_xpt.c scsi_all.h

cam/scsi: Support well known logical unit

This patch adds an additional state to probe well-known logical units
before probing normal logical units.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53920
DeltaFile
+157-82sys/cam/scsi/scsi_xpt.c
+1-1sys/cam/scsi/scsi_all.h
+1-0sys/cam/cam_xpt_internal.h
+1-0sys/cam/cam_ccb.h
+1-0sys/cam/cam_xpt.c
+161-835 files

HardenedBSD/src 3e3d7e5sys/dev/ufshci ufshci_sim.c ufshci.h

ufshci: add helper to convert SCSI LUN to UPIU LUN formats

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53919
DeltaFile
+24-1sys/dev/ufshci/ufshci_sim.c
+2-0sys/dev/ufshci/ufshci.h
+26-12 files