Skip to content

Commit

Permalink
hw/i386: Introduce AMD IOMMU
Browse files Browse the repository at this point in the history
Add AMD IOMMU emulaton to Qemu in addition to Intel IOMMU.
The IOMMU does basic translation, error checking and has a
minimal IOTLB implementation. This IOMMU bypassed the need
for target aborts by responding with IOMMU_NONE access rights
and exempts the region 0xfee00000-0xfeefffff from translation
as it is the q35 interrupt region.

We advertise features that are not yet implemented to please
the Linux IOMMU driver.

IOTLB aims at implementing commands on real IOMMUs which is
essential for debugging and may not offer any performance
benefits

Signed-off-by: David Kiarie <davidkiarie4@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
  • Loading branch information
3dgie authored and mstsirkin committed Sep 23, 2016
1 parent d61e45e commit d29a09c
Show file tree
Hide file tree
Showing 3 changed files with 1,490 additions and 0 deletions.
1 change: 1 addition & 0 deletions hw/i386/Makefile.objs
Expand Up @@ -3,6 +3,7 @@ obj-y += multiboot.o
obj-y += pc.o pc_piix.o pc_q35.o
obj-y += pc_sysfw.o
obj-y += x86-iommu.o intel_iommu.o
obj-y += amd_iommu.o
obj-$(CONFIG_XEN) += ../xenpv/ xen/

obj-y += kvmvapic.o
Expand Down

0 comments on commit d29a09c

Please sign in to comment.