From 1d7bc219e2b6176eac361ed2eb11c7a70387644c Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Thu, 15 May 2025 14:05:25 +0200 Subject: [PATCH] x86/boot/e820: Call the PCI gap a 'gap' in the boot log printout It is a bit weird and inconsistent that the PCI gap is advertised during bootup as 'mem'ory: [mem 0xc0000000-0xfed1bfff] available for PCI devices ^^^ It's not really memory, it's a gap that PCI devices can decode and use and they often do not map it to any memory themselves. So advertise it for what it is, a gap: [gap 0xc0000000-0xfed1bfff] available for PCI devices Signed-off-by: Ingo Molnar Cc: Andy Shevchenko Cc: Arnd Bergmann Cc: Borislav Petkov Cc: Juergen Gross Cc: "H . Peter Anvin" Cc: Kees Cook Cc: Linus Torvalds Cc: Mike Rapoport Cc: Paul Menzel Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: David Woodhouse Link: https://patch.msgid.link/20250515120549.2820541-10-mingo@kernel.org --- arch/x86/kernel/e820.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index b0efa4bf06325..96840fa2a0866 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c @@ -699,7 +699,7 @@ __init void e820__setup_pci_gap(void) */ pci_mem_start = gapstart; - pr_info("[mem %#010lx-%#010lx] available for PCI devices\n", + pr_info("[gap %#010lx-%#010lx] available for PCI devices\n", gapstart, gapstart + gapsize - 1); } -- 2.47.3