From: James Hogan Date: Mon, 27 Apr 2015 14:07:19 +0000 (+0100) Subject: MIPS: Malta: Select 32bit DMA zone for 64-bit kernels X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=abcc82b19fa9b4f41e02f28715005851b580163d;p=linux-beck.git MIPS: Malta: Select 32bit DMA zone for 64-bit kernels Enable the 32-bit DMA zone for 64-bit Malta kernels so that devices with 32-bit coherent DMA masks aren't constrained to the low 16MB DMA zone, which can easily be exhausted when there is lots of static kernel data due to lock and RCU debugging. Signed-off-by: James Hogan Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9890/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 2424ddc43a77..0ee59e8cdb57 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -440,6 +440,7 @@ config MIPS_MALTA select SYS_SUPPORTS_MULTITHREADING select SYS_SUPPORTS_SMARTMIPS select SYS_SUPPORTS_ZBOOT + select ZONE_DMA32 if 64BIT help This enables support for the MIPS Technologies Malta evaluation board.