IOMMU Fixes for Linux v5.8-rc5:

Including:

	- Fix for a use-after-free of the device iommu-group. Found in the
	  arm-smmu driver, but the fix is in generic code.

	- Fix for the new Allwinner IOMMU driver to use the atomic
	  readl_timeout() variant in IO/TLB flushing code.

	- A couple of cleanups to fix various compile warnings.
iommu/arm-smmu: Mark qcom_smmu_client_of_match as possibly unused

When CONFIG_OF=n of_match_device() gets pre-processed out of existence
leaving qcom-smmu_client_of_match unused. Mark it as possibly unused to
keep the compiler from warning in that case.

Fixes: 0e764a01015d ("iommu/arm-smmu: Allow client devices to select direct mapping")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200604203905.31964-1-jcrouse@codeaurora.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 file changed