| From dhobsong@igel.co.jp Mon Oct 29 00:53:25 2012 |
| From: Damian Hobson-Garcia <dhobsong@igel.co.jp> |
| Date: Mon, 29 Oct 2012 16:50:56 +0900 |
| Subject: [PATCH v2 39/58] ARM: relax conditions required for enabling Contiguous Memory Allocator |
| To: greg@kroah.com, laurent.pinchart@ideasonboard.com, horms@verge.net.au |
| Cc: ltsi-dev@lists.linuxfoundation.org, dhobsong@igel.co.jp |
| Message-ID: <1351497075-32717-40-git-send-email-dhobsong@igel.co.jp> |
| |
| |
| From: Marek Szyprowski <m.szyprowski@samsung.com> |
| |
| Contiguous Memory Allocator requires only paging and MMU enabled not |
| particular CPU architectures, so there is no need for strict dependency |
| on CPU type. This enables to use CMA on some older ARM v5 systems which |
| also might need large contiguous blocks for the multimedia processing hw |
| modules. |
| |
| Reported-by: Prabhakar Lad <prabhakar.lad@ti.com> |
| Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> |
| Tested-by: Prabhakar Lad <prabhakar.lad@ti.com> |
| (cherry picked from commit e092705bcd53de3bafc3053b0b55bf83e5d6711f) |
| |
| Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> |
| Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| --- |
| arch/arm/Kconfig | 2 +- |
| 1 files changed, 1 insertions(+), 1 deletions(-) |
| |
| diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig |
| index 5c0c50e..dce63cb 100644 |
| --- a/arch/arm/Kconfig |
| +++ b/arch/arm/Kconfig |
| @@ -5,7 +5,7 @@ config ARM |
| select HAVE_DMA_API_DEBUG |
| select HAVE_IDE if PCI || ISA || PCMCIA |
| select HAVE_DMA_ATTRS |
| - select HAVE_DMA_CONTIGUOUS if (CPU_V6 || CPU_V6K || CPU_V7) |
| + select HAVE_DMA_CONTIGUOUS if MMU |
| select HAVE_MEMBLOCK |
| select RTC_LIB |
| select SYS_SUPPORTS_APM_EMULATION |
| -- |
| 1.7.5.4 |
| |