From: "Wei Wang2" <wei.wang2@amd.com>
To: xen-devel@lists.xensource.com
Subject: [IOMMU][PATCH 0/4] Add a generic layer on top of intel and amd iommu code
Date: Wed, 13 Feb 2008 17:46:14 +0100 [thread overview]
Message-ID: <1202921174.3677.106.camel@gran.amd.com> (raw)
Hi list,
The following patches add a generic layer on top of intel and amd iommu
codes. All
common interfaces exposed to Xen are moved into a new file
(/xen/arch/x86/hvm/iommu.c). Also, iommu_ops is defined to perform
platform-dependent operations. A marco iommu_enabled is defined to check
if
intel or amd h/w is present.
Signed-off-by: Wei Wang <wei.wang2@amd.com>
b/diffstat | 711
++++++++++++++++++++++
b/xen/arch/x86/hvm/iommu.c | 132 ++++
xen/arch/x86/domctl.c | 6
xen/arch/x86/hvm/Makefile | 1
xen/arch/x86/hvm/svm/amd_iommu/amd-iommu-detect.c | 2
xen/arch/x86/hvm/svm/amd_iommu/amd-iommu-map.c | 32
xen/arch/x86/hvm/svm/amd_iommu/pci-amd-iommu.c | 212 +++++-
xen/arch/x86/hvm/svm/intr.c | 41 +
xen/arch/x86/hvm/vioapic.c | 2
xen/arch/x86/hvm/vmx/vtd/intel-iommu.c | 21
xen/arch/x86/hvm/vmx/vtd/io.c | 53 -
xen/arch/x86/mm/p2m.c | 17
xen/include/asm-x86/hvm/iommu.h | 3
xen/include/asm-x86/hvm/svm/amd-iommu-defs.h | 5
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h | 9
xen/include/asm-x86/iommu.h | 11
16 files changed, 1171 insertions(+), 87 deletions(-)
Thanks,
Wei
--
AMD Saxony, Dresden, Germany
Operating System Research Center
Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
Dr. Hans-R. Deppe, Thomas McCoy
reply other threads:[~2008-02-13 16:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1202921174.3677.106.camel@gran.amd.com \
--to=wei.wang2@amd.com \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.