lib/igt_sriov_device: Replace libpciaccess with direct sysfs interaction
PATCH 1/1 lib/igt_sriov_device: Replace libpciaccess with direct sysfs interaction
Previously, libpciaccess was used to fetch PCI device information for VFs in SR-IOV, which does not refresh the PCI bus state after the initial scan. This can lead to outdated PCI information in dynamic SR-IOV environments where VFs are dynamically managed.
The new implementation directly interacts with sysfs to resolve the PCI slot address of a VF, ensuring access to the most current state of the PCI bus. This change removes the dependency on libpciaccess and uses __igt_sriov_get_vf_pci_slot_alloc to fetch the PCI slot addresses directly from sysfs based on VF numbers.
--- lib/igt_sriov_device.c | 46 +++++++++++++++++++++++++++++++++++------- 1 file changed, 39 insertions(+), 7 deletions(-)
lib/igt_sriov_device.c +39 -7
@@ -297,26 +297,58 @@ bool igt_sriov_is_vf_drm_driver_probed(int pf, unsigned int vf_num)return ret; } +/* +* __igt_sriov_get_vf_pci_slot_alloc: +* @pf_sysfs: sysfs directory file descriptor +* @vf_num: VF number (1-based) +* +* Resolve symbolic link from virtfnX to obtain the PCI slot address. +* Returns a dynamically allocated string containing the PCI slot address, +* or NULL if the link cannot be resolved. +* The caller is responsible for freeing the returned memory. +*/ +static char *__igt_sriov_get_vf_pci_slot_alloc (int pf_sysfs,unsigned int vf_num) +{ +char dir_path[PATH_MAX ]; +char path[PATH_MAX ]; +char *pci_slot_addr; +int len; + +/* Adjust for 0-based index as vf_num is 1-based */ +if (vf_num) +snprintf (dir_path,sizeof (dir_path),"device/virtfn%u" , + vf_num -1 ); +else +snprintf (dir_path,sizeof (dir_path),"device" ); + + len =readlinkat (pf_sysfs, dir_path, path,sizeof (path)); +if (len <=0 ) +return NULL ; + + path[len] ='\0' ; + pci_slot_addr =strrchr (path,'/' ) +1 ; + +return pci_slot_addr ?strdup (pci_slot_addr) :NULL ; +} +static bool __igt_sriov_bind_vf_drm_driver (int pf,unsigned int vf_num,bool bind) { -struct pci_device *pci_dev; -char pci_slot[14 ]; +char *pci_slot;int sysfs;bool ret;igt_assert (vf_num >0 ); - pci_dev =__igt_device_get_pci_device (pf, vf_num); -igt_assert_f (pci_dev,"No PCI device for given VF number: %d\n" , vf_num); -sprintf (pci_slot,"%04x:%02x:%02x.%x" , - pci_dev->domain_16, pci_dev->bus, pci_dev->dev, pci_dev->func); - sysfs =igt_sysfs_open (pf);igt_assert_fd (sysfs); + pci_slot =__igt_sriov_get_vf_pci_slot_alloc (sysfs, vf_num); +igt_assert (pci_slot); +igt_debug ("vf_num: %u, pci_slot: %s\n" , vf_num, pci_slot); ret =igt_sysfs_set (sysfs, bind ?"device/driver/bind" :"device/driver/unbind" , pci_slot); +free (pci_slot);close (sysfs);return ret;
Signature · 1 line
2.31.1
Patchwork
CI✗ Fi.CI.BAT: failure for lib/igt_sriov_device: Replace libpciaccess with direct sysfs interaction
== Series Details ==
== Series Details ==
Series: lib/igt_sriov_device: Replace libpciaccess with direct sysfs interaction
URL : https://patchwork.freedesktop.org/series/135476/
State : failure
== Summary ==
CI Bug Log - changes from IGT_7907 -> IGTPW_11327
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_11327 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_11327, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/index.html
Participating hosts (35 -> 40)
------------------------------
Additional (7): bat-adlp-9 bat-adlp-6 fi-elk-e7500 bat-jsl-3 bat-dg2-14 bat-dg2-13 bat-dg2-11
Missing (2): fi-snb-2520m fi-kbl-8809g
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_11327:
### IGT changes ###
#### Possible regressions ####
* igt@kms_chamelium_edid@dp-edid-read:
- bat-dg2-13: NOTRUN -> [ABORT][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-13/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1:
- bat-dg2-8: [PASS][2] -> [FAIL][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7907/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
Known issues
------------
Here are the changes found in IGTPW_11327 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- bat-adlp-9: NOTRUN -> [SKIP][4] ([i915#9318])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
- bat-adlp-6: NOTRUN -> [SKIP][5] ([i915#9318])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]
- bat-jsl-3: NOTRUN -> [SKIP][6] ([i915#9318])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- bat-jsl-3: NOTRUN -> [SKIP][7] ([i915#2190])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- bat-jsl-3: NOTRUN -> [SKIP][8] ([i915#4613]) +3 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]
- bat-adlp-9: NOTRUN -> [SKIP][9] ([i915#4613]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
* igt@gem_lmem_swapping@random-engines:
- bat-adlp-6: NOTRUN -> [SKIP][10] ([i915#4613]) +3 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]
* igt@gem_mmap@basic:
- bat-dg2-11: NOTRUN -> [SKIP][11] ([i915#4083])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][12] ([i915#4083])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-dg2-14: NOTRUN -> [SKIP][13] ([i915#4079]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
* igt@gem_tiled_fence_blits@basic:
- bat-dg2-14: NOTRUN -> [SKIP][14] ([i915#4077]) +2 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][15] ([i915#4077]) +2 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
* igt@gem_tiled_pread_basic:
- bat-adlp-6: NOTRUN -> [SKIP][16] ([i915#3282])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@gem_tiled_pread_basic.html
- bat-adlp-9: NOTRUN -> [SKIP][17] ([i915#3282])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@gem_tiled_pread_basic.html
- bat-dg2-11: NOTRUN -> [SKIP][18] ([i915#4079]) +1 other test skip
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@gem_tiled_pread_basic.html
* igt@i915_pm_rps@basic-api:
- bat-adlp-9: NOTRUN -> [SKIP][19] ([i915#6621])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][20] ([i915#6621])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
- bat-adlp-6: NOTRUN -> [SKIP][21] ([i915#6621])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][22] ([i915#6621])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
* igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy:
- bat-dg2-11: NOTRUN -> [SKIP][23] ([i915#4212]) +7 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-dg2-11: NOTRUN -> [SKIP][24] ([i915#5190])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][25] ([i915#5190])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
* igt@kms_addfb_basic@basic-x-tiled-legacy:
- bat-dg2-14: NOTRUN -> [SKIP][26] ([i915#4212]) +7 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg2-11: NOTRUN -> [SKIP][27] ([i915#4215] / [i915#5190])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][28] ([i915#4215] / [i915#5190])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- bat-adlp-9: NOTRUN -> [SKIP][29] ([i915#4103]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][30] ([i915#4103] / [i915#4213]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-dg2-14: NOTRUN -> [SKIP][31] ([i915#4103] / [i915#4213]) +1 other test skip
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
- bat-jsl-3: NOTRUN -> [SKIP][32] ([i915#4103]) +1 other test skip
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]
- bat-adlp-6: NOTRUN -> [SKIP][33] ([i915#4103]) +1 other test skip
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-dg2-11: NOTRUN -> [SKIP][34] ([i915#3555] / [i915#3840])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][35] ([i915#3555] / [i915#3840])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
- bat-adlp-6: NOTRUN -> [SKIP][36] ([i915#3555] / [i915#3840])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]
- bat-jsl-3: NOTRUN -> [SKIP][37] ([i915#3555] / [i915#9886])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]
- bat-adlp-9: NOTRUN -> [SKIP][38] ([i915#3555] / [i915#3840])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-dg2-14: NOTRUN -> [SKIP][39]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
- bat-jsl-3: NOTRUN -> [SKIP][40]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]
- bat-adlp-6: NOTRUN -> [SKIP][41]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]
- bat-adlp-9: NOTRUN -> [SKIP][42]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][43]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-dg2-11: NOTRUN -> [SKIP][44] ([i915#5274])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][45] ([i915#5274])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- bat-arls-2: [PASS][46] -> [DMESG-WARN][47] ([i915#7507])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7907/bat-arls-2/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-arls-2/igt@[email protected]
* igt@kms_pipe_crc_basic@hang-read-crc@pipe-b-dp-1:
- bat-dg2-8: [PASS][48] -> [FAIL][49] ([i915#11379])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7907/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
* igt@kms_pm_backlight@basic-brightness:
- bat-dg2-11: NOTRUN -> [SKIP][50] ([i915#5354])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][51] ([i915#5354])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
- bat-adlp-9: NOTRUN -> [SKIP][52] ([i915#9812])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
* igt@kms_pm_rpm@basic-pci-d3-state:
- fi-elk-e7500: NOTRUN -> [SKIP][53] +24 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/fi-elk-e7500/igt@[email protected]
* igt@kms_psr@psr-sprite-plane-onoff:
- bat-adlp-9: NOTRUN -> [SKIP][54] ([i915#1072] / [i915#9673] / [i915#9732]) +3 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][55] ([i915#1072] / [i915#9732]) +3 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][56] ([i915#1072] / [i915#9732]) +3 other tests skip
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- bat-adlp-9: NOTRUN -> [SKIP][57] ([i915#3555])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][58] ([i915#3555])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
- bat-adlp-6: NOTRUN -> [SKIP][59] ([i915#3555])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]
- bat-jsl-3: NOTRUN -> [SKIP][60] ([i915#3555])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][61] ([i915#3555])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-dg2-11: NOTRUN -> [SKIP][62] ([i915#3708])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][63] ([i915#3708])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-dg2-11: NOTRUN -> [SKIP][64] ([i915#3708] / [i915#4077]) +1 other test skip
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][65] ([i915#3708] / [i915#4077]) +1 other test skip
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- bat-adlp-9: NOTRUN -> [SKIP][66] ([i915#3291] / [i915#3708]) +2 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]
- bat-adlp-6: NOTRUN -> [SKIP][67] ([i915#3291] / [i915#3708]) +2 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]
* igt@prime_vgem@basic-read:
- bat-dg2-11: NOTRUN -> [SKIP][68] ([i915#3291] / [i915#3708]) +2 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]
- bat-dg2-14: NOTRUN -> [SKIP][69] ([i915#3291] / [i915#3708]) +2 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]
#### Warnings ####
* igt@i915_module_load@reload:
- fi-kbl-7567u: [DMESG-WARN][70] ([i915#10062] / [i915#180] / [i915#9925]) -> [DMESG-WARN][71] ([i915#10062] / [i915#180] / [i915#1982] / [i915#9925])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7907/fi-kbl-7567u/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/fi-kbl-7567u/igt@[email protected]
[i915#10062]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10062
[i915#1072]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1072
[i915#11379]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11379
[i915#180]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/180
[i915#1982]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1982
[i915#2190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2190
[i915#3282]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3291
[i915#3555]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3840
[i915#4077]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4215
[i915#4613]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613
[i915#5190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5274
[i915#5354]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5354
[i915#6621]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6621
[i915#7507]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/7507
[i915#9318]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9318
[i915#9673]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9673
[i915#9732]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9732
[i915#9812]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9812
[i915#9886]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9886
[i915#9925]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9925
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7907 -> IGTPW_11327
CI-20190529: 20190529
CI_DRM_15013: 0318a12ff6fb8c321458aa2b373e9322896ee951 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_11327: 2a279f402d2cb5f5d7d914c065d9769536dc688b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
IGT_7907: 676b8e660cadae8ffb29a45b12ad5b53ef228b6a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/index.html
Re: ✗ Fi.CI.BAT: failure for lib/igt_sriov_device: Replace libpciaccess with direct sysfs interaction
Quoted 44 lines · Patchwork
*Patch Details*
*Series:*lib/igt_sriov_device: Replace libpciaccess with direct sysfs interaction
*URL:* https://patchwork.freedesktop.org/series/135476/ <https://patchwork.freedesktop.org/series/135476/>
*State:* failure
*Details:* https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/index.html <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/index.html>CI Bug Log - changes from
IGT_7907->IGTPW_11327Summary
*FAILURE*
Serious unknown changes coming with
IGTPW_11327absolutely need to be verified manually.If you think the reported changes have nothing to do with the changes
introduced inIGTPW_11327, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/index.html
Participating hosts (35 -> 40)Additional (7): bat-adlp-9 bat-adlp-6 fi-elk-e7500 bat-jsl-3 bat-dg2-14 bat-dg2-13 bat-dg2-11 Missing (2): fi-snb-2520m fi-kbl-8809g
Possible new issues
Here are the unknown changes that may have been introduced in
IGTPW_11327:IGT changes
Possible regressions
*
igt@kms_chamelium_edid@dp-edid-read:
Quoted 8 lines
o bat-dg2-13: NOTRUN -> ABORT
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-13/igt@[email protected]>
*igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1:
o bat-dg2-8: PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7907/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]> -> FAIL <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]>
Not related to the change.
Regards,
Marcin
Quoted 271 lines
Known issues
Here are the changes found in
IGTPW_11327that come from known issues:IGT changes
Issues hit
*
igt@debugfs_test@basic-hwmon:
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]> (i915#9318 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9318>)
o bat-adlp-6: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]> (i915#9318 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9318>)
o bat-jsl-3: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]> (i915#9318 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9318>)
*igt@gem_huc_copy@huc-copy:
o bat-jsl-3: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]> (i915#2190 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2190>)
*igt@gem_lmem_swapping@basic:
o bat-jsl-3: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]> (i915#4613 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613>) +3 other tests skip
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]> (i915#4613 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613>) +3 other tests skip
*igt@gem_lmem_swapping@random-engines:
o bat-adlp-6: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]> (i915#4613 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613>) +3 other tests skip
*igt@gem_mmap@basic:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#4083 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4083>)
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#4083 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4083>)
*igt@gem_render_tiled_blits@basic:
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#4079 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4079>) +1 other test skip
*igt@gem_tiled_fence_blits@basic:
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#4077 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4077>) +2 other tests skip
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#4077 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4077>) +2 other tests skip
*igt@gem_tiled_pread_basic:
o bat-adlp-6: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@gem_tiled_pread_basic.html> (i915#3282 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3282>)
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@gem_tiled_pread_basic.html> (i915#3282 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3282>)
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@gem_tiled_pread_basic.html> (i915#4079 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4079>) +1 other test skip
*igt@i915_pm_rps@basic-api: o bat-adlp-9: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]> (i915#6621 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6621>) o bat-dg2-14: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#6621 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6621>) o bat-adlp-6: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]> (i915#6621 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6621>) o bat-dg2-11: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#6621 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6621>)*
igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#4212 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4212>) +7 other tests skip
*igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#5190 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5190>)
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#5190 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5190>)
*igt@kms_addfb_basic@basic-x-tiled-legacy:
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#4212 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4212>) +7 other tests skip
*igt@kms_addfb_basic@basic-y-tiled-legacy:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#4215 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4215> / i915#5190 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5190>)
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#4215 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4215> / i915#5190 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5190>)
*igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]> (i915#4103 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4103>) +1 other test skip
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#4103 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4103> / i915#4213 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4213>) +1 other test skip
*igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#4103 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4103> / i915#4213 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4213>) +1 other test skip
o bat-jsl-3: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]> (i915#4103 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4103>) +1 other test skip
o bat-adlp-6: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]> (i915#4103 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4103>) +1 other test skip
*igt@kms_dsc@dsc-basic:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555> / i915#3840 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3840>)
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555> / i915#3840 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3840>)
o bat-adlp-6: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555> / i915#3840 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3840>)
o bat-jsl-3: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555> / i915#9886 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9886>)
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555> / i915#3840 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3840>)
*igt@kms_force_connector_basic@force-load-detect:
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]>
o bat-jsl-3: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]>
o bat-adlp-6: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]>
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]>
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]>
*igt@kms_force_connector_basic@prune-stale-modes:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#5274 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5274>)
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#5274 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5274>)
*igt@kms_frontbuffer_tracking@basic:
o bat-arls-2: PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7907/bat-arls-2/igt@[email protected]> -> DMESG-WARN <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-arls-2/igt@[email protected]> (i915#7507 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/7507>)
*igt@kms_pipe_crc_basic@hang-read-crc@pipe-b-dp-1: o bat-dg2-8: PASS <https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7907/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]> -> FAIL <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]> (i915#11379 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11379>)*
igt@kms_pm_backlight@basic-brightness:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#5354 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5354>)
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#5354 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5354>)
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]> (i915#9812 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9812>)
*igt@kms_pm_rpm@basic-pci-d3-state: o fi-elk-e7500: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/fi-elk-e7500/igt@[email protected]> +24 other tests skip*
igt@kms_psr@psr-sprite-plane-onoff:
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]> (i915#1072 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1072> / i915#9673 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9673> / i915#9732 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9732>) +3 other tests skip
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#1072 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1072> / i915#9732 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9732>) +3 other tests skip
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#1072 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1072> / i915#9732 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9732>) +3 other tests skip
*igt@kms_setmode@basic-clone-single-crtc:
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555>)
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555>)
o bat-adlp-6: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555>)
o bat-jsl-3: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-jsl-3/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555>)
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#3555 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555>)
*igt@prime_vgem@basic-fence-flip:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#3708 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708>)
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#3708 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708>)
*igt@prime_vgem@basic-fence-mmap:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#3708 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708> / i915#4077 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4077>) +1 other test skip
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#3708 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708> / i915#4077 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4077>) +1 other test skip
*igt@prime_vgem@basic-fence-read:
o bat-adlp-9: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-9/igt@[email protected]> (i915#3291 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3291> / i915#3708 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708>) +2 other tests skip
o bat-adlp-6: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-adlp-6/igt@[email protected]> (i915#3291 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3291> / i915#3708 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708>) +2 other tests skip
*igt@prime_vgem@basic-read:
o bat-dg2-11: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-11/igt@[email protected]> (i915#3291 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3291> / i915#3708 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708>) +2 other tests skip
o bat-dg2-14: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/bat-dg2-14/igt@[email protected]> (i915#3291 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3291> / i915#3708 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708>) +2 other tests skipWarnings
* igt@i915_module_load@reload:
o fi-kbl-7567u: DMESG-WARN
<https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7907/fi-kbl-7567u/igt@[email protected]> (i915#10062 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10062> / i915#180 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/180> / i915#9925 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9925>) -> DMESG-WARN <https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11327/fi-kbl-7567u/igt@[email protected]> (i915#10062 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10062> / i915#180 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/180> / i915#1982 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1982> / i915#9925 <https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9925>)Build changes
* CI: CI-20190529 -> None
* IGT:IGT_7907->IGTPW_11327CI-20190529: 20190529
CI_DRM_15013:0318a12ff6fb8c321458aa2b373e9322896ee951@git://anongit.freedesktop.org/gfx-ci/linuxIGTPW_11327:2a279f402d2cb5f5d7d914c065d9769536dc688b@ https://gitlab.freedesktop.org/drm/igt-gpu-tools.gitIGT_7907:676b8e660cadae8ffb29a45b12ad5b53ef228b6a@ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork
CI✓ CI.xeBAT: success for lib/igt_sriov_device: Replace libpciaccess with direct sysfs interaction
In reply to Marcin Bernatowicz== Series Details ==
== Series Details ==
Series: lib/igt_sriov_device: Replace libpciaccess with direct sysfs interaction
URL : https://patchwork.freedesktop.org/series/135476/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7907_BAT -> XEIGTPW_11327_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (5 -> 5)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in XEIGTPW_11327_BAT that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1:
- {bat-lnl-1}: [FAIL][1] ([Intel XE#886]) -> [PASS][2] +1 other test pass
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7907/bat-lnl-1/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11327/bat-lnl-1/igt@kms_flip@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#2166]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2166
[Intel XE#886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/886
Build changes
-------------
* IGT: IGT_7907 -> IGTPW_11327
* Linux: xe-1538-42f35e623e6590cf8ec493373e4664ae4e32123c -> xe-1542-886eeb6d89b58f914ee5045fcac54b59a73d8299
IGTPW_11327: 2a279f402d2cb5f5d7d914c065d9769536dc688b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
IGT_7907: 676b8e660cadae8ffb29a45b12ad5b53ef228b6a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-1538-42f35e623e6590cf8ec493373e4664ae4e32123c: 42f35e623e6590cf8ec493373e4664ae4e32123c xe-1542-886eeb6d89b58f914ee5045fcac54b59a73d8299: 886eeb6d89b58f914ee5045fcac54b59a73d8299
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11327/index.html
Quoted 81 lines · Marcin Bernatowicz
Previously, libpciaccess was used to fetch PCI device information for VFs in SR-IOV, which does not refresh the PCI bus state after the initial scan. This can lead to outdated PCI information in dynamic SR-IOV environments where VFs are dynamically managed.
The new implementation directly interacts with sysfs to resolve the PCI slot address of a VF, ensuring access to the most current state of the PCI bus. This change removes the dependency on libpciaccess and uses
__igt_sriov_get_vf_pci_slot_allocto fetch the PCI slot addresses directly from sysfs based on VF numbers.Reported-by Michal Wajdeczko<[email protected]>Cc Michal Wajdeczko<[email protected]>Cc Lukasz Laguna<[email protected]>Cc Kamil Konieczny<[email protected]>Signed-off-by Marcin Bernatowicz<[email protected]>--- lib/igt_sriov_device.c | 46 +++++++++++++++++++++++++++++++++++------- 1 file changed, 39 insertions(+), 7 deletions(-)lib/igt_sriov_device.c +35
-7@@ -297,26 +297,58 @@ bool igt_sriov_is_vf_drm_driver_probed(int pf, unsigned int vf_num)return ret; } +/* +* __igt_sriov_get_vf_pci_slot_alloc: +* @pf_sysfs: sysfs directory file descriptor +* @vf_num: VF number (1-based) +* +* Resolve symbolic link from virtfnX to obtain the PCI slot address. +* Returns a dynamically allocated string containing the PCI slot address, +* or NULL if the link cannot be resolved. +* The caller is responsible for freeing the returned memory. +*/ +static char *__igt_sriov_get_vf_pci_slot_alloc (int pf_sysfs,unsigned int vf_num) +{ +char dir_path[PATH_MAX ]; +char path[PATH_MAX ]; +char *pci_slot_addr; +int len; + +/* Adjust for 0-based index as vf_num is 1-based */ +if (vf_num) +snprintf (dir_path,sizeof (dir_path),"device/virtfn%u" , + vf_num -1 ); +else +snprintf (dir_path,sizeof (dir_path),"device" ); + + len =readlinkat (pf_sysfs, dir_path, path,sizeof (path)); +if (len <=0 ) +return NULL ; + + path[len] ='\0' ; + pci_slot_addr =strrchr (path,'/' ) +1 ; + +return pci_slot_addr ?strdup (pci_slot_addr) :NULL ; +} +static bool __igt_sriov_bind_vf_drm_driver (int pf,unsigned int vf_num,bool bind) { -struct pci_device *pci_dev; -char pci_slot[14 ]; +char *pci_slot;int sysfs;bool ret;igt_assert (vf_num >0 ); - pci_dev =__igt_device_get_pci_device (pf, vf_num); -igt_assert_f (pci_dev,"No PCI device for given VF number: %d\n" , vf_num); -sprintf (pci_slot,"%04x:%02x:%02x.%x" , - pci_dev->domain_16, pci_dev->bus, pci_dev->dev, pci_dev->func); - sysfs =igt_sysfs_open (pf);igt_assert_fd (sysfs);
lib/igt_sriov_device.c bool igt_sriov_is_vf_drm_driver_probed(int pf, unsigned int vf_num) · line 354
Quoted 10 lines
lib/igt_sriov_device.c +4
-0+ pci_slot =__igt_sriov_get_vf_pci_slot_alloc (sysfs, vf_num); +igt_assert (pci_slot); +igt_debug ("vf_num: %u, pci_slot: %s\n" , vf_num, pci_slot); ret =igt_sysfs_set (sysfs, bind ?"device/driver/bind" :"device/driver/unbind" , pci_slot); +free (pci_slot);close (sysfs);return ret;