Re: [PATCH] iommu/arm-smmu-v3: limit use of 2-level stream tables

From: Will Deacon
Date: Thu Jan 12 2017 - 12:21:52 EST


On Tue, Jan 10, 2017 at 02:47:13PM -0500, Nate Watterson wrote:
> In the current arm-smmu-v3 driver, all smmus that support 2-level
> stream tables are being forced to use them. This is suboptimal for
> smmus that support fewer stream id bits than would fill in a single
> second level table. This patch limits the use of 2-level tables to
> smmus that both support the feature and whose first level table can
> possibly contain more than a single entry.
>
> Signed-off-by: Nate Watterson <nwatters@xxxxxxxxxxxxxx>
> ---
> drivers/iommu/arm-smmu-v3.c | 21 ++++++++++-----------
> 1 file changed, 10 insertions(+), 11 deletions(-)

Thanks Nate, I'll queue this for 4.11. Sorry for messing you about before.

Will