Re: [RFC PATCH] powerpc: fix get_arch_dma_ops() for NTB devices

2019-02-05 Thread Christoph Hellwig
On Tue, Feb 05, 2019 at 10:20:32PM +1100, Michael Ellerman wrote: > get_dma_ops() falls into arch-dependant get_arch_dma_ops(), which > historically returns NULL on PowerPC. Therefore dma_set_mask() fails. > This affects Switchtec (and probably other) NTB devices, that they fail > to initialize. >

Re: [RFC PATCH] powerpc: fix get_arch_dma_ops() for NTB devices

2019-02-05 Thread Michael Ellerman
Christoph Hellwig writes: > On Wed, Jan 30, 2019 at 11:58:40PM +1100, Michael Ellerman wrote: >> Alexander Fomichev writes: >> >> > get_dma_ops() falls into arch-dependant get_arch_dma_ops(), which >> > historically returns NULL on PowerPC. Therefore dma_set_mask() fails. >> > This affects Switc

Re: [RFC PATCH] powerpc: fix get_arch_dma_ops() for NTB devices

2019-02-04 Thread Christoph Hellwig
On Wed, Jan 30, 2019 at 11:58:40PM +1100, Michael Ellerman wrote: > Alexander Fomichev writes: > > > get_dma_ops() falls into arch-dependant get_arch_dma_ops(), which > > historically returns NULL on PowerPC. Therefore dma_set_mask() fails. > > This affects Switchtec (and probably other) NTB devi

Re: [RFC PATCH] powerpc: fix get_arch_dma_ops() for NTB devices

2019-01-30 Thread Michael Ellerman
Alexander Fomichev writes: > get_dma_ops() falls into arch-dependant get_arch_dma_ops(), which > historically returns NULL on PowerPC. Therefore dma_set_mask() fails. > This affects Switchtec (and probably other) NTB devices, that they fail > to initialize. What's an NTB device? drivers/ntb I a