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

From: Murali Karicheri
Date: Tue Mar 03 2015 - 17:55:12 EST


On 03/03/2015 03:53 PM, Bjorn Helgaas wrote:
[+cc linux-pci]

On Tue, Mar 3, 2015 at 11:55 AM, Murali Karicheri<m-karicheri2@xxxxxx> wrote:
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

Bjorn,

Ok. I have just posted v8 of the series including all patches.

Thanks, I put them on a pci/murali-v8 branch for now. I'm assuming
you want them to go through my tree. In the cover letter, you
mentioned the "arm-pci iommu branch", so if that means you want them
via an ARM tree instead of mine, just let me know. I assume the build
will be clean and I'll rename it back to pci/iommu.

My bad. It should have beem pci/iommu. My remote was named arm-pci and hence the confusion. Please apply it to the pci/iommu branch.

Thanks

Murali

Bjorn


--
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/