diff options
| author | 2026-09-22 16:41:57 -0400 | |
|---|---|---|
| committer | 2026-10-01 12:17:48 -0400 | |
| commit | c4d9c64c11427ba88448c8c54b89bcfb13da7a29 (patch) | |
| tree | 60d172936f84374ff941a2c4985c69b83ab96a35 /scripts/Makefile.thinlto | |
| parent | drm/amd/display: Fix stale replay_events after mod_power stream removal (diff) | |
drm/amdgpu: re-check connection state before sending NPA-REVOKE
The export cleanup worker checks amdgpu_ualink_check_conn_ready() once
when building npa_release_bitmap, but not again in the send loop. Cleanup
workers run concurrently on the unbounded NPA WQ (one per exported
handle), so when a peer's egress dies many workers have already seeded
npa_release_bitmap from a connection that was still ESTABLISHED and all
issue an LSDMA copy to the dead peer, flooding the log with repeated
NPA-REVOKE send failures.
Re-check the connection immediately before each send, as the tlb
shootdown, force_retry_rpcs and unmap_all_npa_addr loops already do, so
once the first worker marks a peer NOT_READY the rest skip it. With the
re-check in place, seed npa_release_bitmap with a single bitmap_copy() of
importers_bitmap instead of a separate build loop; peers that fail the
re-check or the send are dropped from the bitmap in the send loop.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
