qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [V3 0/4] AMD IOMMU
@ 2016-01-14  8:04 David Kiarie
  2016-01-14  8:04 ` [Qemu-devel] [V3 1/4] hw/i386: Introduce AMD IO MMU David Kiarie
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: David Kiarie @ 2016-01-14  8:04 UTC (permalink / raw)
  To: qemu-devel
  Cc: mst, crosthwaitepeter, valentine.sinitsyn, jan.kiszka, marcel,
	David Kiarie

David Kiarie (4):
  hw/core: Add AMD IO MMU to machine properties
  hw/i386: ACPI table for AMD IO MMU
  hw/pci-host: Emulate AMD IO MMU

 hw/core/machine.c           |   17 +-
 hw/i386/Makefile.objs       |    1 +
 hw/i386/acpi-build.c        |   96 +++
 hw/i386/amd_iommu.c         | 1420 +++++++++++++++++++++++++++++++++++++++++++
 hw/i386/amd_iommu.h         |  399 ++++++++++++
 hw/pci-host/piix.c          |   11 +
 hw/pci-host/q35.c           |   16 +-
 include/hw/acpi/acpi-defs.h |   55 ++
 include/hw/boards.h         |    3 +-
 include/hw/pci/pci.h        |    2 +
 qemu-options.hx             |    6 +-
 util/qemu-config.c          |    4 +-
 12 files changed, 2014 insertions(+), 16 deletions(-)
 create mode 100644 hw/i386/amd_iommu.c
 create mode 100644 hw/i386/amd_iommu.h

Hello,

This series introduces AMD IO MMU emulation to qemu. It's the third version.

Changes since v2.
  -Coding style; fixed all errors reported by scripts/checkpatch.pl as suggested by Micheal
  -Implemented read/only and write 1/clear registers to IO MMU MMIO 
  -Cleaned up dead code
  -Introduced a switch that controls IO MMU emulation and what type is emulated i.e 
            q35,iommu=amd|intel
   as suggested by Marcel
  -Tested with audio device passthrough (ac97 with sound driver alsa)
  -Reserved memory for IO MMU MMIO via ACPI (I need someone to check this)

I was supposed to implement interrupts related to w1/c registers but I decided to reserve everything to do with interrupts for later

Testing procedure outlined here 
   http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM
-- 
2.1.4

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

end of thread, other threads:[~2016-01-18 16:36 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14  8:04 [Qemu-devel] [V3 0/4] AMD IOMMU David Kiarie
2016-01-14  8:04 ` [Qemu-devel] [V3 1/4] hw/i386: Introduce AMD IO MMU David Kiarie
2016-01-14  8:04 ` [Qemu-devel] [V3 2/4] hw/core: Add AMD IO MMU to machine properties David Kiarie
2016-01-17 13:45   ` Marcel Apfelbaum
2016-01-14  8:04 ` [Qemu-devel] [V3 3/4] hw/i386: ACPI table for AMD IO MMU David Kiarie
2016-01-14  9:56   ` Michael S. Tsirkin
2016-01-14 10:09   ` Michael S. Tsirkin
2016-01-14 12:15     ` David kiarie
2016-01-14 15:39       ` Michael S. Tsirkin
2016-01-14 15:42         ` Jan Kiszka
2016-01-14 16:09           ` David kiarie
2016-01-14 16:19             ` Jan Kiszka
2016-01-14 16:29               ` David kiarie
2016-01-14 16:52                 ` Kevin O'Connor
2016-01-14 12:34     ` David kiarie
2016-01-14 16:29     ` Kevin O'Connor
2016-01-14 16:54       ` Valentine Sinitsyn
2016-01-15 13:52         ` David kiarie
2016-01-14  8:04 ` [Qemu-devel] [V3 4/4] hw/pci-host: Emulate " David Kiarie
2016-01-17 13:57   ` Marcel Apfelbaum
2016-01-18 16:36     ` David Kiarie

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