Re: Lost PCIe PME after a914ff2d78ce ("PCI/ASPM: Don't select CONFIG_PCIEASPM by default")

From: Matthew Garrett
Date: Fri May 29 2020 - 18:58:07 EST


On Sat, May 30, 2020 at 12:26:17AM +0200, Heiner Kallweit wrote:

> Current situation means that PME is unusable on all systems where
> pcie_aspm_support_enabled() returns false, what is basically every
> system except EXPERT mode is enabled and CONFIG_PCIEASPM is set.
> So we definitely need to do something.

CONFIG_PCIEASPM is default y. I don't think there's huge value in
adding complexity to deal with it being disabled, given that the kernel
is then in a configuration that no vendor is testing against. There are
existing runtime mechanisms to disable it at runtime.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx