MIPS: Malta: Select 32bit DMA zone for 64-bit kernels
authorJames Hogan <james.hogan@imgtec.com>
Mon, 27 Apr 2015 14:07:19 +0000 (15:07 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:57 +0000 (21:53 +0200)
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 <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9890/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig

index 2424ddc..0ee59e8 100644 (file)
@@ -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.