On Wed, 12/07 13:52, Peter Xu wrote: > The first patch did some check to make sure the CE GAW bits are always > valid (it can overflow in old codes, I see it dangerous). > > The second patch extended VT-d GAW (Guest Address Width) from 39 bits > to 48 bits. > > Please review. Thanks, > > Peter Xu (2): > intel_iommu: check validity for GAW bits in CE > intel_iommu: extend supported guest aw to 48 bits > > hw/i386/intel_iommu.c | 12 +++++++++++- > hw/i386/intel_iommu_internal.h | 7 +++++-- > include/hw/i386/intel_iommu.h | 2 +- > 3 files changed, 17 insertions(+), 4 deletions(-) > > -- > 2.7.4 >
This makes "identical mapping" from virtual address to iova possible in a QEMU VM and I no longer see the "DMAR: intel_iommu_map: iommu width (39) is not sufficient for the mapped address (55a7d6557000)" error message when doing VFIO dma mapping. Tested-by: Fam Zheng <f...@redhat.com>