Support PCI BAR configuration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | Makefile: Only compile vesa for archs that need itMakefile | +2 | 1 reply | |
| 2/16 | brlock: Always pass argument to br_read_lock/unlockioport.c mmio.c | +4 | 1 reply | |
| 3/16 | brlock: fix build with KVM_BRLOCK_DEBUGinclude/ include/ kvm.c | +12 | 1 reply | |
| 4/16 | pci: Fix BAR resource sizing arbitrationpci.c | +48 | 1 reply | |
| 5/16 | ioport: pci: Move port allocations to PCI deviceshw/ hw/ include/ +5 more | +20 | 2 replies | |
| 6/16 | pci: Fix ioport allocation sizehw/ hw/ include/ +2 more | +12 | 1 reply | |
| 7/16 | arm/pci: Fix PCI IO regionarm/ arm/ arm/ | +22 | 0 replies | |
| 8/16 | arm/pci: Do not use first PCI IO space bytes for devicesarm/ | +3 | 2 replies | |
| 9/16 | brlock: Use rwlock instead of pauseinclude/ include/ | +0 | 0 replies | |
| 10/16 | ref_cnt: Add simple ref counting APIinclude/ | +53 | 0 replies | |
| 11/16 | mmio: Allow mmio callbacks to be called without lockingmmio.c | +22 | 0 replies | |
| 12/16 | ioport: Allow ioport callbacks to be called without lockinginclude/ ioport.c | +45 | 0 replies | |
| 13/16 | vfio: Add support for BAR configurationvfio/ vfio/ | +82 | 0 replies | |
| 14/16 | virtio/pci: Make memory and IO BARs independentvirtio/ | +46 | 0 replies | |
| 15/16 | virtio/pci: update virtio mapping when PCI BARs are reconfiguredinclude/ virtio/ | +144 | 0 replies | |
| 16/16 | arm/fdt: Remove PCI probe only propertyarm/ | +0 | 0 replies |
Reviews trailers per patch
4 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Andre Przywara |
|---|---|
| 1/16 | R-b |
| 2/16 | R-b |
| 3/16 | R-b |
| 4/16 | |
| 5/16 | |
| 6/16 | R-b |
| 7/16 | |
| 8/16 | |
| 9/16 | |
| 10/16 | |
| 11/16 | |
| 12/16 | |
| 13/16 | |
| 14/16 | |
| 15/16 | |
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH kvmtool 00/16] Support PCI BAR configuration
Hi,
This series add support for guests writting to PCI BARs. Edk2 does this and is not aware of the "linux,pci-probe-only" property in the chosen node.
- Patches 1 to 3 do miscelaneous fixes
- Patch 4 fixes the way we deal with BAR sizing
- Patches 5 to 8 fixes the allocation/assignment of PCI IO BARs
- Patches 9 to 12 make it possible to remap ioport and mmio regions from vcpu threads, without pausing the entire VM
- Patches 13 to 16 adds the support for writting to BARs
Cheers,
Julien
-->
Julien Thierry (15):
Makefile: Only compile vesa for archs that need it
brlock: Always pass argument to br_read_lock/unlock
brlock: fix build with KVM_BRLOCK_DEBUG
ioport: pci: Move port allocations to PCI devices
pci: Fix ioport allocation size
arm/pci: Fix PCI IO region
arm/pci: Do not use first PCI IO space bytes for devices
brlock: Use rwlock instead of pause
ref_cnt: Add simple ref counting API
mmio: Allow mmio callbacks to be called without locking
ioport: Allow ioport callbacks to be called without locking
vfio: Add support for BAR configuration
virtio/pci: Make memory and IO BARs independent virtio/pci: update virtio mapping when PCI BARs are reconfigured arm/fdt: Remove PCI probe only property
Sami Mujawar (1):
pci: Fix BAR resource sizing arbitration
Makefile | 3 +- arm/fdt.c | 1 - arm/include/arm-common/pci.h | 1 + arm/kvm.c | 3 + arm/pci.c | 24 ++++- hw/pci-shmem.c | 3 +- hw/vesa.c | 4 +- include/kvm/brlock.h | 21 +--- include/kvm/ioport.h | 5 - include/kvm/kvm.h | 2 + include/kvm/pci.h | 2 + include/kvm/ref_cnt.h | 53 ++++++++++ include/kvm/virtio-pci.h | 1 + ioport.c | 80 ++++++++-------- kvm.c | 4 + mmio.c | 30 ++++-- pci.c | 59 +++++++++++- vfio/core.c | 6 +- vfio/pci.c | 82 +++++++++++++++- virtio/pci.c | 223 ++++++++++++++++++++++++++++++++++++------- 20 files changed, 491 insertions(+), 116 deletions(-) create mode 100644 include/kvm/ref_cnt.h
--
1.9.1