lib/xe/xe_query: Wait for xe_supports_faults
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 0 repliesNew
- v22 patches 2 repliesSuperseded
- v11 patch 3 repliesSuperseded
Changes in v3 from the cover letter
- Add missing newlines.
- Split series into two patches.
- Make timeout depend on simulation status.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib/xe/xe_query: return errno from xe_supports_faults checklib/ lib/ | +9 | 0 replies | |
| 2/2 | tests/intel/xe_exec_fault_mode: account for EBUSY in support checktests/ | +13 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Kamil Konieczny |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH igt-dii-client v3 0/2] lib/xe/xe_query: Wait for xe_supports_faults
It's possible for xe_supports_faults to return false if the system is busy with multiple running tests. This is because the check looks for all active VMs and searches for VMs that do not have faults enabled, returning false if any exist. Recently, this check has been changed to return EBUSY when the check fails in this way, so wait for up to ten seconds for all the active VMs to flush out before proceeding.
v2:
- Remove loop from lib version of xe_supports_faults.
- Change xe_supports_faults to instead return the return value of the ioctl call used for the check.
- Loop when xe_supports_faults is called instead if the return value is -EBUSY.
v3:
- Add missing newlines.
- Split series into two patches.
- Make timeout depend on simulation status.
v4:
- Wait 5 milliseconds between xe_supports_faults calls.
Test-with: [email protected]
Jonathan Cavitt (2):
lib/xe/xe_query: return errno from xe_supports_faults check tests/intel/xe_exec_fault_mode: account for EBUSY in support check
lib/xe/xe_query.c | 15 ++++++++------- lib/xe/xe_query.h | 2 +- tests/intel/xe_exec_fault_mode.c | 14 +++++++++++++- 3 files changed, 22 insertions(+), 9 deletions(-)
Signature · 1 line
2.25.1