]> asedeno.scripts.mit.edu Git - linux.git/commit
vfio/pci: Fix handling of RC integrated endpoint PCIe capability size
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 27 Jul 2017 16:39:33 +0000 (10:39 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 27 Jul 2017 16:39:33 +0000 (10:39 -0600)
commit796b755066dd6254bfb6388fec901631e868d1c7
tree37f7e8e0a9f6d746598c1a2e8383df1cdfb95600
parent9f47803503247c9ec414072c0724073a1c8c3433
vfio/pci: Fix handling of RC integrated endpoint PCIe capability size

Root complex integrated endpoints do not have a link and therefore may
use a smaller PCIe capability in config space than we expect when
building our config map.  Add a case for these to avoid reporting an
erroneous overlap.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci_config.c