X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=arch%2Fpowerpc%2FKconfig;h=2e19500921f9fbdc33f40321ae34f648171faba0;hb=3595be778d8cb887f0e0575ef0a0c1a094d120bb;hp=155d571f5e261c82d59f55ea2758d9accd6af15a;hpb=05c5cb31ec47cacf38db56d9efaa37ca9d473132;p=android-x86%2Fkernel.git diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 155d571f5e26..2e19500921f9 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -313,19 +313,6 @@ config 8XX_MINIMAL_FPEMU It is recommended that you build a soft-float userspace instead. -config IOMMU_VMERGE - bool "Enable IOMMU virtual merging" - depends on PPC64 - default y - help - Cause IO segments sent to a device for DMA to be merged virtually - by the IOMMU when they happen to have been allocated contiguously. - This doesn't add pressure to the IOMMU allocator. However, some - drivers don't support getting large merged segments coming back - from *_map_sg(). - - Most drivers don't have this problem; it is safe to say Y here. - config IOMMU_HELPER def_bool PPC64 @@ -672,6 +659,9 @@ config ZONE_DMA bool default y +config NEED_DMA_MAP_STATE + def_bool (PPC64 || NOT_COHERENT_CACHE) + config GENERIC_ISA_DMA bool depends on PPC64 || POWER4 || 6xx && !CPM2