[PATCH] x86/e820: update code comment about e820_table_kexec

Dave Young dyoung at redhat.com
Sat Sep 14 04:20:52 PDT 2024


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 at 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




More information about the kexec mailing list