4768e6b
From 487ff7b0e537506057960a0c2d9482d19f2acf4a Mon Sep 17 00:00:00 2001
4768e6b
From: Peter Robinson <pbrobinson@gmail.com>
4768e6b
Date: Wed, 26 Apr 2017 11:12:54 +0100
4768e6b
Subject: [PATCH] Add option of 13 for FORCE_MAX_ZONEORDER
4768e6b
4768e6b
This is a hack, but it's what the other distros currently use
4768e6b
for aarch64 with 4K pages so we'll do the same while upstream
4768e6b
decides what the best outcome is (which isn't this).
4768e6b
4768e6b
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
4768e6b
---
4768e6b
 arch/arm64/Kconfig | 1 +
4768e6b
 1 file changed, 1 insertion(+)
4768e6b
4768e6b
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
4768e6b
index 3741859765cf..deec9511f1d3 100644
4768e6b
--- a/arch/arm64/Kconfig
4768e6b
+++ b/arch/arm64/Kconfig
4768e6b
@@ -751,6 +751,7 @@ config XEN
4768e6b
 config FORCE_MAX_ZONEORDER
4768e6b
 	int
4768e6b
 	default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
4768e6b
+	default "13" if (ARCH_THUNDER && !ARM64_64K_PAGES)
4768e6b
 	default "12" if (ARM64_16K_PAGES && TRANSPARENT_HUGEPAGE)
4768e6b
 	default "11"
4768e6b
 	help
4768e6b
-- 
4768e6b
2.12.2
4768e6b