Re: [PATCH 5/6] dma-mapping: support fsl-mc bus

2018-03-09 Thread Robin Murphy
On 09/03/18 18:29, Nipun Gupta wrote: -Original Message- From: Christoph Hellwig [mailto:h...@lst.de] Sent: Thursday, March 08, 2018 13:11 On Tue, Mar 06, 2018 at 04:41:56AM +, Nipun Gupta wrote: Sorry for asking a trivial question - looking into dma_configure() I see that PCI

RE: [PATCH 5/6] dma-mapping: support fsl-mc bus

2018-03-09 Thread Nipun Gupta
> -Original Message- > From: Christoph Hellwig [mailto:h...@lst.de] > Sent: Thursday, March 08, 2018 13:11 > > On Tue, Mar 06, 2018 at 04:41:56AM +, Nipun Gupta wrote: > > Sorry for asking a trivial question - looking into dma_configure() I see > > that > > PCI is used in the start

Re: [PATCH 5/6] dma-mapping: support fsl-mc bus

2018-03-07 Thread Christoph Hellwig
On Tue, Mar 06, 2018 at 04:41:56AM +, Nipun Gupta wrote: > Sorry for asking a trivial question - looking into dma_configure() I see that > PCI is used in the start and the end of the API. > In the end part pci_put_host_bridge_device() is called. > So are two bus callbacks something like

RE: [PATCH 5/6] dma-mapping: support fsl-mc bus

2018-03-05 Thread Nipun Gupta
> From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Tuesday, March 06, 2018 0:22 > > On 05/03/18 18:39, Christoph Hellwig wrote: > > On Mon, Mar 05, 2018 at 03:48:32PM +, Robin Murphy wrote: > >> Unfortunately for us, fsl-mc is conceptually rather like PCI in that it's > >>

Re: [PATCH 5/6] dma-mapping: support fsl-mc bus

2018-03-05 Thread Robin Murphy
On 05/03/18 18:39, Christoph Hellwig wrote: On Mon, Mar 05, 2018 at 03:48:32PM +, Robin Murphy wrote: Unfortunately for us, fsl-mc is conceptually rather like PCI in that it's software-discoverable and the only thing described in DT is the bus "host", thus we need the same sort of thing as

Re: [PATCH 5/6] dma-mapping: support fsl-mc bus

2018-03-05 Thread Christoph Hellwig
On Mon, Mar 05, 2018 at 03:48:32PM +, Robin Murphy wrote: > Unfortunately for us, fsl-mc is conceptually rather like PCI in that it's > software-discoverable and the only thing described in DT is the bus "host", > thus we need the same sort of thing as for PCI to map from the child >

Re: [PATCH 5/6] dma-mapping: support fsl-mc bus

2018-03-05 Thread Robin Murphy
On 05/03/18 15:08, Christoph Hellwig wrote: We should not add any new hardocded busses here. Please mark them in OF/ACPI. Unfortunately for us, fsl-mc is conceptually rather like PCI in that it's software-discoverable and the only thing described in DT is the bus "host", thus we need the

Re: [PATCH 5/6] dma-mapping: support fsl-mc bus

2018-03-05 Thread Christoph Hellwig
We should not add any new hardocded busses here. Please mark them in OF/ACPI.