]> git.karo-electronics.de Git - linux-beck.git/commit
s390: add cma support
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Nov 2016 12:57:03 +0000 (13:57 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 23 Nov 2016 15:02:23 +0000 (16:02 +0100)
commite1231b0e487caea77d3dffeb737cb25bd3595c5b
tree0e42dd4c92929b186345975d3a91ff25c3a24153
parent1e16b09666baaf2919f991064237961ca766e394
s390: add cma support

In order to make the cma infrastructure usable we need to add a small
architecture backend which calls dma_contiguous_reserve.
Otherwise we would end up with the cma allocator enabled, but no pool
where memory can be allocated from.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kconfig
arch/s390/include/asm/Kbuild
arch/s390/kernel/setup.c