summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/fixmap.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-07-02 11:01:15 +0400
committerKees Cook <keescook@chromium.org>2014-10-17 01:38:52 +0400
commit836a24183273e9db1c092246bd8e306b297d9917 (patch)
tree6a6d69be0fd2110c6b66d3a595aa5de59bdee69e /arch/arm/include/asm/fixmap.h
parentb615bbbff1c4d6fcd13007e75d75f6510aeb3808 (diff)
downloadlinux-836a24183273e9db1c092246bd8e306b297d9917.tar.xz
ARM: expand fixmap region to 3MB
With commit a05e54c103b0 ("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 other uses the fixmap region needs to be expanded beyond 2MB. Fortunately, the adjacent 1MB range 0xffe00000-0xfff00000 is availabe. 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. Signed-off-by: Rob Herring <robh@kernel.org> [kees: fixed CONFIG_DEBUG_HIGHMEM get_fixmap() calls] [kees: moved pte allocation outside of CONFIG_HIGHMEM] Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/fixmap.h')
-rw-r--r--arch/arm/include/asm/fixmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/fixmap.h b/arch/arm/include/asm/fixmap.h
index a7add6f9315d..d984ca69ce19 100644
--- a/arch/arm/include/asm/fixmap.h
+++ b/arch/arm/include/asm/fixmap.h
@@ -2,7 +2,7 @@
#define _ASM_FIXMAP_H
#define FIXADDR_START 0xffc00000UL
-#define FIXADDR_END 0xffe00000UL
+#define FIXADDR_END 0xfff00000UL
#define FIXADDR_TOP (FIXADDR_END - PAGE_SIZE)
#include <asm/kmap_types.h>