pcid: log PCIe->I/O-port fallback at info; fbcond: transient no-display at debug

This commit is contained in:
Red Bear OS
2026-07-16 06:39:43 +09:00
parent 32bb63f360
commit 2b48b9e966
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -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;
}
};
+5 -1
View File
@@ -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). \