Re: [PATCH v2 04/19] powerpc: Create pci_controller_ops.dma_dev_setup and shim

2015-04-07 Thread Michael Ellerman
On Tue, 2015-04-07 at 09:44 +0200, Arnd Bergmann wrote: > On Tuesday 07 April 2015 10:31:36 Daniel Axtens wrote: > > > Please see https://patchwork.ozlabs.org/patch/431333/ for related work. > > > > > I'm familiar with that patch series - I've been helping Yijing get it up > > to speed on PowerPC.

Re: [PATCH v2 04/19] powerpc: Create pci_controller_ops.dma_dev_setup and shim

2015-04-07 Thread Arnd Bergmann
On Tuesday 07 April 2015 10:31:36 Daniel Axtens wrote: > > Please see https://patchwork.ozlabs.org/patch/431333/ for related work. > > > I'm familiar with that patch series - I've been helping Yijing get it up > to speed on PowerPC. > > > > I think it would be better not to introduce another arc

Re: [PATCH v2 04/19] powerpc: Create pci_controller_ops.dma_dev_setup and shim

2015-04-06 Thread Daniel Axtens
> Please see https://patchwork.ozlabs.org/patch/431333/ for related work. > I'm familiar with that patch series - I've been helping Yijing get it up to speed on PowerPC. > I think it would be better not to introduce another architecture-specific > pci host bridge operations structure, but instea

Re: [PATCH v2 04/19] powerpc: Create pci_controller_ops.dma_dev_setup and shim

2015-04-02 Thread Arnd Bergmann
On Tuesday 31 March 2015 16:00:42 Daniel Axtens wrote: > Introduces the pci_controller_ops structure. > Add pci_controller_ops.dma_dev_setup, shadowing ppc_md.pci_dma_dev_setup. > Add a shim, and change the callsites to use the shim. > > Signed-off-by: Daniel Axtens > > --- > > v1 --> v2: > -

[PATCH v2 04/19] powerpc: Create pci_controller_ops.dma_dev_setup and shim

2015-03-30 Thread Daniel Axtens
Introduces the pci_controller_ops structure. Add pci_controller_ops.dma_dev_setup, shadowing ppc_md.pci_dma_dev_setup. Add a shim, and change the callsites to use the shim. Signed-off-by: Daniel Axtens --- v1 --> v2: - Better commit message - Use phb in favour of hose - Make shim name match