[patch 4/4] RFC: PCI: consolidate several pcibios_enable_resources() implementations
Ivan Kokshaysky
ink at jurassic.park.msu.ru
Wed Feb 20 04:08:15 EST 2008
On Tue, Feb 19, 2008 at 09:11:55AM -0700, Bjorn Helgaas wrote:
> > That is, whatever the arch code decides to use to decide whether
> > resources are assigned by firmware or by the first pass assignment code
> > or not and collide or not, once that phase is finished (which is the
> > case when calling pcibios_enable_device(), having the resource in the
> > resource-tree or not is, I believe, the proper way to test whether it's
> > a useable resource.
>
> So should x86 adopt that collision check?
Yes, and other arches as well, I believe.
> I don't hear anything about
> actual architecture differences that are behind this implementation
> difference.
On ppc64 "0" can be a valid value for resource start, as far as I know.
Ivan.
More information about the Linuxppc-dev
mailing list