diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-02-13 16:06:21 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-23 21:04:31 +1100 |
commit | e4470bd6a41477333f13ef05d78d9d86a40ccf25 (patch) | |
tree | b6a44b36a548959756bb0fd167e0df67aa196b82 /ipc | |
parent | 665bed2386e5dc29844ad78c7ef1464664b103ec (diff) |
powerpc/8xx: Map 32Mb of RAM at init.
At the time being, initial MMU setup allows 24 Mbytes
of DATA and 8 Mbytes of code.
Some debug setup like CONFIG_KASAN generate huge
kernels with text size over the 8M limit and data over the
24 Mbytes limit.
Here is an 8xx kernel compiled with CONFIG_KASAN_INLINE for
one of my boards:
[root@po16846vm linux-powerpc]# size -x vmlinux
text data bss dec hex filename
0x111019c 0x41b0d4 0x490de0 26984528 19bc050 vmlinux
This patch maps up to 32 Mbytes code based on _einittext symbol
and allows 32 Mbytes of memory instead of 24.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions