Thread (19 messages) 19 messages, 4 authors, 2011-03-22

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

From: Sarah Sharp <hidden>
Date: 2011-03-17 21:56:19
Also in: lkml

On Thu, Mar 17, 2011 at 10:22:33PM +0100, Rafael J. Wysocki wrote:
On Thursday, March 17, 2011, Yinghai Lu wrote:
quoted
2011/3/16 Rafael J. Wysocki [off-list ref]:
quoted
On Tuesday, March 15, 2011, Sarah Sharp wrote:
quoted
On Tue, Mar 15, 2011 at 01:00:17AM +0100, Rafael J. Wysocki wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help