Bug 52531

Summary: Unify pcibios_resource_survey(), etc
Product: Drivers Reporter: Bjorn Helgaas (bjorn)
Component: PCIAssignee: Yinghai Lu (yinghai)
Status: NEW ---    
Severity: normal CC: bjorn
Priority: P1    
Hardware: All   
OS: Linux   
URL: http://lkml.kernel.org/r/CAErSpo5Z57asEXbfesOjXMEPj4WM3YMbzQH3s-v_NBrnPNmuVQ@mail.gmail.com
Kernel Version: 3.8-rc2 Subsystem:
Regression: No Bisected commit-id:

Description Bjorn Helgaas 2013-01-09 18:31:54 UTC
pcibios_resource_survey(), pcibios_assign_resources(),
pcibios_allocate_resources(), and pcibios_allocate_bus_resources() were 
originally copied from x86 to frv, microblaze, mn10300,
and powerpc.

Pending changes from Yinghai (see URL above) add functionality and
change interfaces in the x86 version but not the other arches.  This
bugzilla is a reminder to make them all consistent again later.

One old example is commit 575939cf5 back in 2009, which added some SR-IOV
support to x86.  Similar changes should be made to at least the other
architectures listed above.