Re: [PATCH 1/1] iommu/vt-d: Check identity map for hot-added devices

2019-02-26 Thread Joerg Roedel
On Mon, Feb 25, 2019 at 10:46:36AM +0800, Lu Baolu wrote: > drivers/iommu/intel-iommu.c | 21 - > 1 file changed, 12 insertions(+), 9 deletions(-) Added a Fixes: tag and applied the patch, thanks.

[PATCH 1/1] iommu/vt-d: Check identity map for hot-added devices

2019-02-24 Thread Lu Baolu
The Intel IOMMU driver will put devices into a static identity mapped domain during boot if the kernel parameter "iommu=pt" is used. That means the IOMMU hardware will translate a DMA address into the same memory address. Unfortunately, hot-added devices are not subject to this. That results in so