On Wed, Jun 3, 2020 at 2:15 PM Yicong Yang <yangyicong@xxxxxxxxxxxxx> wrote: > > Previously the _OSC failed message is rather confusing, as if we > forcibly enable ASPM by set pcie_aspm=force, we'll get the message > below, which doesn't the reflect the real status. > > acpi PNP0A08:02: _OSC failed (AE_NOT_FOUND); disabling ASPM > > Reword the _OSC failure message and remove the ASPM text to make > it clear. As if _OSC failed we're not supposed to take over any > PCIe features including ASPM. After the Patch it'll look like: > > acpi PNP0A08:02: _OSC: platform retains control of PCIe features (AE_NOT_FOUND) > > No functional change intended. > > Suggested-by: Bjorn Helgaas <helgaas@xxxxxxxxxx> > Signed-off-by: Yicong Yang <yangyicong@xxxxxxxxxxxxx> > Reviewed-by: Sinan Kaya <okaya@xxxxxxxxxx> This is a Bjorn's patch to which you have added a changelog and posted as yours. It is not OK to do things like that. > --- > drivers/acpi/pci_root.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c > index ac8ad6c..8dd7f14 100644 > --- a/drivers/acpi/pci_root.c > +++ b/drivers/acpi/pci_root.c > @@ -454,9 +454,8 @@ static void negotiate_os_control(struct acpi_pci_root *root, int *no_aspm, > if ((status == AE_NOT_FOUND) && !is_pcie) > return; > > - dev_info(&device->dev, "_OSC failed (%s)%s\n", > - acpi_format_exception(status), > - pcie_aspm_support_enabled() ? "; disabling ASPM" : ""); > + dev_info(&device->dev, "_OSC: platform retains control of PCIe features (%s)\n", > + acpi_format_exception(status)); > return; > } > > @@ -517,7 +516,7 @@ static void negotiate_os_control(struct acpi_pci_root *root, int *no_aspm, > } else { > decode_osc_control(root, "OS requested", requested); > decode_osc_control(root, "platform willing to grant", control); > - dev_info(&device->dev, "_OSC failed (%s); disabling ASPM\n", > + dev_info(&device->dev, "_OSC: platform retains control of PCIe features (%s)\n", > acpi_format_exception(status)); > > /* > -- > 2.8.1 > > . >