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

From: Rafael J. Wysocki
Date: Thu Mar 17 2011 - 17:22:49 EST


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.

Thanks,
Rafael
--
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/