Re: [PATCH v2 4/8] iommu/arm-smmu-v3: Prepare for SSID support

2019-11-22 Thread Jean-Philippe Brucker
On Mon, Nov 11, 2019 at 02:38:11PM +, Jonathan Cameron wrote: > Hmm. There are several different refactors in here alongside a few new > bits. Would be nice to break it up more to make life even easier for > reviewers. It's not 'so' complex that it's really a problem though > so could leave

Re: [PATCH v2 4/8] iommu/arm-smmu-v3: Prepare for SSID support

2019-11-11 Thread Jonathan Cameron
On Fri, 8 Nov 2019 16:25:04 +0100 Jean-Philippe Brucker wrote: > When a master supports substream ID, allocate a table with multiple > context descriptors for its stage-1 domain. For the moment S1CDMax is > still 0 in the STE, so the additional context descriptors are ignored. > > Context

[PATCH v2 4/8] iommu/arm-smmu-v3: Prepare for SSID support

2019-11-08 Thread Jean-Philippe Brucker
When a master supports substream ID, allocate a table with multiple context descriptors for its stage-1 domain. For the moment S1CDMax is still 0 in the STE, so the additional context descriptors are ignored. Context descriptor tables are allocated once for the first master attached to a domain.