From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Jesse Barnes <jbarnes@virtuousgeek.org>,
Matthew Garrett <mjg@redhat.com>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ACPI: Disable ASPM if the platform won't provide _OSC control for PCIe
Date: Tue, 22 Jun 2010 20:42:14 +0200 [thread overview]
Message-ID: <201006222042.14774.rjw@sisk.pl> (raw)
In-Reply-To: <20100622112908.4122ceb2@virtuousgeek.org>
On Tuesday, June 22, 2010, Jesse Barnes wrote:
> On Tue, 22 Jun 2010 20:17:29 +0200
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
> > On Tuesday, June 22, 2010, Matthew Garrett wrote:
> > > The PCI SIG documentation for the _OSC OS/firmware handshaking interface
> > > states:
> > >
> > > "If the _OSC control method is absent from the scope of a host bridge
> > > device, then the operating system must not enable or attempt to use any
> > > features defined in this section for the hierarchy originated by the host
> > > bridge."
> > >
> > > The obvious interpretation of this is that the OS should not attempt to use
> > > PCIe hotplug, PME or AER - however, the specification also notes that an
> > > _OSC method is *required* for PCIe hierarchies, and experimental validation
> > > with An Alternative OS indicates that it doesn't use any PCIe functionality
> > > if the _OSC method is missing. That arguably means we shouldn't be using
> > > MSI or extended config space, but right now our problems seem to be limited
> > > to vendors being surprised when ASPM gets enabled on machines when other
> > > OSs refuse to do so. So, for now, let's just disable ASPM if the _OSC
> > > method doesn't exist or refuses to hand over PCIe capability control.
> > >
> > > Signed-off-by: Matthew Garrett <mjg@redhat.com>
> >
> > Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
>
> Applied to my linux-next branch, thanks.
I think it's 2.6.35 (and probably -stable) material, these problems aleady
happen in the field.
Matthew, what do you think?
Rafael
next prev parent reply other threads:[~2010-06-22 18:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-22 15:25 [PATCH] ACPI: Disable ASPM if the platform won't provide _OSC control for PCIe Matthew Garrett
2010-06-22 18:17 ` Rafael J. Wysocki
2010-06-22 18:29 ` Jesse Barnes
2010-06-22 18:42 ` Rafael J. Wysocki [this message]
2010-06-22 18:47 ` Matthew Garrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201006222042.14774.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mjg@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox