m68k: Increase initial mapping to 8 or 16 MiB if possible
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 24 Apr 2014 10:24:48 +0000 (12:24 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 28 May 2014 08:11:54 +0000 (10:11 +0200)
commit486df8bc4627bdfc032d11bedcd056cc5343ee62
tree758edca69ce10df13802ae2035f3f677552c61f4
parent44074e892cc2e5579b8d75c37612fcf8d023554a
m68k: Increase initial mapping to 8 or 16 MiB if possible

If the size of the first memory chunk is at least 8 or 16 MiB increase the
initial mapping to 8 resp. 16 MiB instead of 4 MiB.
This makes it possible to
  1. Map more memory in the first node without running out of space for the
     page tables,
  2. Boot kernels that don't fit in 4 MiB (e.g. multi_defconfig).

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
  - Add support for 8 MiB,
  - Store initial mapping size in head.S for later reuse,
  - Add comment about large kernels.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/head.S
arch/m68k/mm/motorola.c
This page took 0.026482 seconds and 5 git commands to generate.