Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging TLB invalidation timeout #60

Open
wants to merge 1 commit into
base: celadon/u/mr0/master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
Original file line number Diff line number Diff line change
Expand Up @@ -4878,7 +4878,7 @@ static int guc_send_invalidate_tlb(struct intel_guc *guc, u32 type)
if (timeout)
break;
gt_dbg(gt, "TLB invalidation (seqno=%u) pending for %us\n", seqno, ++elapsed);
if (elapsed >= 2) {
if (elapsed >= 5) {
/*
* FIXME: Real TLB invalidation timeout is critical and warrants a GT
* reset. However, it's possible that after this long wait the GT could
Expand All @@ -4887,9 +4887,9 @@ static int guc_send_invalidate_tlb(struct intel_guc *guc, u32 type)
*/
if (intel_gt_is_enabled(gt)) {
gt_err(gt,
"TLB invalidation response timed out for seqno %u\n",
"##stang23## TLB invalidation response timed out for seqno %u\n",
seqno);
intel_gt_set_wedged(gt);
//intel_gt_set_wedged(gt);
err = -ETIME;
}
break;
Expand Down