linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* swizzling pci irqs
@ 2006-03-22 20:59 David Updegraff
  2006-03-22 22:28 ` Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: David Updegraff @ 2006-03-22 20:59 UTC (permalink / raw)
  To: linuxppc-embedded

Hi.

If there were a noswizzle option to the kernel command line that
resulted in pci scan simply trusting that the bootrom/u-boot had already
correctly assigned the PCI irqs....  every tom,dick,harry, and
yours-truly wouldn't have to make a new platform to define the
swizzle-o-the-day.  Or have I already missed this argument?

-dbu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: swizzling pci irqs
  2006-03-22 20:59 swizzling pci irqs David Updegraff
@ 2006-03-22 22:28 ` Kumar Gala
  2006-03-23 16:40   ` David Updegraff
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2006-03-22 22:28 UTC (permalink / raw)
  To: David Updegraff; +Cc: linuxppc-embedded


On Mar 22, 2006, at 2:59 PM, David Updegraff wrote:

> Hi.
>
> If there were a noswizzle option to the kernel command line that
> resulted in pci scan simply trusting that the bootrom/u-boot had  
> already
> correctly assigned the PCI irqs....  every tom,dick,harry, and
> yours-truly wouldn't have to make a new platform to define the
> swizzle-o-the-day.  Or have I already missed this argument?

Sure, I do this now.  Just don't build pci_auto into your pci support  
and don't explicitly rescan in your pci setup.  The 83xx pci code  
under arch/powerpc should effective do this.

- kumar

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: swizzling pci irqs
  2006-03-22 22:28 ` Kumar Gala
@ 2006-03-23 16:40   ` David Updegraff
  2006-03-23 17:15     ` Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: David Updegraff @ 2006-03-23 16:40 UTC (permalink / raw)
  To: linuxppc-embedded

Kumar Gala wrote:
> On Mar 22, 2006, at 2:59 PM, David Updegraff wrote:
> 
> 
>>Hi.
>>
>>If there were a noswizzle option to the kernel command line that
>>resulted in pci scan simply trusting that the bootrom/u-boot had  
>>already
>>correctly assigned the PCI irqs....  every tom,dick,harry, and
>>yours-truly wouldn't have to make a new platform to define the
>>swizzle-o-the-day.  Or have I already missed this argument?
> 
> 
> Sure, I do this now.  Just don't build pci_auto into your pci support  
> and don't explicitly rescan in your pci setup.  The 83xx pci code  
> under arch/powerpc should effective do this.
> 
> - kumar

Hmm; I must be missing something...  cuz to me it looks like pci_32.c
will allways call pcibios_init, which will will scan the bus, which will
swizzle irqs if the platform has non-null swizzle and map_irq function
pointers defined..  Perhaps a setting I've missed somewhere re.
'pci_auto', which I thought was a 'ppc' thing, not a 'powerpc' thing..??

-dbu.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: swizzling pci irqs
  2006-03-23 16:40   ` David Updegraff
@ 2006-03-23 17:15     ` Kumar Gala
  0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2006-03-23 17:15 UTC (permalink / raw)
  To: David Updegraff; +Cc: linuxppc-embedded


On Mar 23, 2006, at 10:40 AM, David Updegraff wrote:

> Kumar Gala wrote:
>> On Mar 22, 2006, at 2:59 PM, David Updegraff wrote:
>>
>>
>>> Hi.
>>>
>>> If there were a noswizzle option to the kernel command line that
>>> resulted in pci scan simply trusting that the bootrom/u-boot had
>>> already
>>> correctly assigned the PCI irqs....  every tom,dick,harry, and
>>> yours-truly wouldn't have to make a new platform to define the
>>> swizzle-o-the-day.  Or have I already missed this argument?
>>
>>
>> Sure, I do this now.  Just don't build pci_auto into your pci support
>> and don't explicitly rescan in your pci setup.  The 83xx pci code
>> under arch/powerpc should effective do this.
>>
>> - kumar
>
> Hmm; I must be missing something...  cuz to me it looks like pci_32.c
> will allways call pcibios_init, which will will scan the bus, which  
> will
> swizzle irqs if the platform has non-null swizzle and map_irq function
> pointers defined..  Perhaps a setting I've missed somewhere re.
> 'pci_auto', which I thought was a 'ppc' thing, not a 'powerpc'  
> thing..??

Ahh, why do you have swizzle and map_irq functions?  I guess I forgot  
that part.  In my setup I have u-boot do all IRQ assignment (via PCI  
IRQ line register) as well as all BAR config.  I just leave swizzle  
and map_irq null.

- kumar

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-23 17:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 20:59 swizzling pci irqs David Updegraff
2006-03-22 22:28 ` Kumar Gala
2006-03-23 16:40   ` David Updegraff
2006-03-23 17:15     ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).