diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-18 19:17:39 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-26 14:37:25 +1000 |
commit | 4a5cbf17c49a6024a6d7baf03efdffb8ed252bb1 (patch) | |
tree | 6df61604f244537719795b796a4c93b5ed8a8d47 /virt | |
parent | 3514141aedc16c7344117d5bd79ec1310edf8fb3 (diff) |
powerpc: Map more memory early on 601 processors
The 32-bit kernel relies on some memory being mapped covering
the kernel text,data and bss at least, early during boot before
the full MMU setup is done. On 32-bit "classic" processors, this
is done using BAT registers.
On 601, the size of BATs is limited to 8M and we use 2 of them
for that initial mapping. This can become quite tight when enabling
features like lockdep, so let's use a 3rd one to bump that mapping
from 16M to 24M. We keep the 4th BAT free as it can be useful for
debugging early boot code to map things like serial ports.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions