Skip to content

pci: Complete conversion of PCI API to struct pci_dev

Alexander Gordeev kvm 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 7 repliesApplied
  2. v36 patches 13 repliesSuperseded

Changes in v4 from the cover letter

- patches 2/6 and 3/6 merged; I amended the commit message, but kept the R-b;
- an empty line in patch 4/6 removed;

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5pci: pci-host-generic: Use INVALID_PHYS_ADDR instead of ~0lib/pci-host-generic.c+1 -10 replies
2/5pci: Accomodate 64 bit BARs in pci_dev::resource[]lib/pci.c+9 -60 replies
3/5pci: Turn struct pci_dev into device handle for PCI functionslib/pci.c lib/pci.h x86/vmexit.c+17 -150 replies
4/5pci: Rework pci_bar_is_valid()lib/pci.c+4 -40 replies
5/5pci: Make PCI API consistent wrt using struct pci_devlib/pci-host-generic.c lib/pci.c lib/pci.h +1 more+27 -240 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAndrew Jones
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [kvm-unit-tests PATCH v4 0/5] pci: Complete conversion of PCI API to struct pci_dev

Changes since v3:
- patches 2/6 and 3/6 merged; I amended the commit message, but kept the R-b;
- an empty line in patch 4/6 removed;

Sources are avalable at:
https://github.com/a-gordeev/kvm-unit-tests.git pci-fixes-v4

Cc Thomas Huth <[email protected]>
Cc Andrew Jones <[email protected]>
Cc Peter Xu <[email protected]>

Alexander Gordeev (5):
pci: pci-host-generic: Use INVALID_PHYS_ADDR instead of ~0
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              | 92 ++++++++++++++++++++++++++++----------------------
 lib/pci.h              |  5 ++-
 x86/intel-iommu.c      |  2 +-
 x86/vmexit.c           |  1 -
 5 files changed, 56 insertions(+), 48 deletions(-)
Signature · 1 line
1.8.3.1