On Mon, Feb 27, 2017 at 03:12:31PM +0100, Alexander Gordeev wrote: > Hi Andrew, > > The PCI BAR checks series v2 evolved to a rework of the framework > itself. Hopefully, the result will be less confusion. I do not > post an extensive sanity checks for now - let's see if the changes > would make it in. > > Thanks! > > Cc: Thomas Huth <thuth@xxxxxxxxxx> > Cc: Andrew Jones <drjones@xxxxxxxxxx> > > Alexander Gordeev (6): > pci: pci-host-generic: Use INVALID_PHYS_ADDR instead of ~0 > pci: Do not use 0 for unimplemented BARs in pci_dev::resource[] > pci: Accomodate 64 bit BARs in pci_dev::resource[] > pci: Turn struct pci_dev into device handle for PCI functions > pci: Rework pci_bar_is_valid() > pci: Make PCI API consistent wrt using struct pci_dev > > lib/pci-host-generic.c | 4 +-- > lib/pci.c | 93 ++++++++++++++++++++++++++++---------------------- > lib/pci.h | 5 ++- > x86/intel-iommu.c | 2 +- > x86/vmexit.c | 1 - > 5 files changed, 57 insertions(+), 48 deletions(-) > > -- > 1.8.3.1 > For the series Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx> Peter Xu should also take a look though (CC'ed) Thanks, drew