Re: add an API to check if a streamming mapping needs sync calls

2020-07-08 Thread Daniel Borkmann
On 7/8/20 9:44 AM, Christoph Hellwig wrote: On Mon, Jun 29, 2020 at 03:39:01PM +0200, Björn Töpel wrote: On 2020-06-29 15:03, Christoph Hellwig wrote: Hi all, this series lifts the somewhat hacky checks in the XSK code if a DMA streaming mapping needs dma_sync_single_for_{device,cpu} calls to

Re: add an API to check if a streamming mapping needs sync calls

2020-07-08 Thread Christoph Hellwig
On Mon, Jun 29, 2020 at 03:39:01PM +0200, Björn Töpel wrote: > On 2020-06-29 15:03, Christoph Hellwig wrote: >> Hi all, >> >> this series lifts the somewhat hacky checks in the XSK code if a DMA >> streaming mapping needs dma_sync_single_for_{device,cpu} calls to the >> DMA API. >> > > Thanks a

Re: add an API to check if a streamming mapping needs sync calls

2020-06-29 Thread Christoph Hellwig
On Mon, Jun 29, 2020 at 03:39:01PM +0200, Björn Töpel wrote: > On 2020-06-29 15:03, Christoph Hellwig wrote: >> Hi all, >> >> this series lifts the somewhat hacky checks in the XSK code if a DMA >> streaming mapping needs dma_sync_single_for_{device,cpu} calls to the >> DMA API. >> > > Thanks a

Re: add an API to check if a streamming mapping needs sync calls

2020-06-29 Thread Björn Töpel
On 2020-06-29 15:03, Christoph Hellwig wrote: Hi all, this series lifts the somewhat hacky checks in the XSK code if a DMA streaming mapping needs dma_sync_single_for_{device,cpu} calls to the DMA API. Thanks a lot for working on, and fixing this, Christoph! I took the series for a spin,

add an API to check if a streamming mapping needs sync calls

2020-06-29 Thread Christoph Hellwig
Hi all, this series lifts the somewhat hacky checks in the XSK code if a DMA streaming mapping needs dma_sync_single_for_{device,cpu} calls to the DMA API. Diffstat: Documentation/core-api/dma-api.rst |8 + include/linux/dma-direct.h |1 include/linux/dma-mapping.h