[PATCH i-g-t v2 3/4] tests/intel/xe_oa: Add a test for tail address wrap
Dixit, Ashutosh
ashutosh.dixit at intel.com
Thu Aug 28 02:30:45 UTC 2025
On Wed, 27 Aug 2025 16:39:41 -0700, Umesh Nerlige Ramappa wrote:
>
> Maybe we can hold off on this patch.
>
> It looks like when the issue occurs, we will not be able to read reports
> greater than fit_reports because the kmd will not be able to find valid
> reports in the OA buffer after the wrap (since the TAIL reg is out of
> sync).
>
> Will think of some other way to test this.
Yikes I forgot too. Maybe we can do something like this:
- Read fit_reports and make sure they are ok
- Now try to read extra_reports, or even a single report. Make sure we get
stuck (maybe using poll()?). Timeout and send an interrupt signal to the
blocked thread to unblock it.
- Now also check that the end of the buffer is non-zero
So yeah, definitely more involved.
Thanks.
--
Ashutosh
More information about the igt-dev
mailing list