PCI Probe Question
Greg KH
gregkh at us.ibm.com
Wed Jan 28 08:05:29 EST 2004
On Tue, Jan 27, 2004 at 02:52:50PM -0600, John Rose wrote:
> Hi Greg-
>
> Thanks for responding. I think Paul answered your other questions
> better than I could have :)
>
> > How do you all handle this in your boot up code then?
>
> Not sure I understand what you're asking, but I believe that the
> hypervisor only allows access (during scan of the PHB device) to the
> devfn's corresponding to the slots that your partition currently owns.
But doesn't the ppc64 start up code eventually call pci_scan_slot()? I
haven't looked through your startup code to determine this or not.
> > If you convince me you really have to do this, why duplicate the
> > existing pci code in your driver? How about just creating a
> > pci_scan_single_device() function for the pci core that does that logic
> > (and make pci_scan_slot() call it.)
>
> Agreed. I initially wanted to minimize my changes to generic code, but
> this looks better. How's this patch?
How about a patch against a clean kernel so I can see it better? :)
thanks,
greg k-h
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list