git: 03bca3cfb4bb - main - arm64: Reword a comment about kexec / kboot path

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 17 Apr 2025 21:59:14 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=03bca3cfb4bb37f6496bc5e50a9d5936b0483084

commit 03bca3cfb4bb37f6496bc5e50a9d5936b0483084
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-04-17 04:04:03 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-04-17 21:56:46 +0000

    arm64: Reword a comment about kexec / kboot path
    
    Sponsored by:           Netflix
    Reviewed by:            kevans, andrew, jhibbits
    Differential Revision:  https://reviews.freebsd.org/D49860
---
 sys/arm64/arm64/machdep.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c
index 6184ce937b8a..d3955d8c9863 100644
--- a/sys/arm64/arm64/machdep.c
+++ b/sys/arm64/arm64/machdep.c
@@ -502,10 +502,12 @@ efi_early_map(vm_offset_t va)
 
 
 /*
- * When booted via kboot, the prior kernel will pass in reserved memory areas in
- * a EFI config table. We need to find that table and walk through it excluding
- * the memory ranges in it. btw, this is called too early for the printf to do
- * anything since msgbufp isn't initialized, let alone a console...
+ * When booted via kexec from Linux, the prior kernel will pass in reserved
+ * memory areas in an EFI config table. We need to find that table and walk
+ * through it excluding the memory ranges in it. btw, this is called too early
+ * for the printf to do anything (unless EARLY_PRINTF is defined) since msgbufp
+ * isn't initialized, let alone a console, but breakpoints in printf help
+ * diagnose rare failures.
  */
 static void
 exclude_efi_memreserve(vm_paddr_t efi_systbl_phys)