Make PCIe work as it is. IOMMU support can be implemented later.
Signed-off-by: Hiroshi Doyu <[email protected]>
---
drivers/iommu/tegra-smmu.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index 64da08a..6e82df3 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -402,6 +402,9 @@ static int __smmu_client_set_hwgrp(struct smmu_client *c,
for_each_set_bit(i, (unsigned long *)&map,
sizeof(map) * BITS_PER_BYTE) {
+ if (i == SWGID_AFI) /* FIXME: IOMMU'able PCIe */
+ continue;
+
offs = HWGRP_ASID_REG(i);
val = smmu_read(smmu, offs);
if (on) {
--
1.8.1.5
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html