Thread (9 messages) 9 messages, 2 authors, 2016-09-15

Re: [PATCH v5 1/5] kexec_file: Include the purgatory segment in the kexec image checksum.

From: Thiago Jung Bauermann <hidden>
Date: 2016-09-15 01:51:48
Also in: kexec, lkml

Hello Stephen,

Am Donnerstag, 15 September 2016, 11:43:08 schrieb Stephen Rothwell:
Hi Thiago,
quoted
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 2a1f0ce7c59a..dcd1679f3005 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1792,6 +1792,11 @@ config SECCOMP

 source kernel/Kconfig.hz

+# x86 needs to relocate the purgatory after the checksum is calculated,
+# therefore the purgatory cannot be part of the kexec image checksum.
+config ARCH_MODIFIES_KEXEC_PURGATORY
+	bool
+
The above should probably be in arch/Kconfig (with an appropriately
changed comment) since it is used in generic code.
Thanks for your quick response! I'll make that change tomorrow and send an 
updated version of just this patch.

-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help