Skip to content

Conversation

@cladur
Copy link

@cladur cladur commented Jan 2, 2026

This PR adds a new eu-debug patch that makes the attention bits be checked only once during attention scan.


Previously, handle_gt_queued_pagefault() and xe_eudebug_handle_gt_attention() each performed separate attention bit checks. This created a race window where attention bits could change between the two checks, leading to inconsistent event delivery.

The fix consolidates attention checking to a single point in attention_scan_fn(), ensuring atomic decision making for both event types.

@sys-i915-oscijenkins
Copy link

CI Bug Log - changes from xkb-197-3b737c674f2daf65c3d16d70dc50ee37634bfa55_BAT -> xkb-pr-main-242-415-a5fcddda692876b941dd5b87941e5db492c9985f_BAT

Summary

SUCCESS

No regressions found.

Participating hosts (7 -> 8)

Additional (1): bat-bmg-1

Known issues

Here are the changes found in xkb-pr-main-242-415-a5fcddda692876b941dd5b87941e5db492c9985f_BAT that come from known issues:

IGT changes

Issues hit

Warnings

Build changes

  • IGT: igt-xkb-83-c5b9c035a -> igt-xkb-85-c5b9c035a
  • Linux: xkb-197-3b737c674f2daf65c3d16d70dc50ee37634bfa55 -> xkb-pr-main-242-415-a5fcddda692876b941dd5b87941e5db492c9985f

igt-xkb-83-c5b9c035a: c5b9c035a
igt-xkb-85-c5b9c035a: c5b9c035a
xkb-197-3b737c674f2daf65c3d16d70dc50ee37634bfa55: 3b737c6
xkb-pr-main-242-415-a5fcddda692876b941dd5b87941e5db492c9985f: a5fcddd

The fix consolidates attention checking to a single point in
attention_scan_fn(), ensuring atomic decision making for both event types.

Signed-off-by: Jan Maslak <jan.maslak@intel.com>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can please add source details like
(cherry-picked from commit e6c8720d978831b669c4763ddeecda14fca13ed3 xe internal)
or
(backported from commit d41f306cc2e3cc44b1226122d97bf3d451c9c6e6 linux-next)

Previously, handle_gt_queued_pagefault() and xe_eudebug_handle_gt_attention()
each performed separate attention bit checks. This created a race window where
attention bits could change between the two checks, leading to inconsistent
event delivery.

The fix consolidates attention checking to a single point in
attention_scan_fn(), ensuring atomic decision making for both event types.

Signed-off-by: Jan Maslak <jan.maslak@intel.com>
@cladur cladur force-pushed the 6.17_atomic_attention_scan_fixup branch from a5fcddd to 2677c08 Compare January 7, 2026 11:23
@cladur
Copy link
Author

cladur commented Jan 7, 2026

@kbommu Added a line referencing the source details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants