[rocjitsu][consan] Observe gfx950 direct-to-LDS buffer loads #17338
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.33) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 149 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.300
Real PR Conversation Timeline
1 comments
"Review active on #17338"
general
weight: 0.35
hanhanW
A gfx950 buffer load can write LDS without producing a VGPR result. ConSan preparation rejects the load, so the saved capture cannot compare the transferred bytes with a peer wave's LDS read.
Admit zero-offset B32 and B128 direct-to-LDS loads when a guest constant M0 definition and its scalar NOP spacing lead to the issue within one block. At preparation time, mask M0 to the CDNA4 LDS base and check that the fixed allocation covers the entire wave. The probe combines that base with the physical lane and element width, then applies guest EXEC and the existing recording selectors. Preserve the original transfer and save its completion wait so the prepared image can be checked against the guest program.
Require an original VM drain before later memory or synchronization. Two disjoint transfers can share that drain. The existing workgroup barrier witnesses determine publication to peer waves.
For example, with M0 at byte 256, a B128 transfer writes [848, 864) for lane 37. A peer read of the last dword overlaps. A read starting at 864 is adjacent when lane 38 is inactive. The VM drain and workgroup barrier let replay distinguish a published write from an unordered peer access.