From mboxrd@z Thu Jan 1 00:00:00 1970 From: l.stach@pengutronix.de (Lucas Stach) Date: Mon, 14 Apr 2014 17:06:02 +0200 Subject: [PATCH] arm: allow all architectures to change max zone order In-Reply-To: <1370019744-7588-1-git-send-email-l.stach@pengutronix.de> References: <1370019744-7588-1-git-send-email-l.stach@pengutronix.de> Message-ID: <1397487962.4548.30.camel@weser.hi.pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Russell, can you please take a look at this? Nobody else seems to care about this and we have to carry it around as without it imx-drm is broken for FullHD displays with a 32bpp framebuffer. Regards, Lucas Am Freitag, den 31.05.2013, 19:02 +0200 schrieb Lucas Stach: > Many multimedia applications on architectures without an > IOMMU need large physically contiguous buffers and so need > to adjust the max zone order of the page allocator. > > There is zero reason to not allow this adjustment on arches > other than SHMOBILE. > > Signed-off-by: Lucas Stach > --- > arch/arm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 49d993c..6ceace8 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1710,7 +1710,7 @@ config HW_PERF_EVENTS > source "mm/Kconfig" > > config FORCE_MAX_ZONEORDER > - int "Maximum zone order" if ARCH_SHMOBILE > + int "Maximum zone order" > range 11 64 if ARCH_SHMOBILE > default "12" if SOC_AM33XX > default "9" if SA1111 -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5076 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |