Re: [PATCH] amd_iommu: IO_PAGE_FAULTs on unity mapped regions during amd_iommu_init()

2013-02-07 Thread Ingo Molnar
* Shuah Khan shuah.k...@hp.com wrote: When dma_ops are initialized the unity mappings are created. The init_device_table_dma() function makes sure DMA from all devices is blocked by default. This opens a short window in time where DMA to unity mapped regions is blocked by the IOMMU. Make

Re: [PATCH] amd_iommu: IO_PAGE_FAULTs on unity mapped regions during amd_iommu_init()

2013-02-07 Thread Joerg Roedel
On Thu, Feb 07, 2013 at 11:49:05AM +0100, Ingo Molnar wrote: * Shuah Khan shuah.k...@hp.com wrote: arch/x86/kernel/amd_iommu_init.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) That file does not exist anymore, it died 2.5+ years ago: 403f81d8ee53 iommu/amd:

[PATCH] amd_iommu: IO_PAGE_FAULTs on unity mapped regions during amd_iommu_init()

2013-02-06 Thread Shuah Khan
When dma_ops are initialized the unity mappings are created. The init_device_table_dma() function makes sure DMA from all devices is blocked by default. This opens a short window in time where DMA to unity mapped regions is blocked by the IOMMU. Make sure this does not happen by initializing the