OSDN Git Service

PCI/ACPI: Clarify message about _OSC failure
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Jun 2020 21:42:33 +0000 (16:42 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 27 Jan 2021 15:38:36 +0000 (09:38 -0600)
commit508d392ae0bb3729d4c18628e021968a1b11b32c
tree8a7f363cb66dc9896f861b5566b631efc6356e4c
parent866e61fc40c96e7adba62c9e149e96912b10663c
PCI/ACPI: Clarify message about _OSC failure

This message:

  acpi PNP0A08:02: _OSC failed (AE_NOT_FOUND); disabling ASPM

is alarming and slightly misleading.  Per the PCI Firmware Spec, r3.2, sec
4.5.1, _OSC is required for PCIe hierarchies.  If _OSC is absent or fails,
the OS must not attempt to use any of the features defined for _OSC.  That
includes native hotplug, native PME, AER, and other things as well as ASPM.

Rephrase the message to:

  acpi PNP0A08:02: _OSC: platform retains control of PCIe features (AE_NOT_FOUND)

Previous discussion at https://lore.kernel.org/r/20200602223618.GA845676@bjorn-Precision-5520/

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Yicong Yang <yangyicong@hisilicon.com>
drivers/acpi/pci_root.c