From: David Kiarie <davidkiarie4@gmail.com>
To: qemu-devel@nongnu.org
Cc: mst@redhat.com, crosthwaitepeter@gmail.com,
valentine.sinitsyn@gmail.com, jan.kiszka@web.de,
marcel@redhat.com, David Kiarie <davidkiarie4@gmail.com>
Subject: [Qemu-devel] [V3 0/4] AMD IOMMU
Date: Thu, 14 Jan 2016 11:04:24 +0300 [thread overview]
Message-ID: <1452758668-19284-1-git-send-email-davidkiarie4@gmail.com> (raw)
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
next reply other threads:[~2016-01-14 8:04 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 8:04 David Kiarie [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452758668-19284-1-git-send-email-davidkiarie4@gmail.com \
--to=davidkiarie4@gmail.com \
--cc=crosthwaitepeter@gmail.com \
--cc=jan.kiszka@web.de \
--cc=marcel@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=valentine.sinitsyn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).