Skip to contentSkip to conversation

: R10000: Mark CPU_SUPPORTS_HUGEPAGES as broken

PATCH New Joshua Kinard 1 participant 1 message Nov 10, 2014 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : R10000: Mark CPU_SUPPORTS_HUGEPAGES as broken

Enabling CONFIG_TRANSPARENT_HUGEPAGE on an R10000-family processor on at least SGI IP27 and IP30 machines creates problems, including random SIGSEGV and SIGBUS signals to processes that attempt to use huge pages. Until someone with deeper TLB knowledge on R10K can attempt to solve this problem, marking CPU_SUPPORTS_HUGEPAGES as BROKEN seems like a sensible thing to do.

---
 arch/mips/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/Kconfig +1 -1
index 5c3992c..7432be6 100644
@@ -1418,7 +1418,7 @@ config CPU_R10000
 	select CPU_SUPPORTS_32BIT_KERNEL
 	select CPU_SUPPORTS_64BIT_KERNEL
 	select CPU_SUPPORTS_HIGHMEM
-	select CPU_SUPPORTS_HUGEPAGES
+	select CPU_SUPPORTS_HUGEPAGES if BROKEN
 	help
 	  MIPS Technologies R10000-series processors.