From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH 6/6] iommu/arm-smmu: Make use of phandle iterators in device-tree parsing Date: Tue, 29 Mar 2016 18:20:17 +0100 Message-ID: <20160329172017.GL6745@arm.com> References: <1458669509-7178-1-git-send-email-joro@8bytes.org> <1458669509-7178-7-git-send-email-joro@8bytes.org> <56F194BC.3020709@arm.com> <20160323115128.GB17838@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20160323115128.GB17838-zLv9SwRftAIdnm+yROfE0A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Joerg Roedel Cc: Robin Murphy , Rob Herring , grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, jroedel-l3A5Bk7waGM@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Wed, Mar 23, 2016 at 12:51:28PM +0100, Joerg Roedel wrote: > On Tue, Mar 22, 2016 at 06:53:48PM +0000, Robin Murphy wrote: > > In a stream-matching implementation, a device may quite legitimately > > own anything up to _all_ of the stream IDs (32768, or 65536 if we > > ever implement support for the SMMUv2 EXID extension), so this is > > only a genuine limit for stream indexing (and if anyone ever > > actually made one of those, I don't think they're running mainline > > on it). > > Do you mean we might see a lot more than the currently 128 supported > stream-ids for an smmu? We might, but this patch is still an improvement for now. Will -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Tue, 29 Mar 2016 18:20:17 +0100 Subject: [PATCH 6/6] iommu/arm-smmu: Make use of phandle iterators in device-tree parsing In-Reply-To: <20160323115128.GB17838@8bytes.org> References: <1458669509-7178-1-git-send-email-joro@8bytes.org> <1458669509-7178-7-git-send-email-joro@8bytes.org> <56F194BC.3020709@arm.com> <20160323115128.GB17838@8bytes.org> Message-ID: <20160329172017.GL6745@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Mar 23, 2016 at 12:51:28PM +0100, Joerg Roedel wrote: > On Tue, Mar 22, 2016 at 06:53:48PM +0000, Robin Murphy wrote: > > In a stream-matching implementation, a device may quite legitimately > > own anything up to _all_ of the stream IDs (32768, or 65536 if we > > ever implement support for the SMMUv2 EXID extension), so this is > > only a genuine limit for stream indexing (and if anyone ever > > actually made one of those, I don't think they're running mainline > > on it). > > Do you mean we might see a lot more than the currently 128 supported > stream-ids for an smmu? We might, but this patch is still an improvement for now. Will From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757823AbcC2RT6 (ORCPT ); Tue, 29 Mar 2016 13:19:58 -0400 Received: from foss.arm.com ([217.140.101.70]:41946 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753220AbcC2RT4 (ORCPT ); Tue, 29 Mar 2016 13:19:56 -0400 Date: Tue, 29 Mar 2016 18:20:17 +0100 From: Will Deacon To: Joerg Roedel Cc: Robin Murphy , Rob Herring , grant.likely@linaro.org, devicetree@vger.kernel.org, jroedel@suse.de, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 6/6] iommu/arm-smmu: Make use of phandle iterators in device-tree parsing Message-ID: <20160329172017.GL6745@arm.com> References: <1458669509-7178-1-git-send-email-joro@8bytes.org> <1458669509-7178-7-git-send-email-joro@8bytes.org> <56F194BC.3020709@arm.com> <20160323115128.GB17838@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160323115128.GB17838@8bytes.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 Wed, Mar 23, 2016 at 12:51:28PM +0100, Joerg Roedel wrote: > On Tue, Mar 22, 2016 at 06:53:48PM +0000, Robin Murphy wrote: > > In a stream-matching implementation, a device may quite legitimately > > own anything up to _all_ of the stream IDs (32768, or 65536 if we > > ever implement support for the SMMUv2 EXID extension), so this is > > only a genuine limit for stream indexing (and if anyone ever > > actually made one of those, I don't think they're running mainline > > on it). > > Do you mean we might see a lot more than the currently 128 supported > stream-ids for an smmu? We might, but this patch is still an improvement for now. Will