Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-24 Thread Murali Karicheri
On 12/23/2014 05:42 PM, Arnd Bergmann wrote: On Tuesday 23 December 2014 12:42:05 Murali Karicheri wrote: here. Arnd, I guess so. Besides we need to keep the default coherent dma mask to 32bit 0xull as well to work on Keystone and also in sync with current defaults used in

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-23 Thread Murali Karicheri
On 12/22/2014 06:07 PM, Arnd Bergmann wrote: On Monday 22 December 2014 23:44:52 Arnd Bergmann wrote: On Monday 22 December 2014 17:40:30 Murali Karicheri wrote: On 12/22/2014 05:24 PM, Arnd Bergmann wrote: On Monday 22 December 2014 16:40:43 Murali Karicheri wrote: +++

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-23 Thread Arnd Bergmann
On Tuesday 23 December 2014 12:42:05 Murali Karicheri wrote: here. Arnd, I guess so. Besides we need to keep the default coherent dma mask to 32bit 0xull as well to work on Keystone and also in sync with current defaults used in pci_device_add() so that we don't break this

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-23 Thread Murali Karicheri
On 12/23/2014 05:42 PM, Arnd Bergmann wrote: On Tuesday 23 December 2014 12:42:05 Murali Karicheri wrote: here. Arnd, I guess so. Besides we need to keep the default coherent dma mask to 32bit 0xull as well to work on Keystone and also in sync with current defaults used in

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-22 Thread Murali Karicheri
On 12/18/2014 05:29 PM, Arnd Bergmann wrote: On Thursday 18 December 2014 17:07:04 Murali Karicheri wrote: Add of_pci_dma_configure() to allow updating the dma configuration of the pci device using the configuration from the parent of the root bridge device. Signed-off-by: Murali

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-22 Thread Arnd Bergmann
On Monday 22 December 2014 12:46:12 Murali Karicheri wrote: On 12/18/2014 05:29 PM, Arnd Bergmann wrote: On Thursday 18 December 2014 17:07:04 Murali Karicheri wrote: Add of_pci_dma_configure() to allow updating the dma configuration of the pci device using the configuration from the parent

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-22 Thread Murali Karicheri
On 12/22/2014 02:43 PM, Arnd Bergmann wrote: On Monday 22 December 2014 12:46:12 Murali Karicheri wrote: On 12/18/2014 05:29 PM, Arnd Bergmann wrote: On Thursday 18 December 2014 17:07:04 Murali Karicheri wrote: Add of_pci_dma_configure() to allow updating the dma configuration of the pci

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-22 Thread Arnd Bergmann
On Monday 22 December 2014 16:40:43 Murali Karicheri wrote: +++ b/arch/arm/mm/dma-mapping.c @@ -2052,9 +2052,10 @@ void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, struct iommu_ops *iommu, bool coherent) { struct dma_map_ops

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-22 Thread Murali Karicheri
On 12/22/2014 05:24 PM, Arnd Bergmann wrote: On Monday 22 December 2014 16:40:43 Murali Karicheri wrote: +++ b/arch/arm/mm/dma-mapping.c @@ -2052,9 +2052,10 @@ void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, struct iommu_ops *iommu, bool coherent)

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-22 Thread Arnd Bergmann
On Monday 22 December 2014 17:40:30 Murali Karicheri wrote: On 12/22/2014 05:24 PM, Arnd Bergmann wrote: On Monday 22 December 2014 16:40:43 Murali Karicheri wrote: +++ b/arch/arm/mm/dma-mapping.c @@ -2052,9 +2052,10 @@ void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size,

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-22 Thread Arnd Bergmann
On Monday 22 December 2014 23:44:52 Arnd Bergmann wrote: On Monday 22 December 2014 17:40:30 Murali Karicheri wrote: On 12/22/2014 05:24 PM, Arnd Bergmann wrote: On Monday 22 December 2014 16:40:43 Murali Karicheri wrote: +++ b/arch/arm/mm/dma-mapping.c @@ -2052,9 +2052,10 @@ void

[RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-18 Thread Murali Karicheri
Add of_pci_dma_configure() to allow updating the dma configuration of the pci device using the configuration from the parent of the root bridge device. Signed-off-by: Murali Karicheri m-kariche...@ti.com --- drivers/of/of_pci.c| 71

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-18 Thread Arnd Bergmann
On Thursday 18 December 2014 17:07:04 Murali Karicheri wrote: Add of_pci_dma_configure() to allow updating the dma configuration of the pci device using the configuration from the parent of the root bridge device. Signed-off-by: Murali Karicheri m-kariche...@ti.com Much better! There is