[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427096800-30452-2-git-send-email-james.t.kukunas@linux.intel.com>
Date: Mon, 23 Mar 2015 00:46:30 -0700
From: Jim Kukunas <james.t.kukunas@...ux.intel.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>,
tom.zanussi@...ux.intel.com
Cc: Arjan van de Ven <arjan@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>, tglx@...utronix.de,
mingo@...hat.com, x86@...nel.org
Subject: [PATCH 01/11] x86/xip: add XIP_KERNEL and XIP_BASE options
The CONFIG_XIP_KERNEL Kconfig option enables eXecute-In-Place
(XIP) support. When XIP_KERNEL is set, XIP_BASE points to the
physical address of the vmlinux ELF file.
Signed-off-by: Jim Kukunas <james.t.kukunas@...ux.intel.com>
---
arch/x86/Kconfig | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index b7d31ca..f5fa02c 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -294,6 +294,25 @@ config ZONE_DMA
If unsure, say Y.
+config XIP_KERNEL
+ bool "eXecute-In-Place (XIP) support" if (X86_32 && EXPERT && EMBEDDED)
+ depends on !MODULES && !X86_PAE && !SMP
+ default n
+ help
+ With this option enabled, the text and any read-only segments of
+ the kernel are not copied from their initial location to their usual
+ location in RAM. As a result, when the kernel is located in storage
+ that is addressable by the CPU, the kernel text and read-only data
+ segments are never loaded into memory, thereby using less RAM.
+
+ Only enable this option if you know what you're doing.
+
+config XIP_BASE
+ hex "Physical address of XIP kernel" if XIP_KERNEL
+ default "0xFF800000"
+ help
+ The physical address for the beginning of the vmlinux file.
+
config SMP
bool "Symmetric multi-processing support"
---help---
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists