From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auSH8-0004us-W0 for qemu-devel@nongnu.org; Sun, 24 Apr 2016 18:13:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auSH5-0003W4-QM for qemu-devel@nongnu.org; Sun, 24 Apr 2016 18:13:10 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:35352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auSH5-0003Vl-JF for qemu-devel@nongnu.org; Sun, 24 Apr 2016 18:13:07 -0400 Received: by mail-wm0-x241.google.com with SMTP id e201so17813284wme.2 for ; Sun, 24 Apr 2016 15:13:07 -0700 (PDT) From: David Kiarie Date: Mon, 25 Apr 2016 01:12:53 +0300 Message-Id: <1461535977-331-1-git-send-email-davidkiarie4@gmail.com> Subject: [Qemu-devel] [V9 0/4] AMD IOMMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: valentine.sinitsyn@gmail.com, marcel@redhat.com, mst@redhat.com, jan.kizska@web.de, imammedo@redhat.com, David Kiarie Hi all, The current AMD IOMMU patches that fixes Igor's comments. I got rid of structs and instead added individual integer fields into the table data directly, as suggested. I have also got rid of some un-used macros and fixed a few other miscellaneous things. David Kiarie (4): hw/i386: Introduce AMD IOMMU hw/i386: ACPI table for AMD IOMMU hw/core: Add AMD IOMMU to machine properties hw/pci-host: Emulate AMD IOMMU hw/acpi/aml-build.c | 2 +- hw/acpi/core.c | 13 - hw/core/machine.c | 32 +- hw/i386/Makefile.objs | 1 + hw/i386/acpi-build.c | 101 ++- hw/i386/amd_iommu.c | 1426 +++++++++++++++++++++++++++++++++++++++++ hw/i386/amd_iommu.h | 398 ++++++++++++ hw/pci-host/q35.c | 21 +- include/hw/acpi/acpi-defs.h | 14 + include/hw/acpi/acpi.h | 16 + include/hw/acpi/aml-build.h | 1 + include/hw/boards.h | 1 + include/hw/i386/intel_iommu.h | 1 + include/hw/pci/pci.h | 2 + qemu-options.hx | 7 +- util/qemu-config.c | 8 +- 16 files changed, 2010 insertions(+), 34 deletions(-) create mode 100644 hw/i386/amd_iommu.c create mode 100644 hw/i386/amd_iommu.h -- 2.1.4