59aac79
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
4768e6b
From: Peter Robinson <pbrobinson@gmail.com>
59aac79
Date: Wed, 26 Feb 2020 13:38:40 -0500
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
59aac79
Upstream Status: RHEL only
4768e6b
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
59aac79
[Add a dependency on RHEL_DIFFERENCES]
59aac79
Signed-off-by: Jeremy Cline <jcline@redhat.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
59aac79
index 7f37a6d0658a..c88ee0e8ce6e 100644
4768e6b
--- a/arch/arm64/Kconfig
4768e6b
+++ b/arch/arm64/Kconfig
59aac79
@@ -1126,6 +1126,7 @@ config XEN
4768e6b
 config FORCE_MAX_ZONEORDER
4768e6b
 	int
4768e6b
 	default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
59aac79
+	default "13" if (ARCH_THUNDER && !ARM64_64K_PAGES && !RHEL_DIFFERENCES)
4768e6b
 	default "12" if (ARM64_16K_PAGES && TRANSPARENT_HUGEPAGE)
4768e6b
 	default "11"
4768e6b
 	help
4768e6b
-- 
59aac79
2.26.2
4768e6b