[PATCH] Better timer and RTC handling for 8641HPCN.

Zhang Wei-r63237 Wei.Zhang at freescale.com
Fri Mar 9 16:24:06 EST 2007


> 
> >>> Please use 80.
> >>> We reserve the first 16 ints for legacy 8259 interrupts. And we
> >>> want the
> >>> virq is the same value to hw-irq.
> >>
> >> Why?
> >
> > If the virq equals hw-irq, it's clear and simple to user.
> 
> I don't think that's a good reason to over allocate.
> 
> There's a reason we have virtual IRQs now.  Its specifically to deal  
> with issues like the 16 interrupts for 8259 and not have to do games  
> to offset IRQs.
> 
> If we needed create some debugfs or sysfs info that translates VIRQ  
> to HW irq
> 

I know that's the advantage of virtual IRQs. But in this platform, we
want to fix up the virq to hwirq and let users know which irq is coming
from which devices.

- z



More information about the Linuxppc-dev mailing list