]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PCI/ACPI: Correct error message for ASPM disabling
authorSinan Kaya <okaya@kernel.org>
Fri, 10 Aug 2018 04:32:11 +0000 (04:32 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:16:39 +0000 (13:16 +0100)
commitf8a99ee62238d93a71d56bc0bf047824f14b2757
tree5b43cfa467ae890804317c65f564ee89593f7939
parent5ec8d23d6dee980cf2415bea0453b3c3b335cde1
PCI/ACPI: Correct error message for ASPM disabling

BugLink: https://bugs.launchpad.net/bugs/1853915
[ Upstream commit 1ad61b612b95980a4d970c52022aa01dfc0f6068 ]

If _OSC execution fails today for platforms without an _OSC entry, code is
printing a misleading message saying disabling ASPM as follows:

  acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM

We need to ensure that platform supports ASPM to begin with.

Reported-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/acpi/pci_root.c