]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Octeon: Select CONFIG_HOLES_IN_ZONE
authorDavid Daney <david.daney@cavium.com>
Sat, 20 Aug 2011 15:44:00 +0000 (08:44 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 17 Sep 2011 00:45:56 +0000 (02:45 +0200)
commit6c87dd148805b37d51901b6b9f317e2b76e1a643
treea1b8680f21ae8221b4b81886145142e1f6c97c5f
parentf0b9d87219db0c2b5b708349068ce6df57697b70
MIPS: Octeon: Select CONFIG_HOLES_IN_ZONE

Current Octeon systems do in fact have holes in their memory zones.
We need to select HOLES_IN_ZONE.  If we do not, some memory
configurations will result in crashes at boot time like this:

.
.
.
CPU 6 Unable to handle kernel paging request at virtual address 0000000000700000, epc == ffffffff8118fe00, ra == ffffffff8118fe9c
Oops[#1]:
Cpu 6
.
.
.
        ...
Call Trace:
[<ffffffff8118fe00>] setup_per_zone_wmarks+0x1b0/0x338
[<ffffffff815cd738>] init_per_zone_wmark_min+0x64/0xd0
[<ffffffff81100438>] do_one_initcall+0x38/0x160
.
.
.

Reported-by: Jason Kwon <jason.kwon@ericsson.com>
Signed-off-by: David Daney <david.daney@cavium.com>
To: linux-mips@linux-mips.org
Cc: Jason Kwon <jason.kwon@ericsson.com>
Patchwork: https://patchwork.linux-mips.org/patch/2724/
Tested-by: Guenter Roeck<guenter.roeck@ericsson.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig