[PATCH] ARM: expand fixmap region to 3MB

Leif Lindholm leif.lindholm at linaro.org
Mon Aug 11 09:14:48 PDT 2014


On Fri, Aug 08, 2014 at 10:23:24AM -0500, Rob Herring wrote:
> From: Rob Herring <robh at kernel.org>
> 
> With commit a05e54c103b0b8 "ARM: 8031/2: change fixmap mapping region to
> support 32 CPUs", the fixmap region was expanded to 2MB, but it
> precluded any other uses of the fixmap region in order to support up to
> 32 CPUs. In order to support other uses the fixmap region needs to be
> expanded beyond 2MB. Fortunately, the adjacent 1MB range
> 0xffe00000-0xfff00000 is availabe to use.
> 
> Remove fixmap_page_table ptr and lookup the page table via the virtual
> address so that the fixmap region can span more that one pmd. The 2nd
> pmd is already created since it is shared with the vector page.
> 
> Cc: Leif Lindholm <leif.lindholm at linaro.org>
> Cc: Kees Cook <keescook at chromium.org>
> Cc: Russell King <linux at arm.linux.org.uk>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> 
> This patch can come before or after the generic fixmap.h. There's a 
> single line conflict with the ending address 

Tested-by: Leif Lindholm <leif.lindholm at linaro.org>
For Kees' set with this addition + generic fixmap + early_ioremap +
UEFI.
 
> This worked for earlycon, but I've not done any highmem specific 
> testing. My full series is available here:
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git fixmap

I was hoping to be able to give you a tested-by for that series on
next-20140811 with the UEFI patches, but that setup fails to boot
right now. Looking into why.

/
    Leif



More information about the linux-arm-kernel mailing list