1. 11 Jul, 2019 6 commits
  2. 10 Jul, 2019 9 commits
  3. 16 Jun, 2019 1 commit
  4. 08 Dec, 2018 1 commit
  5. 20 Nov, 2018 1 commit
  6. 24 Oct, 2018 1 commit
    • Olivier Fourdan's avatar
      linux: Set number of devices to 0 in case of error · 44f3dd08
      Olivier Fourdan authored
      
      
      pci_sys is a global variable which is populated on init, and in case of
      error reading sysfs on Linux, the devices are NULL, but the number of
      devices is left unchanged.
      
      As a result, we may crash in `pci_device_next()` which relies on the
      number of devices.
      
      To fix the issue, simply reset the number of devices to zero in case of
      error so we don't try to access indices of a NULL array later on.
      Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
      44f3dd08
  7. 23 Oct, 2017 1 commit
  8. 20 Sep, 2017 1 commit
    • Stephen Hemminger's avatar
      linux: support 32 bit PCI domains (v3) · a167bd64
      Stephen Hemminger authored
      The PCI domain may be larger than 16 bits on Microsoft Azure and other
      virtual environments. PCI busses reported by ACPI are limited to 16
      bits, but in Azure the domain value for pass through devices is
      intentionally larger than 16 bits to avoid clashing with local devices.
      This is needed to support pass through of GPU devices.
      
      v3: (ajax)
      Update FreeBSD and Solaris backends to preserve the full 32-bit domain
      number, since on those OSes it stands a chance of working already.
      Update NetBSD and OpenBSD backends to initialize domain_16 compatibly
      with older libpciaccess; neither backend appears to support more than a
      handful of domains to begin with though. Trivially update the generic
      x86 backend for source compatibility, though it still only supports one
      domain and will never be better.
      
      Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=101744
      
      Signed-off-by: default avatarStephen Hemminger <sthemmin@microsoft.com>
      Reviewed-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
      a167bd64
  9. 04 Apr, 2017 6 commits
  10. 26 Jan, 2017 3 commits
  11. 11 Jan, 2017 1 commit
  12. 15 Aug, 2016 1 commit
  13. 02 May, 2016 2 commits
  14. 20 Oct, 2015 1 commit
  15. 22 Sep, 2015 3 commits
  16. 05 May, 2015 1 commit
  17. 01 May, 2015 1 commit