summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/configs
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-01-14 10:05:24 +0100
committerMichal Simek <michal.simek@xilinx.com>2020-02-04 11:38:59 +0100
commit2602276d3d3811b1a48c48113042cd75fcbfc27d (patch)
treefb0f41091be5c56b4aba8dec76ee7d1d399cd1d5 /arch/microblaze/configs
parentdef3f7cefe4e81c296090e1722a76551142c227c (diff)
downloadlinux-stable-2602276d3d3811b1a48c48113042cd75fcbfc27d.tar.gz
linux-stable-2602276d3d3811b1a48c48113042cd75fcbfc27d.tar.bz2
linux-stable-2602276d3d3811b1a48c48113042cd75fcbfc27d.zip
microblaze: Wire CMA allocator
Based on commit 04e3543e228f ("microblaze: use the generic dma coherent remap allocator") CMA can be easily enabled by calling dma_contiguous_reserve() at the end of mmu_init(). High limit is end of lowmem space which is completely unused at this point of time. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/microblaze/configs')
-rw-r--r--arch/microblaze/configs/mmu_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/configs/mmu_defconfig b/arch/microblaze/configs/mmu_defconfig
index dd63766c2d19..9b8a50f30662 100644
--- a/arch/microblaze/configs/mmu_defconfig
+++ b/arch/microblaze/configs/mmu_defconfig
@@ -26,6 +26,7 @@ CONFIG_MODULE_UNLOAD=y
# CONFIG_BLK_DEV_BSG is not set
CONFIG_PARTITION_ADVANCED=y
# CONFIG_EFI_PARTITION is not set
+CONFIG_CMA=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
@@ -82,6 +83,7 @@ CONFIG_NFS_FS=y
CONFIG_CIFS=y
CONFIG_CIFS_STATS2=y
CONFIG_ENCRYPTED_KEYS=y
+CONFIG_DMA_CMA=y
CONFIG_DEBUG_INFO=y
CONFIG_KGDB=y
CONFIG_KGDB_TESTS=y