diff options
author | David Daney <david.daney@cavium.com> | 2011-08-20 11:44:00 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-09-21 11:53:56 -0400 |
commit | 465aaed0030b23d905f3eca5e65481773bea9ea1 (patch) | |
tree | 9564637609ba91b763fa38890739d9fbc38e64bb /arch/mips/Kconfig | |
parent | bd7100099a46b59f433dd15ad60adbb4d4f3d625 (diff) |
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>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index d300c2bf8365..b122adc8bdbb 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -723,6 +723,7 @@ config CAVIUM_OCTEON_SIMULATOR | |||
723 | select SYS_SUPPORTS_HIGHMEM | 723 | select SYS_SUPPORTS_HIGHMEM |
724 | select SYS_SUPPORTS_HOTPLUG_CPU | 724 | select SYS_SUPPORTS_HOTPLUG_CPU |
725 | select SYS_HAS_CPU_CAVIUM_OCTEON | 725 | select SYS_HAS_CPU_CAVIUM_OCTEON |
726 | select HOLES_IN_ZONE | ||
726 | help | 727 | help |
727 | The Octeon simulator is software performance model of the Cavium | 728 | The Octeon simulator is software performance model of the Cavium |
728 | Octeon Processor. It supports simulating Octeon processors on x86 | 729 | Octeon Processor. It supports simulating Octeon processors on x86 |
@@ -745,6 +746,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD | |||
745 | select ZONE_DMA32 | 746 | select ZONE_DMA32 |
746 | select USB_ARCH_HAS_OHCI | 747 | select USB_ARCH_HAS_OHCI |
747 | select USB_ARCH_HAS_EHCI | 748 | select USB_ARCH_HAS_EHCI |
749 | select HOLES_IN_ZONE | ||
748 | help | 750 | help |
749 | This option supports all of the Octeon reference boards from Cavium | 751 | This option supports all of the Octeon reference boards from Cavium |
750 | Networks. It builds a kernel that dynamically determines the Octeon | 752 | Networks. It builds a kernel that dynamically determines the Octeon |
@@ -974,6 +976,9 @@ config ISA_DMA_API | |||
974 | config GENERIC_GPIO | 976 | config GENERIC_GPIO |
975 | bool | 977 | bool |
976 | 978 | ||
979 | config HOLES_IN_ZONE | ||
980 | bool | ||
981 | |||
977 | # | 982 | # |
978 | # Endianess selection. Sufficiently obscure so many users don't know what to | 983 | # Endianess selection. Sufficiently obscure so many users don't know what to |
979 | # answer,so we try hard to limit the available choices. Also the use of a | 984 | # answer,so we try hard to limit the available choices. Also the use of a |