Re: [RFT][PATCH] PCI / ACPI: Do not require MSI support for PCIe native features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>:
> > > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux