Skip to content

pci: Various PCI BAR checks

Alexander Gordeev kvm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 9 repliesIn review
  2. v14 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pci: Rework pci_bar_is_valid()lib/pci.c+18 -16 replies
2/4pci: Split and rename pci_bar_is_valid() to pci_bar_exists()lib/pci-host-generic.c lib/pci-testdev.c lib/pci.c +2 more+18 -101 reply
3/4pci: Ensure BAR validity for public functionslib/pci.c+9 -01 reply
4/4pci: pci-host-generic: Use INVALID_PHYS_ADDR instead of ~0lib/pci-host-generic.c+1 -11 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

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

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

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/4] pci: Various PCI BAR checks

Hi Andrew,

Here is v2 of the series - it improves BAR validation function and scatters more calls to that around.

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

Alexander Gordeev (4):
pci: Rework pci_bar_is_valid()
pci: Split and rename pci_bar_is_valid() to pci_bar_exists()
pci: Ensure BAR validity for public functions
pci: pci-host-generic: Use INVALID_PHYS_ADDR instead of ~0

 lib/pci-host-generic.c |  6 +++---
 lib/pci-testdev.c      |  2 +-
 lib/pci.c              | 35 ++++++++++++++++++++++++++++++++---
 lib/pci.h              |  5 +++++
 x86/vmexit.c           |  2 +-
 5 files changed, 42 insertions(+), 8 deletions(-)
Signature · 1 line
1.8.3.1