[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [V11 1/4] hw/i386: Introduce AMD IOMMU
From: |
Alex Williamson |
Subject: |
Re: [Qemu-devel] [V11 1/4] hw/i386: Introduce AMD IOMMU |
Date: |
Tue, 7 Jun 2016 14:36:50 -0600 |
On Sun, 22 May 2016 13:21:51 +0300
David Kiarie <address@hidden> wrote:
> 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 also 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 <address@hidden>
> ---
> hw/i386/Makefile.objs | 1 +
> hw/i386/amd_iommu.c | 1401
> +++++++++++++++++++++++++++++++++++++++++++++++++
> hw/i386/amd_iommu.h | 340 ++++++++++++
> include/hw/pci/pci.h | 2 +
> 4 files changed, 1744 insertions(+)
> create mode 100644 hw/i386/amd_iommu.c
> create mode 100644 hw/i386/amd_iommu.h
I don't see any callouts to memory_region_notify_iommu() here, so this
won't yet support assigned devices. Do you have any plans to add that
support? Thanks,
Alex
- Re: [Qemu-devel] [V11 1/4] hw/i386: Introduce AMD IOMMU,
Alex Williamson <=