summaryrefslogtreecommitdiffstats
path: root/arm-make-highpte-not-expert.patch
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2019-07-19 18:51:33 +0100
committerPeter Robinson <pbrobinson@gmail.com>2019-07-19 18:51:33 +0100
commitd7341fee1c2697ae60db6fe23edc60ab55a59668 (patch)
tree5455bbc627080ecdac6e9bd738dd39f3795ccb0d /arm-make-highpte-not-expert.patch
parent69a18c18b14a906df1a48bea445bc777bac5b7e5 (diff)
downloadkernel-d7341fee1c2697ae60db6fe23edc60ab55a59668.tar.gz
kernel-d7341fee1c2697ae60db6fe23edc60ab55a59668.tar.xz
kernel-d7341fee1c2697ae60db6fe23edc60ab55a59668.zip
Bug 1576593 - work around while vendor investigates arm builder LPAE HW issue
Diffstat (limited to 'arm-make-highpte-not-expert.patch')
-rw-r--r--arm-make-highpte-not-expert.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/arm-make-highpte-not-expert.patch b/arm-make-highpte-not-expert.patch
new file mode 100644
index 000000000..09630fda1
--- /dev/null
+++ b/arm-make-highpte-not-expert.patch
@@ -0,0 +1,31 @@
+From 19908e5fe3e63ed2d39f0a8a9135f35fd428d766 Mon Sep 17 00:00:00 2001
+From: Jon Masters <jcm@redhat.com>
+Date: Thu, 18 Jul 2019 15:47:26 -0400
+Subject: [PATCH] arm: make CONFIG_HIGHPTE optional without CONFIG_EXPERT
+
+We will use this to force CONFIG_HIGHPTE off on LPAE for now
+
+Signed-off-by: Jon Masters <jcm@redhat.com>
+---
+ arch/arm/Kconfig | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
+index 2bf1ce39a96d..e792b3e60095 100644
+--- a/arch/arm/Kconfig
++++ b/arch/arm/Kconfig
+@@ -1644,9 +1644,9 @@ config HIGHMEM
+ If unsure, say n.
+
+ config HIGHPTE
+- bool "Allocate 2nd-level pagetables from highmem" if EXPERT
++ bool "Allocate 2nd-level pagetables from highmem"
+ depends on HIGHMEM
+- default y
++ default n
+ help
+ The VM uses one page of physical memory for each page table.
+ For systems with a lot of processes, this can use a lot of
+--
+2.17.2
+