Skip to content

Test unbinding PCI device while OA stream is open

Umesh Nerlige Ramappa igt-dev 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/28 patches 0 repliesNew
  2. v2 posting 1/23 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Assert expected values (Shekhar)

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tests/intel/xe_oa: Move device setup and teardown into helperstests/intel/xe_oa.c+55 -310 replies
2/8tests/intel/xe_oa: Add unbind/rebind test with an open OA streamtests/intel/xe_oa.c+239 -00 replies
3/8tests/intel/xe_oa: Check that a removed device can't open OA streamstests/intel/xe_oa.c+6 -10 replies
4/8tests/intel/xe_oa: Check OA buffer mmaps across unbindtests/intel/xe_oa.c+52 -30 replies
5/8tests/intel/xe_oa: Check vm_ops->access on OA buffer mmaps across unbindtests/intel/xe_oa.c+36 -20 replies
6/8tests/intel/xe_oa: Check that blocked OA stream waiters are woken up on unbindtests/intel/xe_oa.c+131 -60 replies
7/8tests/intel/xe_oa: Add an exec queue variant to the unbind/rebind testtests/intel/xe_oa.c+25 -30 replies
8/8tests/intel/xe_oa: Add an all OA units variant to the unbind/rebind testtests/intel/xe_oa.c+11 -00 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchShekhar Chauhan
1/8R-b
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] Test unbinding PCI device while OA stream is open

Unbinding PCI device with an open OA stream FD crashed the system with a NPD. Test the kernel fix for quiescing OA on device removal.

v2:
- Assert expected values (Shekhar)

v3
- Refine based on kernel changes

Umesh Nerlige Ramappa (8):
tests/intel/xe_oa: Move device setup and teardown into helpers tests/intel/xe_oa: Add unbind/rebind test with an open OA stream tests/intel/xe_oa: Check that a removed device can't open OA streams tests/intel/xe_oa: Check OA buffer mmaps across unbind tests/intel/xe_oa: Check vm_ops->access on OA buffer mmaps across
unbind
tests/intel/xe_oa: Check that blocked OA stream waiters are woken up
on unbind
tests/intel/xe_oa: Add an exec queue variant to the unbind/rebind test tests/intel/xe_oa: Add an all OA units variant to the unbind/rebind
test

 tests/intel/xe_oa.c | 569 +++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 539 insertions(+), 30 deletions(-)
Signature · 1 line
2.55.0