(2010/08/03 6:56), Rafael J. Wysocki wrote: > +int pcie_port_acpi_setup(struct pci_dev *port, int *srv_mask) > +{ > + acpi_status status; > + acpi_handle handle; > + u32 flags; > + > + if (acpi_pci_disabled) > + return 0; > + > + handle = acpi_find_root_bridge_handle(port); > + if (!handle) > + return -EINVAL; > + > + flags = OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL > + | OSC_PCI_EXPRESS_NATIVE_HP_CONTROL > + | OSC_PCI_EXPRESS_PME_CONTROL; > + > + if (pcie_aer_get_firmware_first(port)) > + dev_dbg(&port->dev, "PCIe errors handled by BIOS.\n"); > + else if (pci_aer_available()) > + flags |= OSC_PCI_EXPRESS_AER_CONTROL; Is the debug message necessary even when AER is not available? At least current code doesn't output such strings when pci=noaer, since AER service driver is not loaded. if (pci_aer_available()) { if (pcie_aer_get_firmware_first(port)) dev_dbg(&port->dev, "PCIe errors handled by BIOS.\n"); else flags |= OSC_PCI_EXPRESS_AER_CONTROL; } Thanks, H.Seto -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html