Re: [PATCH - v7] of: Move of_dma_configure() to device.c to help re-use

From: Murali Karicheri
Date: Tue Mar 03 2015 - 09:59:38 EST


On 03/02/2015 10:43 PM, Bjorn Helgaas wrote:
On Mon, Mar 2, 2015 at 3:59 PM, Murali Karicheri<m-karicheri2@xxxxxx> wrote:
Move of_dma_configure() to device.c so it can be re-used for PCI devices to
obtain DMA configuration from DT. Also add a second argument so that for
PCI, the DT node of root bus host bridge can be used to obtain the DMA
configuration for the slave PCI device.

Tested-by: Suravee Suthikulpanit<Suravee.Suthikulpanit@xxxxxxx> (AMD Seattle)
Signed-off-by: Murali Karicheri<m-karicheri2@xxxxxx>
Signed-off-by: Bjorn Helgaas<bhelgaas@xxxxxxxxxx>
Reviewed-by: Catalin Marinas<catalin.marinas@xxxxxxx>
Acked-by: Will Deacon<will.deacon@xxxxxxx>
CC: Joerg Roedel<joro@xxxxxxxxxx>
CC: Grant Likely<grant.likely@xxxxxxxxxx>
CC: Rob Herring<robh+dt@xxxxxxxxxx>
CC: Russell King<linux@xxxxxxxxxxxxxxxx>
CC: Arnd Bergmann<arnd@xxxxxxxx>
---
- Based on the existing patch applied to arm-pci/pci/iommu for pci next (Bjorn)
- Fixed the build issue reported on ARCH=x86_64

Hi Murali,

Can you please repost the entire series with fixed patches? It's
easier for me to reapply the whole thing at once than it is to keep
track of and fiddle with individual patches.

Bjorn
Ok Fine. Will post now.

Murali

--
Murali Karicheri
Linux Kernel, Texas Instruments
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/