Re: [PATCH 3/5] iommu/arm-smmu: Introduce stream ID masking

2013-10-09 Thread Andreas Herrmann
On Wed, Oct 09, 2013 at 06:09:17AM -0400, Will Deacon wrote: On Tue, Oct 08, 2013 at 07:43:50PM +0100, Rob Herring wrote: On 10/08/2013 11:59 AM, Will Deacon wrote: On Tue, Oct 08, 2013 at 05:40:21PM +0100, Andreas Herrmann wrote: On Tue, Oct 08, 2013 at 05:20:08PM +0200, Andreas Herrmann

Re: [PATCH 3/5] iommu/arm-smmu: Introduce stream ID masking

2013-10-08 Thread Will Deacon
On Tue, Oct 08, 2013 at 10:27:22AM +0100, Andreas Herrmann wrote: Ie. use a mask based on smr_mask_bits to map all stream IDs of an SMMU to one context. This behaviour is controlled per SMMU node with DT property arm,smmu-mask-stream-ids and is only allowed if just a single master is

Re: [PATCH 3/5] iommu/arm-smmu: Introduce stream ID masking

2013-10-08 Thread Andreas Herrmann
On Tue, Oct 08, 2013 at 11:10:07AM -0400, Will Deacon wrote: On Tue, Oct 08, 2013 at 10:27:22AM +0100, Andreas Herrmann wrote: Ie. use a mask based on smr_mask_bits to map all stream IDs of an SMMU to one context. This behaviour is controlled per SMMU node with DT property

Re: [PATCH 3/5] iommu/arm-smmu: Introduce stream ID masking

2013-10-08 Thread Andreas Herrmann
On Tue, Oct 08, 2013 at 05:20:08PM +0200, Andreas Herrmann wrote: On Tue, Oct 08, 2013 at 11:10:07AM -0400, Will Deacon wrote: On Tue, Oct 08, 2013 at 10:27:22AM +0100, Andreas Herrmann wrote: Ie. use a mask based on smr_mask_bits to map all stream IDs of an SMMU to one context.

Re: [PATCH 3/5] iommu/arm-smmu: Introduce stream ID masking

2013-10-08 Thread Will Deacon
On Tue, Oct 08, 2013 at 05:40:21PM +0100, Andreas Herrmann wrote: On Tue, Oct 08, 2013 at 05:20:08PM +0200, Andreas Herrmann wrote: To be more specific: For SATA I'd need to specify 10 StreamIds. This would (1) exceed MAX_MASTER_STREAMIDS (currently it's 8) (Can easily be fixed by

RE: [PATCH 3/5] iommu/arm-smmu: Introduce stream ID masking

2013-10-08 Thread Sethi Varun-B16395
...@lists.infradead.org Subject: Re: [PATCH 3/5] iommu/arm-smmu: Introduce stream ID masking On Tue, Oct 08, 2013 at 05:40:21PM +0100, Andreas Herrmann wrote: On Tue, Oct 08, 2013 at 05:20:08PM +0200, Andreas Herrmann wrote: To be more specific: For SATA I'd need to specify 10 StreamIds. This would

Re: [PATCH 3/5] iommu/arm-smmu: Introduce stream ID masking

2013-10-08 Thread Rob Herring
On 10/08/2013 11:59 AM, Will Deacon wrote: On Tue, Oct 08, 2013 at 05:40:21PM +0100, Andreas Herrmann wrote: On Tue, Oct 08, 2013 at 05:20:08PM +0200, Andreas Herrmann wrote: To be more specific: For SATA I'd need to specify 10 StreamIds. This would (1) exceed MAX_MASTER_STREAMIDS (currently