Repository navigation
drm/asahi: g17: let progress end a restart storm window - #1394
Merged
DjDeveloperr merged 1 commit intoNov 10, 2026
Merged
Conversation
This was referenced Nov 10, 2026
The restart storm limit stopped the GPU for every client after eight
firmware restarts within 30 s, however much work retired between them.
On the M5 Pro a sampled Vulkan CTS synchronization run hits one hang every
few hundred cases, each in a different deqp-vk process, while thousands of
other commands complete in between. The eighth hang in 30 s stopped the
GPU runtime ("restart storm limit reached"), and every later client saw
ENODEV until reboot.
Count restarts the way timeouts already are: work retired since the
previous restart starts a new window. Each restart still fails the guilty
client's work, and restarts that follow each other without any progress
still reach the limit and stop the GPU.
Signed-off-by: Diljit Singh <[email protected]>
DjDeveloperr
changed the base branch from
funkzy/t6050-gpu-on-integration
to
dj/g17-m5-pro-bare-metal
November 10, 2026 09:10
DjDeveloperr
force-pushed
the
dj/g17-restart-storm-progress
branch
from
November 10, 2026 09:10
1e397cc to
ae20b32
Compare
DjDeveloperr
changed the base branch from
dj/g17-m5-pro-bare-metal
to
funkzy/t6050-gpu-on-integration
November 10, 2026 10:21
DjDeveloperr
merged commit Nov 10, 2026
dc5dcdd
into
funkzy/t6050-gpu-on-integration
6 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The G17 restart storm limit stopped the GPU runtime after 8 firmware restarts within 30 s, however much work retired between them. Timeout storms already reset the window on progress; this applies the same rule to restarts.
Problem (measured on the M5 Pro, J714s)
A sampled Vulkan CTS synchronization2 run had 7 hangs in 9 s, each in a different
deqp-vkprocess, with thousands of commands completing between them. The 8th restart in 30 s stopped the runtime (restart storm limit reached,GPU runtime stopped, device lost). Every later client then got ENODEV (Failed to query AGX device parameters: No such device) until reboot, so 6 of the sampled dEQP groups couldn't run at all.Fix
restart_limit()usesStorm::note_unless_progress(now, retired()): work retired since the previous restart starts a new window. Each restart still fails the guilty client's work. Restarts with no progress between them still reach the limit and stop the GPU. A test case is added torecovery/safety.rs; it was not run, becauseCONFIG_KUNITis off in the M5 kit config.Test (M5 Pro)
The same sampled synchronization2 list, unpaced, hit 15 restarts in 17 s. The old kernel stops at the 8th; with this change there was no storm stop. Afterwards
m5gpu computeandm5gpu renderpassed, and the 6 remaining sampled groups ran clean.Every M5 kernel shipped since 11-09 carries this commit:
82f52a31c232;This PR is the same diff, as one commit on this branch's head (0dd0833). It applies without conflicts, so it wasn't rebuilt.
🤖 Generated with Claude Code