iommu/msm: Mark driver BROKEN
iommu/msm: Mark driver BROKEN

The MSM IOMMU driver unconditionally calls bus_set_iommu(), which is a
very stupid thing to do on multi-platform kernels. While marking the
driver BROKEN may seem a little extreme, there is no other way to make
the driver skip initialization. One of the problems is that it doesn't
have devicetree binding documentation and the driver doesn't contain a
struct of_device_id table either, so no way to check that it is indeed
valid to set up the IOMMU operations for this driver.

This fixes a problem on Tegra20 where the DRM driver will try to use the
obviously non-existent MSM IOMMU.

Marking the driver BROKEN shouldn't do any harm, since there aren't any
users currently. There is no struct of_device_id table, so the device
can't be instantiated from device tree, and I couldn't find any code
that would instantiate a matching platform_device either, so the driver
is effectively unused.

Reported-by: Nicolas Chauvet <4ea09192621d02805f41333c23b79bb050a76588@gmail.com>
Cc: David Brown <67bb63793f66c3c3797af10faa739beca3aeb927@codeaurora.org>
Cc: Daniel Walker <664f14bf9af4dadf8666a74e4a7425b312868d0d@fifo99.com>
Cc: Bryan Huntsman <a666bae9f966d0cc305e6f3f2b59bee0b855b001@codeaurora.org>
Cc: Olav Haugan <fbf4ddd114d5f0aa83cb721b7dacab8a264ccf22@codeaurora.org>
Acked-by: Rob Clark <915c10c999604870200b6defbe633d857c856ca0@gmail.com>
Signed-off-by: Thierry Reding <3055038c414aef68bf32c33b8118623e7554e0f2@nvidia.com>
Signed-off-by: Joerg Roedel <61aff96566804ea1da8a65de5bcc892ce07caceb@suse.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs