On Mon, Oct 23, 2017 at 03:12:44PM +0800, Huacai Chen wrote:
> Make dma_get_cache_alignment() to accept a 'dev' argument. As a result,
> it can return different alignments due to different devices' I/O cache
> coherency.
> 
> Currently, ARM/ARM64 and MIPS support coherent & noncoherent devices
> co-exist. This may be extended in the future, so add a new function
> pointer (i.e, get_cache_alignment) in 'struct dma_map_ops' as a generic
> solution.
> 
> Cc: [email protected]
> Cc: Michael S. Tsirkin <[email protected]>
> Cc: Pawel Osciak <[email protected]>
> Cc: Marek Szyprowski <[email protected]>
> Cc: Kyungmin Park <[email protected]>
> Cc: Michael Chan <[email protected]>
> Cc: Benjamin Herrenschmidt <[email protected]>
> Cc: Ivan Mikhaylov <[email protected]>
> Cc: Tariq Toukan <[email protected]>
> Cc: Andy Gross <[email protected]>
> Cc: Mark A. Greer <[email protected]>
> Cc: Robert Baldyga <[email protected]>
> Cc: Marek Szyprowski <[email protected]>
> Signed-off-by: Huacai Chen <[email protected]>
> ---

For the mpsc stuff:

Acked-by: Mark Greer <[email protected]>

Reply via email to