[PATCH i-g-t v2 3/4] tests/intel/xe_oa: Add a test for tail address wrap
Kamil Konieczny
kamil.konieczny at linux.intel.com
Thu Aug 28 08:21:25 UTC 2025
Hi Dixit,,
On 2025-08-27 at 19:30:45 -0700, Dixit, Ashutosh wrote:
> 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.
I merged two first patches as they are fixes.
If you like to rework or merge rest feel free to do it.
Regards,
Kamil
>
> Thanks.
> --
> Ashutosh
More information about the igt-dev
mailing list