qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH qemu v2 0/2] spapr_pci: Merge spapr-vfio-phb into spapr-phb
@ 2015-09-03  4:40 Alexey Kardashevskiy
  2015-09-03  4:40 ` [Qemu-devel] [PATCH qemu v2 1/2] spapr_pci_vfio: Remove redundant spapr-pci-vfio-host-bridge Alexey Kardashevskiy
  2015-09-03  4:40 ` [Qemu-devel] [PATCH qemu v2 2/2] spapr_pci: Remove constraints about VFIO-PCI devices Alexey Kardashevskiy
  0 siblings, 2 replies; 9+ messages in thread
From: Alexey Kardashevskiy @ 2015-09-03  4:40 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alexey Kardashevskiy, Alex Williamson, qemu-ppc, Gavin Shan,
	David Gibson

This allows sharing the same PHB for both emulated and VFIO devices.
This used to be a part of the Dynamic DMA window patchset. Since it was
moved out and reworked quite a lot, all reviewed-by's got outdated.

This is based on dgibson/spapr-next sha1 f91ffef.

Please comment. Thanks.

Changes:
v2:
* fixed bus_offset
* moved DMA setup to a spapr_phb_dma_reset() helper - DDW patches would
add it anyway
* verified that migration still works

Alexey Kardashevskiy (2):
  spapr_pci_vfio: Remove redundant spapr-pci-vfio-host-bridge
  spapr_pci: Remove constraints about VFIO-PCI devices

 hw/ppc/Makefile.objs        |   5 +-
 hw/ppc/spapr_pci.c          | 195 +++++++++++++++++++++++++++-----------------
 hw/ppc/spapr_pci_vfio.c     | 147 +++++++++++++--------------------
 hw/vfio/common.c            |  22 ++---
 include/hw/pci-host/spapr.h |  23 +++---
 include/hw/vfio/vfio.h      |   3 +-
 6 files changed, 195 insertions(+), 200 deletions(-)

-- 
2.4.0.rc3.8.gfb3e7d5

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-09-14 14:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03  4:40 [Qemu-devel] [PATCH qemu v2 0/2] spapr_pci: Merge spapr-vfio-phb into spapr-phb Alexey Kardashevskiy
2015-09-03  4:40 ` [Qemu-devel] [PATCH qemu v2 1/2] spapr_pci_vfio: Remove redundant spapr-pci-vfio-host-bridge Alexey Kardashevskiy
2015-09-03  4:40 ` [Qemu-devel] [PATCH qemu v2 2/2] spapr_pci: Remove constraints about VFIO-PCI devices Alexey Kardashevskiy
2015-09-10  2:43   ` Alex Williamson
2015-09-11 20:03     ` Alex Williamson
2015-09-14  4:04       ` David Gibson
2015-09-14  8:56         ` Alexey Kardashevskiy
2015-09-14 11:42           ` David Gibson
2015-09-14 14:37             ` Alexey Kardashevskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).