Skip to content
Snippets Groups Projects
  1. Sep 01, 2022
  2. Aug 30, 2022
  3. Aug 29, 2022
    • Zbigniew Kempczyński's avatar
      lib/igt_device_scan: Retry when parent pci device lacks properties · a23e8aed
      Zbigniew Kempczyński authored
      
      When driver is loaded or binded and device scanning is performed immediate
      after that we observed sometimes parent pci device lacks properties.
      Device selection is built on top of this so we need to solve this
      situation somehow.
      
      Unfortunately reproduction of this bug is extremely hard and likely
      is located in libudev or libsystemd libraries. Situation complicates
      fact udev_device_get_parent() internally scans parent device once so
      consecutive calls returns stale (and maybe properties missing) parent
      device.
      
      We know syspath of parent device so we can enforce scanning of such
      device calling udev_device_new_from_syspath() which returns freshly
      scanned device. To increase probability we get properly scanned device
      retry loop tries to do this several times.
      
      Previous code which dumps properties, attributes and uevent was removed.
      We don't need it anymore as it was temporary code to get some picture
      what's wrong.
      
      Signed-off-by: default avatarZbigniew Kempczyński <zbigniew.kempczynski@intel.com>
      Cc: Petri Latvala <petri.latvala@intel.com>
      Reviewed-by: default avatarPetri Latvala <petri.latvala@intel.com>
      a23e8aed
  4. Aug 24, 2022
  5. Aug 23, 2022
  6. Aug 22, 2022
  7. Aug 18, 2022
  8. Aug 17, 2022
  9. Aug 16, 2022
  10. Aug 15, 2022
  11. Aug 13, 2022
  12. Aug 12, 2022
  13. Aug 11, 2022
  14. Aug 10, 2022
  15. Aug 09, 2022
  16. Aug 08, 2022
  17. Aug 05, 2022
  18. Aug 03, 2022
Loading