iommu/arm-smmu: Make remove callback message more informative
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Thu, 23 Apr 2020 09:55:31 +0000 (15:25 +0530)
committerWill Deacon <will@kernel.org>
Thu, 7 May 2020 13:20:29 +0000 (14:20 +0100)
commit02782f3d60f197f02efd153b43ef64214dc00c01
tree1710cea5ec53838351480fd1db7668292eb7f86a
parent1b032ec1ecbce6047af7d11c9db432e237cb17d8
iommu/arm-smmu: Make remove callback message more informative

Currently on reboot/shutdown, the following messages are
displayed on the console as error messages before the
system reboots/shutdown as part of remove callback.

On SC7180:

  arm-smmu 15000000.iommu: removing device with active domains!
  arm-smmu 5040000.iommu: removing device with active domains!

Make this error message more informative and less scary.

Reported-by: Douglas Anderson <dianders@chromium.org>
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200423095531.9868-1-saiprakash.ranjan@codeaurora.org
[will: use dev_notice() as per Robin]
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu.c