aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2009-02-12 08:20:53 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-02-22 18:48:57 -0500
commit33f00dcedb0e22cdb156a23632814fc580fcfcf8 (patch)
treeca3258932cf3ea50783a309f66e897f75fdae557 /arch/powerpc/Kconfig
parent812d904e3975450cbf96aea5c1fec4d0a176ab50 (diff)
powerpc: Rework dma-noncoherent to use generic vmalloc layer
This patch rewrites consistent dma allocations support to use vmalloc layer to allocate virtual memory space from vmalloc pool and get rid of CONFIG_CONSISTENT_{START,SIZE}. This greatly simplifies the code by effectively removing a custom allocator we had for virtual space. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index e46995a21685..d11896b445b6 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -833,31 +833,6 @@ config TASK_SIZE
833 default "0x80000000" if PPC_PREP || PPC_8xx 833 default "0x80000000" if PPC_PREP || PPC_8xx
834 default "0xc0000000" 834 default "0xc0000000"
835 835
836config CONSISTENT_START_BOOL
837 bool "Set custom consistent memory pool address"
838 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
839 help
840 This option allows you to set the base virtual address
841 of the consistent memory pool. This pool of virtual
842 memory is used to make consistent memory allocations.
843
844config CONSISTENT_START
845 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
846 default "0xfd000000" if (NOT_COHERENT_CACHE && 8xx)
847 default "0xff100000" if NOT_COHERENT_CACHE
848
849config CONSISTENT_SIZE_BOOL
850 bool "Set custom consistent memory pool size"
851 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
852 help
853 This option allows you to set the size of the
854 consistent memory pool. This pool of virtual memory
855 is used to make consistent memory allocations.
856
857config CONSISTENT_SIZE
858 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
859 default "0x00200000" if NOT_COHERENT_CACHE
860
861config PIN_TLB 836config PIN_TLB
862 bool "Pinned Kernel TLBs (860 ONLY)" 837 bool "Pinned Kernel TLBs (860 ONLY)"
863 depends on ADVANCED_OPTIONS && 8xx 838 depends on ADVANCED_OPTIONS && 8xx