Re: [PATCH] x86/pci: try to detect host_bridge pci_cfg_space

Yinghai Lu
2009-03-08T21:12:13Z

H. Peter Anvin wrote:
> Matthew Wilcox wrote:
>> On Sun, Mar 08, 2009 at 12:04:37PM +0100, Ingo Molnar wrote:
>>> I'd also suggest to flip around the subject line from x86/pci to
>>> pci/x86 - it's more of a PCI patch than a pure x86 patch. The
>>> same problem could affect other platforms too i suspect.
>> Not all platforms expose the root bridge in PCI configuration space.
>> Intel ia64 platforms do have a materialised root bridge; HP's don't.
>> (I don't know whether Intel ship any PCIe ia64 machines or not). I
>> don't remember details for other platforms, but I think Intel is the odd
>> one out in this regard.
>>
>
> It's still generic PCI code, however. If there is no host bridge
> exposed in PCI space, the patch is a noop.

ok, will split that patch to two
1. one touch pci.c
2. and one touch x86/pci.

YH