linux-stable/drivers/crypto/marvell
Christoph Hellwig ea8c64ace8 dma-mapping: move swiotlb arch helpers to a new header
phys_to_dma, dma_to_phys and dma_capable are helpers published by
architecture code for use of swiotlb and xen-swiotlb only.  Drivers are
not supposed to use these directly, but use the DMA API instead.

Move these to a new asm/dma-direct.h helper, included by a
linux/dma-direct.h wrapper that provides the default linear mapping
unless the architecture wants to override it.

In the MIPS case the existing dma-coherent.h is reused for now as
untangling it will take a bit of work.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Robin Murphy <robin.murphy@arm.com>
2018-01-10 16:40:54 +01:00
..
cesa.c dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
cesa.h Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2017-11-14 10:52:09 -08:00
cipher.c crypto: marvell - Switch cipher algs to the skcipher interface 2017-11-03 21:53:32 +08:00
hash.c crypto: marvell - Use IPAD/OPAD constant 2017-05-23 12:52:07 +08:00
Makefile
tdma.c crypto: Use PTR_ERR_ZERO 2017-09-22 17:43:27 +08:00