Re: [RFC PATCH] of: Fix DMA configuration for non-DT masters

2017-04-13 Thread Oza Oza via iommu
On Wed, Mar 29, 2017 at 11:12 PM, Robin Murphy wrote: > On 29/03/17 06:46, Oza Oza wrote: >> On Wed, Mar 29, 2017 at 10:23 AM, Oza Oza wrote: >>> On Wed, Mar 29, 2017 at 12:27 AM, Robin Murphy wrote: For PCI masters not

Re: [RFC PATCH] of: Fix DMA configuration for non-DT masters

2017-03-30 Thread Oza Oza via iommu
On Thu, Mar 30, 2017 at 8:51 AM, Oza Oza wrote: > On Wed, Mar 29, 2017 at 11:12 PM, Robin Murphy wrote: >> On 29/03/17 06:46, Oza Oza wrote: >>> On Wed, Mar 29, 2017 at 10:23 AM, Oza Oza wrote: On Wed, Mar 29, 2017 at 12:27

Re: [RFC PATCH] of: Fix DMA configuration for non-DT masters

2017-03-29 Thread Oza Oza via iommu
On Wed, Mar 29, 2017 at 11:12 PM, Robin Murphy wrote: > On 29/03/17 06:46, Oza Oza wrote: >> On Wed, Mar 29, 2017 at 10:23 AM, Oza Oza wrote: >>> On Wed, Mar 29, 2017 at 12:27 AM, Robin Murphy wrote: For PCI masters not

Re: [RFC PATCH] of: Fix DMA configuration for non-DT masters

2017-03-29 Thread Robin Murphy
On 29/03/17 06:46, Oza Oza wrote: > On Wed, Mar 29, 2017 at 10:23 AM, Oza Oza wrote: >> On Wed, Mar 29, 2017 at 12:27 AM, Robin Murphy wrote: >>> For PCI masters not represented in DT, we pass the OF node of their >>> associated host bridge to

Re: [RFC PATCH] of: Fix DMA configuration for non-DT masters

2017-03-28 Thread Oza Oza via iommu
On Wed, Mar 29, 2017 at 10:23 AM, Oza Oza wrote: > On Wed, Mar 29, 2017 at 12:27 AM, Robin Murphy wrote: >> For PCI masters not represented in DT, we pass the OF node of their >> associated host bridge to of_dma_configure(), such that they can inherit

Re: [RFC PATCH] of: Fix DMA configuration for non-DT masters

2017-03-28 Thread Oza Oza via iommu
On Wed, Mar 29, 2017 at 12:27 AM, Robin Murphy wrote: > For PCI masters not represented in DT, we pass the OF node of their > associated host bridge to of_dma_configure(), such that they can inherit > the appropriate DMA configuration from whatever is described there. >

[RFC PATCH] of: Fix DMA configuration for non-DT masters

2017-03-28 Thread Robin Murphy
For PCI masters not represented in DT, we pass the OF node of their associated host bridge to of_dma_configure(), such that they can inherit the appropriate DMA configuration from whatever is described there. Unfortunately, whilst this has worked for the "dma-coherent" property, it turns out to