[llvm-calc-occupancy] Add an AMDGPU occupancy calculator tool (#208727)
Add a command-line utility that reports the occupancy (waves/EU) an
AMDGPU kernel would reach for a given workgroup size, VGPR/SGPR usage
and LDS. It reuses the backend's own occupancy math, so the numbers
match the compiler. Includes a lit test and a CommandGuide man page.
Assisted-by: Claude Opus
---------
Co-authored-by: mselehov <mselehov at amd.com>
routing: Remove unused rib_head members
Remove unused rnh_multipath and rib_algo_fixed members.
While here, convert rib_dying and rib_algo_init from uint32_t to bool.
Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D58537
[ADT] Remove deprecated llvm::make_scope_exit (#212987)
Update remaining call sites in lldb to construct llvm::scope_exit
directly, per the deprecation notice.
---------
Co-authored-by: Claude <noreply at anthropic.com>
[CodeGen] Remove deprecated createTargetMachineForTriple overload (#212984)
This overload was deprecated in favor of the Triple overload and marked
for removal after llvm 23 branched. All in-tree callers already use the
Triple overload.
Co-authored-by: Claude <noreply at anthropic.com>
[lldb-dap] Mirgate TestDAP_evaluate. (#212282)
rewrite the `assertEvaluate` and `assertEvaluateFailure` helpers to use
the already existing `session.verify_evaluate` function. THe helpers are
now inlined functions.
NAS-142003 / 25.10.6 / add test for compare and write (by yocalebo) (#19447)
Two of our FC ALUA customers are hitting panic's on the standby
controllers on 25.10.4 and 25.10.5. The stack trace and the details are
in https://github.com/truenas/scst/pull/101. This test reproduced the
_exact_ stack trace that the customers reported.
After the changes in above linked PR, this test completes without
panic'ing the standby controller.
Original PR: https://github.com/truenas/middleware/pull/19444
---------
Co-authored-by: Caleb St. John <30729806+yocalebo at users.noreply.github.com>
[AMDGPU] Fix getDestEquivalentVGPRClass narrowing AV-class registers (#212963)
isVGPRClass() rejects AV-class registers, so they were narrowed to
VGPR-only instead of preserved. Same reasoning behind the fix as in
SIPreAllocateWWMRegs (see
https://github.com/llvm/llvm-project/pull/211560)
DAG: Use poison in getLoad/getStore for offsets
The painful part of this is due to a few unfortunate things.
1. poison is legalized to undef
2. Non-indexed load/store encode the offset as an undef (which is
not like a TargetConstant, and does get legalized)
3. 2 asserts in DAGCombiner expect identical load/store nodes,
which assumes the offset will be preserved and not converted
between poison and undef
4. The getLoad/getStore overloads are a mess, and a path was missing
to recreate the store case with the original offset.
security/zoneminder: Update to 1.38.3
Upstream NEWS, less bugfixes and minor improvements:
ZoneMinder 1.38.x Release Notes
TL;DR - Key Highlights
- Role-Based Access Control - Enterprise-grade permission system with user roles
- Modern Streaming - WebRTC, Go2RTC, RTSP2Web support with hardware acceleration
- Monitor Function Redesign - Granular control with separate Capturing, Analysing, and Recording settings
- Enhanced Protocols - ONVIF Events, MQTT, Amcrest API integration
-Event Tagging - Flexible labeling and organization system
- Server Monitoring - Real-time CPU, memory, and performance metrics
- Geolocation - Geographic tracking for events and servers
- Hardware Encoding - GPU acceleration for video encoding
Overview
ZoneMinder 1.38.x represents a major evolution from version 1.36.x,
[232 lines not shown]
[mlir] Honor IntrHasSideEffects on IntrNoMem LLVM intrinsics (#212760)
`[IntrNoMem, IntrHasSideEffects]` is a perfectly valid intrinsic trait
combination, and MLIR would CSE/DCE those without checking. This mirrors
how LLVM models this, see getEffectiveME in IntrinsicEmitter.cpp
[AArch64] Add all cost kinds for integer getArithmeticInstrCost (#210759)
This adds all (CodeSize, Latency, LatSize) costs to
getArithmeticInstrCost integer operations, getting the cost more correct
especially for operations that expand into multiple instructions.
Floating point are left to another commit to limit the impact.
qt6-qtbase: Put Qt6Drm* cmake files behind PLIST.wayland.
I am not 100% sure this is the correct variable, but it matches
libdrm-egl-server.so and the files are found under the wayland/ source
directory, so it's probably correct. Fixes non-wayland installs.
mbuf: Make m_unshare() fail on KTLS mbufs
Commit f2202ab5abda did not account for KTLS mbufs.
m_unshare() tries to linearize the original mbuf chain and creates a
writable copy of it, converting unmapped mbufs. Both of them are
unsafe for KTLS mbufs.
It is better to return NULL if the mbuf chain contains a KTLS mbuf.
Reported by: jhb
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D58466
[OFFLOAD] Fix a platform selection issue for llvm-gpu-loader (#212893)
Currently if an image supplied to llvm-gpu-loader is not properly
detected by its platform detection logic it does not accept it for
execution. The example could be a spirv or bitcode format. This fix
allows it to rely on devices to device if an image will be accepted and
uses its existing platform detection logic as an optimization only
xmlto: Add libpaper dependency.
Goes looking for paperconf and embeds a path to it if found, so supply it
ourselves to ensure consistency. Bump PKGREVISION.
NAS-142003 / 26.0.0-RC.1 / add test for compare and write (by yocalebo) (#19449)
Two of our FC ALUA customers are hitting panic's on the standby
controllers on 25.10.4 and 25.10.5. The stack trace and the details are
in https://github.com/truenas/scst/pull/101. This test reproduced the
_exact_ stack trace that the customers reported.
After the changes in above linked PR, this test completes without
panic'ing the standby controller.
Original PR: https://github.com/truenas/middleware/pull/19444
Co-authored-by: caleb <yocalebo at gmail.com>
NAS-142003 / 26.0.0-BETA.3 / add test for compare and write (by yocalebo) (#19448)
Two of our FC ALUA customers are hitting panic's on the standby
controllers on 25.10.4 and 25.10.5. The stack trace and the details are
in https://github.com/truenas/scst/pull/101. This test reproduced the
_exact_ stack trace that the customers reported.
After the changes in above linked PR, this test completes without
panic'ing the standby controller.
Original PR: https://github.com/truenas/middleware/pull/19444
Co-authored-by: caleb <yocalebo at gmail.com>