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

From: Jesse Barnes
Date: Fri Dec 10 2010 - 16:21:18 EST


On Fri, 10 Dec 2010 21:18:49 +0000
Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:

> 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?

I'll fix it up (was just doing the build test now), thanks.

--
Jesse Barnes, Intel Open Source Technology Center
--
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/