From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751170AbdALRVu (ORCPT ); Thu, 12 Jan 2017 12:21:50 -0500 Received: from foss.arm.com ([217.140.101.70]:52062 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305AbdALRUS (ORCPT ); Thu, 12 Jan 2017 12:20:18 -0500 Date: Thu, 12 Jan 2017 17:20:19 +0000 From: Will Deacon To: Nate Watterson Cc: Robin Murphy , Joerg Roedel , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu/arm-smmu-v3: limit use of 2-level stream tables Message-ID: <20170112172019.GI13843@arm.com> References: <20161220102209.GC10132@arm.com> <1484077633-18376-1-git-send-email-nwatters@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1484077633-18376-1-git-send-email-nwatters@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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