Re: [PATCH v2] PCI: Disable ASPM if BIOS asks us to

From: Matthew Garrett
Date: Fri Dec 10 2010 - 16:19:00 EST


On Fri, Dec 10, 2010 at 01:07:19PM -0800, Jesse Barnes wrote:
> On Mon, 6 Dec 2010 14:00:56 -0500
> Matthew Garrett <mjg@xxxxxxxxxx> wrote:
>
> > We currently refuse to touch the ASPM registers if the BIOS tells us that
> > ASPM isn't supported. This can cause problems if the BIOS has (for any
> > reason) enabled ASPM on some devices anyway. Change the code such that we
> > explicitly clear ASPM if the FADT indicates that ASPM isn't supported,
> > and make sure we tidy up appropriately on device removal in order to deal
> > with the hotplug case. If ASPM is disabled because the BIOS doesn't hand
> > over control then we won't touch the registers.
> >
> > Signed-off-by: Matthew Garrett <mjg@xxxxxxxxxx>
> > ---
> >
>
> Applied to linux-next, thanks.

Agh. It seems I sent the wrong version - there's a missing e in
pci_clear_aspm. Can you fix that up, or should I resend?

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/