IOMMU Fixes for Linux v4.14-rc4

Three fixes:

	- Keep an important data structure in the Exynos driver around
	  after kernel-init to fix a kernel-oops

	- Keep SWIOTLB enabled when SME is active in the AMD IOMMU
	  driver

	- Add a missing IOTLB sync to the AMD IOMMU driver
iommu/amd: Finish TLB flush in amd_iommu_unmap()

The function only sends the flush command to the IOMMU(s),
but does not wait for its completion when it returns. Fix
that.

Fixes: 601367d76bd1 ('x86/amd-iommu: Remove iommu_flush_domain function')
Cc: stable@vger.kernel.org # >= 2.6.33
Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 file changed