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

H. Peter Anvin
2009-03-08T21:06:13Z

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.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.