Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/e820: update code comment about e820_table_kexec
@ 2024-09-14 11:20 Dave Young
  2024-09-14 11:35 ` Dave Young
  2024-09-30  3:00 ` Baoquan He
  0 siblings, 2 replies; 9+ messages in thread
From: Dave Young @ 2024-09-14 11:20 UTC (permalink / raw)
  To: Borislav Petkov, Ingo Molnar; +Cc: x86, linux-kernel, kexec

The setup_data ranges are not reserved for kexec any more after
commit fc7f27cda843 ("x86/kexec: Do not update E820 kexec table
for setup_data"), so update the code comment here.

Signed-off-by: Dave Young <dyoung@redhat.com>
---
 arch/x86/kernel/e820.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Index: linux-x86/arch/x86/kernel/e820.c
===================================================================
--- linux-x86.orig/arch/x86/kernel/e820.c	2024-09-14 10:39:57.423551301 +0800
+++ linux-x86/arch/x86/kernel/e820.c	2024-09-14 18:56:30.158316496 +0800
@@ -36,10 +36,8 @@
  *
  * - 'e820_table_kexec': a slightly modified (by the kernel) firmware version
  *   passed to us by the bootloader - the major difference between
- *   e820_table_firmware[] and this one is that, the latter marks the setup_data
- *   list created by the EFI boot stub as reserved, so that kexec can reuse the
- *   setup_data information in the second kernel. Besides, e820_table_kexec[]
- *   might also be modified by the kexec itself to fake a mptable.
+ *   e820_table_firmware[] and this one is that e820_table_kexec[]
+ *   might be modified by the kexec itself to fake a mptable.
  *   We use this to:
  *
  *       - kexec, which is a bootloader in disguise, uses the original E820


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-01-28 13:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-14 11:20 [PATCH] x86/e820: update code comment about e820_table_kexec Dave Young
2024-09-14 11:35 ` Dave Young
2025-01-10  6:29   ` Dave Young
2025-01-10  6:34     ` Dave Young
2025-01-14  3:26     ` Chen, Yu C
2025-01-14  3:57       ` Dave Young
2025-01-28 13:48         ` Dave Young
2024-09-30  3:00 ` Baoquan He
2025-01-10  6:21   ` Dave Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox