Re: [PATCH v4 5/6] PCI: update dma configuration from DT

2015-01-26 Thread Murali Karicheri
On 01/23/2015 06:27 PM, Bjorn Helgaas wrote: On Fri, Jan 23, 2015 at 05:32:38PM -0500, Murali Karicheri wrote: If there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to

Re: [PATCH v4 5/6] PCI: update dma configuration from DT

2015-01-26 Thread Murali Karicheri
On 01/23/2015 06:27 PM, Bjorn Helgaas wrote: On Fri, Jan 23, 2015 at 05:32:38PM -0500, Murali Karicheri wrote: If there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to

Re: [PATCH v4 5/6] PCI: update dma configuration from DT

2015-01-23 Thread Bjorn Helgaas
On Fri, Jan 23, 2015 at 05:32:38PM -0500, Murali Karicheri wrote: > If there is a DT node available for the root bridge's parent device, > use the dma configuration from that device node. For example, keystone > PCI devices would require dma_pfn_offset to be set correctly in the > device structure

[PATCH v4 5/6] PCI: update dma configuration from DT

2015-01-23 Thread Murali Karicheri
If there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to be set correctly in the device structure of the pci device in order to have the correct dma mask. The DT node will

Re: [PATCH v4 5/6] PCI: update dma configuration from DT

2015-01-23 Thread Bjorn Helgaas
On Fri, Jan 23, 2015 at 05:32:38PM -0500, Murali Karicheri wrote: If there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to be set correctly in the device structure of

[PATCH v4 5/6] PCI: update dma configuration from DT

2015-01-23 Thread Murali Karicheri
If there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to be set correctly in the device structure of the pci device in order to have the correct dma mask. The DT node will