]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: use the generic uncached segment support
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Oct 2019 09:53:30 +0000 (10:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 11 Nov 2019 09:52:18 +0000 (10:52 +0100)
commit89b8b4dc7a043124287296dc108af07fca5d878e
tree2a5c08bc905e69cc1219a3148373c1db60fcbde9
parent9f1cdd5487c2ac254ac68b441e57b871e4f36387
xtensa: use the generic uncached segment support

Switch xtensa over to use the generic uncached support, and thus the
generic implementations of dma_alloc_* and dma_alloc_*, which also
gains support for mmaping DMA memory.  The non-working nommu DMA
support has been disabled, but could be re-enabled easily if platforms
that actually have an uncached segment show up.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig
arch/xtensa/include/asm/platform.h
arch/xtensa/kernel/Makefile
arch/xtensa/kernel/pci-dma.c