Re: [PATCH v2 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-05 Thread Serge Semin
On Tue, Dec 05, 2017 at 11:51:08AM -0500, Jon Mason wrote: > On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote: > > The dma_mask and dma_coherent_mask fields of the NTB struct device > > weren't initialized in hardware drivers. In fact it should be done

Re: [PATCH v2 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-05 Thread Serge Semin
On Tue, Dec 05, 2017 at 11:51:08AM -0500, Jon Mason wrote: > On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote: > > The dma_mask and dma_coherent_mask fields of the NTB struct device > > weren't initialized in hardware drivers. In fact it should be done > > instead of PCIe interface usage, since

Re: [PATCH v2 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-05 Thread Logan Gunthorpe
On 05/12/17 09:51 AM, Jon Mason wrote: On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote: The dma_mask and dma_coherent_mask fields of the NTB struct device weren't initialized in hardware drivers. In fact it should be done instead of PCIe interface usage, since NTB

Re: [PATCH v2 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-05 Thread Logan Gunthorpe
On 05/12/17 09:51 AM, Jon Mason wrote: On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote: The dma_mask and dma_coherent_mask fields of the NTB struct device weren't initialized in hardware drivers. In fact it should be done instead of PCIe interface usage, since NTB clients are supposed to

Re: [PATCH v2 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-05 Thread Jon Mason
On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote: > The dma_mask and dma_coherent_mask fields of the NTB struct device > weren't initialized in hardware drivers. In fact it should be done > instead of PCIe interface usage, since NTB clients are supposed to > use NTB API

Re: [PATCH v2 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-05 Thread Jon Mason
On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote: > The dma_mask and dma_coherent_mask fields of the NTB struct device > weren't initialized in hardware drivers. In fact it should be done > instead of PCIe interface usage, since NTB clients are supposed to > use NTB API only and left unaware of

[PATCH v2 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-03 Thread Serge Semin
The dma_mask and dma_coherent_mask fields of the NTB struct device weren't initialized in hardware drivers. In fact it should be done instead of PCIe interface usage, since NTB clients are supposed to use NTB API only and left unaware of real hardware implementation. In addition to that

[PATCH v2 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-03 Thread Serge Semin
The dma_mask and dma_coherent_mask fields of the NTB struct device weren't initialized in hardware drivers. In fact it should be done instead of PCIe interface usage, since NTB clients are supposed to use NTB API only and left unaware of real hardware implementation. In addition to that