IOMMU Fixes for Linux v5.7-rc3

Including:

	- Fix for a memory leak when dev_iommu gets freed and a
	  sub-pointer does not.

	- Build dependency fixes for Mediatek, spapr_tce, and
	  Intel IOMMU driver.

	- Export iommu_group_get_for_dev() only for GPLed modules

	- Fix for AMD IOMMU interrupt remapping when x2apic is
	  enabled

	- Fix for error path in the QCOM IOMMU driver probe function
iommu/qcom: Fix local_base status check

The function qcom_iommu_device_probe() does not perform sufficient
error checking after executing devm_ioremap_resource(), which can
result in crashes if a critical error path is encountered.

Fixes: 0ae349a0f33f ("iommu/qcom: Add qcom_iommu")
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200418134703.1760-1-tangbin@cmss.chinamobile.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 file changed