lkml.org 
[lkml]   [2011]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFT][PATCH] PCI / ACPI: Do not require MSI support for PCIe native features
On Thu, Mar 17, 2011 at 10:22:33PM +0100, Rafael J. Wysocki wrote:
> On Thursday, March 17, 2011, Yinghai Lu wrote:
> > 2011/3/16 Rafael J. Wysocki <rjw@sisk.pl>:
> > > On Tuesday, March 15, 2011, Sarah Sharp wrote:
> > >> On Tue, Mar 15, 2011 at 01:00:17AM +0100, Rafael J. Wysocki wrote:
> > >> > Well, I must admit I have no idea what the problem is. OK, in addition to the
> > >> > above changes, please replace the "pci_ext_cfg_avail(root->bus->self)" in the
> > >> > same file with "true" and see if _that_ helps.
> > >>
> > >> Yay, that worked! dmesg is attached.
> > >
> > > Good, at least we know what the problem is, now we only have to find the root
> > > cause. ;-)
> > >
> > > So, pci_ext_cfg_avail(root->bus->self) returns 0 on your machine, which is kind
> > > of unexpected (to put it lightly), so very likely we have uncovered a bug
> > > in the init code.
> > >
> > > Unfortunately, I may not be able to take care of this issue for the next few
> > > days, I'll let you know when I get back to it.
> >
> > her .config does not define PCI_MMCONFIG
> >
> > #
> > # Bus options (PCI etc.)
> > #
> > CONFIG_PCI=y
> > CONFIG_PCI_DIRECT=y
> > # CONFIG_PCI_MMCONFIG is not set
>
> Ah, good catch, thanks!
>
> @Sarah: you need to set that for PCI Express to work in general.

Oh, man, sorry to cause so much work to figure that out. :) I'll
compile with that set and see if it helps. Not sure why that config
worked on 2.6.37, but not 2.6.38. I usually just run `make -j4` with
the old .config and basically pick the defaults, except for turning on
the occasional new USB device driver.

Sarah Sharp


\
 
 \ /
  Last update: 2011-03-17 22:59    [W:0.684 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site