From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Tue, 25 Sep 2012 09:32:45 +0100 Subject: [PATCH v2] arm: make FORCE_MAX_ZONEORDER configurable for TI AM33XX In-Reply-To: <1348561590-13361-1-git-send-email-yegorslists@googlemail.com> References: <1348561590-13361-1-git-send-email-yegorslists@googlemail.com> Message-ID: <20120925083245.GH31374@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Sep 25, 2012 at 10:26:30AM +0200, yegorslists at googlemail.com wrote: > From: Yegor Yefremov > > FORCE_MAX_ZONEORDER of 12 is needed to allocation more than 4MB > of consistent DMA memory (da8xx frame buffer driver). Okay, so the patch description says "This needs to be 12 on this platform". > config FORCE_MAX_ZONEORDER > - int "Maximum zone order" if ARCH_SHMOBILE > - range 11 64 if ARCH_SHMOBILE > + int "Maximum zone order" if ARCH_SHMOBILE || SOC_AM33XX > + range 11 64 if ARCH_SHMOBILE || SOC_AM33XX but you leave it up to the user to select something that may not be suitable. Wouldn't _just_ adding: default "12" if SOC_AM33XX after the "range", and making no other changes be good enough and match what the patch description says?