mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 10:01:57 +00:00
parent
e88e3680aa
commit
26be862e08
@ -420,6 +420,9 @@ void Acpica::Main::init_acpica(bool const use_gpe)
|
||||
report_sleep_states.generate([&] (auto &xml) {
|
||||
Acpica::generate_suspend_report(xml);
|
||||
});
|
||||
|
||||
/* use dbg level to steer error reporting in pci.cc */
|
||||
AcpiDbgLevel &= ~ACPI_LV_INIT;
|
||||
}
|
||||
|
||||
|
||||
|
@ -54,7 +54,9 @@ ACPI_STATUS AcpiOsReadPciConfiguration (ACPI_PCI_ID *pcidev, UINT32 reg,
|
||||
|
||||
Bdf bdf(pcidev->Bus, pcidev->Device, pcidev->Function);
|
||||
|
||||
error(__func__, " ", bdf, " ", Hex(reg), " width=", width);
|
||||
/* during startup suppress errors */
|
||||
if (!(AcpiDbgLevel & ACPI_LV_INIT))
|
||||
error(__func__, " ", bdf, " ", Hex(reg), " width=", width);
|
||||
|
||||
*value = ~0U;
|
||||
return AE_OK;
|
||||
@ -67,7 +69,9 @@ ACPI_STATUS AcpiOsWritePciConfiguration (ACPI_PCI_ID *pcidev, UINT32 reg,
|
||||
|
||||
Bdf bdf(pcidev->Bus, pcidev->Device, pcidev->Function);
|
||||
|
||||
error(__func__, " ", bdf, " ", Hex(reg), "=", Hex(value), " width=", width);
|
||||
/* during startup suppress errors */
|
||||
if (!(AcpiDbgLevel & ACPI_LV_INIT))
|
||||
error(__func__, " ", bdf, " ", Hex(reg), "=", Hex(value), " width=", width);
|
||||
|
||||
return AE_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user