summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Ionescu <gabriel.ionescu@enea.com>2019-01-31 15:12:26 +0100
committerGabriel Ionescu <gabriel.ionescu@enea.com>2019-01-31 15:14:04 +0100
commit30c769f979959f7ee0eeec85ffed32ad8b837c85 (patch)
tree20a4d8b5282cec9143217bc24bfc43a500e2d391
parentf20d5edb3bdc1e451da309998a2ad4664e744220 (diff)
downloadenea-kernel-cache-30c769f979959f7ee0eeec85ffed32ad8b837c85.tar.gz
Add kernel fragment that supports gigapages
Change-Id: Idf218f4b1e427e32255d79814745f941cc16f80a Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
-rw-r--r--features/gigapages/gigapages_y.cfg11
-rw-r--r--features/gigapages/gigapages_y.scc4
2 files changed, 15 insertions, 0 deletions
diff --git a/features/gigapages/gigapages_y.cfg b/features/gigapages/gigapages_y.cfg
new file mode 100644
index 0000000..352a787
--- /dev/null
+++ b/features/gigapages/gigapages_y.cfg
@@ -0,0 +1,11 @@
1CONFIG_MEMORY_HOTREMOVE=y
2CONFIG_MEMORY_HOTPLUG=y
3CONFIG_MEMORY_HOTPLUG_SPARSE=y
4CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
5CONFIG_HAVE_BOOTMEM_INFO_NODE=y
6CONFIG_MIGRATION=y
7
8# MEMORY_ISOLATION needs the above configs first
9CONFIG_MEMORY_ISOLATION=y
10
11CONFIG_COMPACTION=y
diff --git a/features/gigapages/gigapages_y.scc b/features/gigapages/gigapages_y.scc
new file mode 100644
index 0000000..31280cb
--- /dev/null
+++ b/features/gigapages/gigapages_y.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable runtime gigapages support"
2define KFEATURE_COMPATIBILITY all
3
4kconf hardware gigapages_y.cfg