diff options
author | Scott Wood <scottwood@freescale.com> | 2014-08-08 19:40:42 -0400 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-09-03 18:58:21 -0400 |
commit | 1c98025c6c95bc057a25e2c6596de23288c68160 (patch) | |
tree | 37475259871168c9835b78ecd3d233f870945fa1 /arch/powerpc/Kconfig | |
parent | 78eb9094ca08a40b8f9d3e113a2b88e0b7dbad1d (diff) |
powerpc: Dynamic DMA zone limits
Platform code can call limit_zone_pfn() to set appropriate limits
for ZONE_DMA and ZONE_DMA32, and dma_direct_alloc_coherent() will
select a suitable zone based on a device's mask and the pfn limits that
platform code has configured.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Shaohui Xie <Shaohui.Xie@freescale.com>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index bd6dd6ed3a9f..d003409b5f98 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -285,6 +285,10 @@ config PPC_EMULATE_SSTEP | |||
285 | bool | 285 | bool |
286 | default y if KPROBES || UPROBES || XMON || HAVE_HW_BREAKPOINT | 286 | default y if KPROBES || UPROBES || XMON || HAVE_HW_BREAKPOINT |
287 | 287 | ||
288 | config ZONE_DMA32 | ||
289 | bool | ||
290 | default y if PPC64 | ||
291 | |||
288 | source "init/Kconfig" | 292 | source "init/Kconfig" |
289 | 293 | ||
290 | source "kernel/Kconfig.freezer" | 294 | source "kernel/Kconfig.freezer" |