From 2b48b9e966ceb58cc68927f64780ab6267fe3c2e Mon Sep 17 00:00:00 2001 From: Red Bear OS Date: Thu, 16 Jul 2026 06:39:43 +0900 Subject: [PATCH] pcid: log PCIe->I/O-port fallback at info; fbcond: transient no-display at debug --- drivers/graphics/fbcond/src/display.rs | 6 +++++- drivers/pcid/src/cfg_access/mod.rs | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/graphics/fbcond/src/display.rs b/drivers/graphics/fbcond/src/display.rs index 186af4bf85..1941dbe1a2 100644 --- a/drivers/graphics/fbcond/src/display.rs +++ b/drivers/graphics/fbcond/src/display.rs @@ -27,7 +27,11 @@ impl Display { let display_file = match self.input_handle.open_display_v2() { Ok(display_file) => display_file, Err(err) => { - log::error!("fbcond: No display present yet: {err}"); + // Expected transient during boot: the display server may not + // have published a surface yet when the first VT opens. It is + // re-opened on the handoff, so this is a debug note, not an + // error. + log::debug!("fbcond: display not ready yet (will retry on handoff): {err}"); return; } }; diff --git a/drivers/pcid/src/cfg_access/mod.rs b/drivers/pcid/src/cfg_access/mod.rs index 3009912109..1abd29a02d 100644 --- a/drivers/pcid/src/cfg_access/mod.rs +++ b/drivers/pcid/src/cfg_access/mod.rs @@ -265,7 +265,11 @@ impl Pcie { Err(acpi_error) => match locate_ecam_dtb(Self::from_allocs) { Ok(pcie) => pcie, Err(fdt_error) => { - log::warn!( + // Not a warning: legacy PCI 3.0 I/O-port config access is a + // fully supported path (e.g. QEMU's default i440fx machine + // has no MCFG). Report the fallback + how to get PCIe at + // info level so it doesn't read as a boot problem. + log::info!( "PCIe (ECAM/MCFG) not available: {}. \ Device tree ECAM also not found: {}. \ Falling back to PCI 3.0 config space (I/O ports 0xCF8/0xCFC). \