From patchwork Tue Jul 3 14:20:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 1151131 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 36E5CDFF72 for ; Tue, 3 Jul 2012 14:21:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753226Ab2GCOVF (ORCPT ); Tue, 3 Jul 2012 10:21:05 -0400 Received: from ns.visionsystems.de ([62.145.30.242]:51517 "EHLO mail.visionsystems.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751429Ab2GCOVE (ORCPT ); Tue, 3 Jul 2012 10:21:04 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.visionsystems.de (Postfix) with ESMTP id 742CC2A3D21; Tue, 3 Jul 2012 16:21:00 +0200 (CEST) Received: from mail.visionsystems.de ([127.0.0.1]) by localhost (mail.visionsystems.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01500-01; Tue, 3 Jul 2012 16:20:50 +0200 (CEST) Received: from visionsystems.de (kallisto.visionsystems.local [192.168.1.3]) by mail.visionsystems.de (Postfix) with ESMTP id E6A1F2A3CA5; Tue, 3 Jul 2012 16:20:50 +0200 (CEST) Received: from development1.visionsystems.local ([192.168.1.36]) by visionsystems.de with Microsoft SMTPSVC(6.0.3790.4675); Tue, 3 Jul 2012 16:20:50 +0200 From: yegorslists@googlemail.com To: linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org, Yegor Yefremov , Dejan Gacnik Subject: [PATCH] arm: make FORCE_MAX_ZONEORDER configurable for TI AM33XX Date: Tue, 3 Jul 2012 16:20:42 +0200 Message-Id: <1341325242-17638-1-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 1.7.7 X-OriginalArrivalTime: 03 Jul 2012 14:20:50.0717 (UTC) FILETIME=[0C3774D0:01CD5927] X-Virus-Scanned: amavisd-new at visionsystems.de Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Yegor Yefremov FORCE_MAX_ZONEORDER of 12 is needed to allocation more than 4MB of consistent DMA memory (da8xx frame buffer driver). Signed-off-by: Dejan Gacnik Signed-off-by: Yegor Yefremov --- arch/arm/Kconfig | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e876819..ff14c1e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1725,8 +1725,9 @@ config HW_PERF_EVENTS source "mm/Kconfig" config FORCE_MAX_ZONEORDER - int "Maximum zone order" if ARCH_SHMOBILE - range 11 64 if ARCH_SHMOBILE + int "Maximum zone order" + depends on ARCH_SHMOBILE || SOC_AM33XX + range 11 64 if ARCH_SHMOBILE || SOC_AM33XX default "9" if SA1111 default "11" help