pci32 code - early_*config*

Roderick Colenbrander thunderbird2k at gmail.com
Fri Apr 17 18:03:52 EST 2009


On Fri, Apr 17, 2009 at 9:25 AM, Benjamin Herrenschmidt
<benh at kernel.crashing.org> wrote:
> On Wed, 2009-04-15 at 01:17 -0500, Kumar Gala wrote:
>> Ben,
>>
>> I was looking at what I need to get some additional bits of PCI code
>> building w/your ppc64 booke patches.  One thing it looks like we need
>> is the early config cycle code.  The question I have is do we think we
>> still need the null_ops support?  Also do we think we every get called
>> with a NULL hose?
>>
>> This is fake_pci_bus() in arch/powerpc/kernel/pci_32.c
>
> Hrm.
>
> I'm not fan of the early config stuff, remind me why we need it ?
>
> Ben.
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>

There are cases when it is really needed (or you would have to access
the address and data bus by hand). In my case I'm using a Xilinx PLB
soft-core and if certain options in the configuration header aren't
set (which aren't set by default) the soft-core is basically disabled.
Cases like this look like valid cases in which early config should be
used.

Roderick Colenbrander



More information about the Linuxppc-dev mailing list