Re: [PATCH 3/6] sparc64: Initialize iommu_map_table and iommu_pool

From: David Miller
Date: Mon Oct 24 2016 - 13:47:57 EST


From: Tushar Dave <tushar.n.dave@xxxxxxxxxx>
Date: Mon, 10 Oct 2016 11:12:04 -0700

> Like legacy IOMMU, use common iommu_map_table and iommu_pool for ATU.
> This change initializes iommu_map_table and iommu_pool for ATU.
>
> Signed-off-by: Tushar Dave <tushar.n.dave@xxxxxxxxxx>
> Reviewed-by: chris hyser <chris.hyser@xxxxxxxxxx>
> Reviewed-by: Sowmini Varadhan <sowmini.varadhan@xxxxxxxxxx>

I suspect you are adding a bisection problem here.

It looks to me like patch #2 starts setting up to use the ATU
but these changes in #3 and later are necessary for it to even
work properly.

You can't leave the tree in an intermediate non-working state
between changes like that.