qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH qemu v8 0/2] memory/iommu: QOM'fy IOMMU MemoryRegion
@ 2017-06-14  6:36 Alexey Kardashevskiy
  2017-06-14  6:36 ` [Qemu-devel] [PATCH qemu v8 1/2] " Alexey Kardashevskiy
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Alexey Kardashevskiy @ 2017-06-14  6:36 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alexey Kardashevskiy, qemu-ppc, Alex Williamson,
	Christian Borntraeger, Cornelia Huck, David Gibson, Paolo Bonzini,
	Philippe Mathieu-Daudé, Peter Xu


Here is a couple of patches to QOM'fy IOMMU memory regions.

I have made them in order to proceed with in-kernel TCE stuff acceleration
enablement which sort of depends on sPAPR IOMMU MR being QOM'ed.


This is based on sha1
3f0602927b Peter Maydell "Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170613' into staging".

Please comment. Thanks.


Changes:
v8:
* now 2 patches



Alexey Kardashevskiy (2):
  memory/iommu: QOM'fy IOMMU MemoryRegion
  memory/iommu: introduce IOMMUMemoryRegionClass

 hw/i386/amd_iommu.h           |   3 --
 hw/s390x/s390-pci-bus.h       |   2 +-
 include/exec/memory.h         |  94 +++++++++++++++++++++++++----------
 include/hw/i386/intel_iommu.h |   3 +-
 include/hw/mips/mips.h        |   2 +-
 include/hw/ppc/spapr.h        |   7 ++-
 include/hw/vfio/vfio-common.h |   2 +-
 include/qemu/typedefs.h       |   1 +
 exec.c                        |  14 +++---
 hw/alpha/typhoon.c            |  31 +++++++++---
 hw/dma/rc4030.c               |  34 +++++++++----
 hw/i386/amd_iommu.c           |  35 ++++++++++---
 hw/i386/intel_iommu.c         |  44 +++++++++++-----
 hw/mips/mips_jazz.c           |   2 +-
 hw/pci-host/apb.c             |  29 ++++++++---
 hw/ppc/spapr_iommu.c          |  42 ++++++++++------
 hw/s390x/s390-pci-bus.c       |  31 ++++++++----
 hw/s390x/s390-pci-inst.c      |  11 ++--
 hw/vfio/common.c              |  12 +++--
 hw/vfio/spapr.c               |   3 +-
 memory.c                      | 113 ++++++++++++++++++++++++++++--------------
 21 files changed, 356 insertions(+), 159 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-07-04 11:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-14  6:36 [Qemu-devel] [PATCH qemu v8 0/2] memory/iommu: QOM'fy IOMMU MemoryRegion Alexey Kardashevskiy
2017-06-14  6:36 ` [Qemu-devel] [PATCH qemu v8 1/2] " Alexey Kardashevskiy
2017-06-15 12:28   ` David Gibson
2017-06-14  6:36 ` [Qemu-devel] [PATCH qemu v8 2/2] memory/iommu: introduce IOMMUMemoryRegionClass Alexey Kardashevskiy
2017-06-21  2:05   ` Alexey Kardashevskiy
2017-06-21  7:26     ` David Gibson
2017-06-28  4:19       ` Alexey Kardashevskiy
2017-07-04 11:06         ` David Gibson
2017-06-14  6:51 ` [Qemu-devel] [PATCH qemu v8 0/2] memory/iommu: QOM'fy IOMMU MemoryRegion no-reply
2017-06-14  7:07   ` Fam Zheng
2017-06-14  6:52 ` no-reply
2017-06-14  8:27   ` David Gibson

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).