OSDN Git Service

xtensa: support DMA buffers in high memory
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 15 Feb 2018 00:12:54 +0000 (16:12 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 17 Feb 2018 03:19:54 +0000 (19:19 -0800)
commit6137e4166004e2ec383ac05d5ca15831f4668806
tree5991a1e8060bb0eb3091ebb34d8ad189b22cea49
parent6ac5a11dc674bc5016ea716e8082fff61f524dc1
xtensa: support DMA buffers in high memory

If a DMA buffer is allocated in high memory and kernel mapping is
required use dma_common_contiguous_remap to map buffer to the vmalloc
region and dma_common_free_remap to unmap it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/pci-dma.c