Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 870a4ac6 authored by Rob Herring's avatar Rob Herring Committed by Venkatesh Yadav Abbarapu
Browse files

ARM: expand fixmap region to 3MB



With commit a05e54c1 "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.

Change-Id: I3312ab8d4641ab522c501a0144e2b08aba7364b2
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Git-commit: 6bca312b359bdad80324cc750fe5d6a075eb66ad
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git


Signed-off-by: default avatarVenkatesh Yadav Abbarapu <vabbar@codeaurora.org>
parent 77813844
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment