From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZijfQ-0006kh-7r for qemu-devel@nongnu.org; Sun, 04 Oct 2015 09:49:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZijfO-0000Is-Uh for qemu-devel@nongnu.org; Sun, 04 Oct 2015 09:49:32 -0400 From: Knut Omang Date: Sun, 4 Oct 2015 15:48:49 +0200 Message-Id: <1443966530-7792-1-git-send-email-knut.omang@oracle.com> Subject: [Qemu-devel] [PATCH v5 0/1] intel_iommu: Add support for translation for devices behind bridges List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alex Williamson , Eduardo Habkost , "Michael S. Tsirkin" , Knut Omang , Alexander Graf , Le Tan , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-ppc@nongnu.org, Jan Kiszka , Paolo Bonzini , Richard Henderson , David Gibson This patch set has been completely reimplemented according to ideas from the discussion of v2. It still solves the same problem, but does so only within the Intel IOMMU code and Q35, without changing the IOMMU interface. This eliminates the need for any separate interface change patch. This is the thread following v2 of the patch set: http://thread.gmane.org/gmane.comp.emulators.qemu/358525 This is the thread following the initial patch set: http://thread.gmane.org/gmane.comp.emulators.qemu/302246 The patch set was also discussed in this thread: http://thread.gmane.org/gmane.comp.emulators.qemu/316949 Changes from v4: - Use uintptr_t instead of uint64_t to compile on 32 bit architectures. Changes from v3: - Replaced use of g_hash_table_add with g_hash_table_insert to support compiling on older versions of glib. Changes from v2: - Completely reimplemented fix to avoid API change and further logical deviation from how hardware works. API change no longer necessary, so just a single patch. Changes from v1: - Rebased to current master - Fixed minor syntax issues Knut Omang (1): intel_iommu: Add support for translation for devices behind bridges hw/i386/intel_iommu.c | 89 +++++++++++++++++++++++++++++++++++-------- hw/pci-host/q35.c | 25 ++---------- include/hw/i386/intel_iommu.h | 16 +++++++- 3 files changed, 90 insertions(+), 40 deletions(-) -- 2.4.3