Re: [PATCH v2] iommu: fix amd_iommu=force_isolation

2018-12-07 Thread Joerg Roedel
On Thu, Dec 06, 2018 at 02:39:15PM -0700, Yu Zhao wrote: > Fixes: aafd8ba0ca74 ("iommu/amd: Implement add_device and remove_device") > > Signed-off-by: Yu Zhao > --- > drivers/iommu/amd_iommu.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) Applied, thanks.

[PATCH v2] iommu: fix amd_iommu=force_isolation

2018-12-06 Thread Yu Zhao
The parameter is still there but it's ignored. We need to check its value before deciding to go into passthrough mode for AMD IOMMU v2 capable device. We occasionally use this parameter to force v2 capable device into translation mode to debug memory corruption that we suspect is caused by DMA wri