Re: [PATCH] Import updates from i386's i8259.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 07, 2006 at 03:03:48PM +0000, Maciej W. Rozycki wrote:

> >    It's not really related as 8259 is programmed to generate vectors 0x20 to
> > 0x2F for x86 but the the IRQs start from zero anyway...
> 
>  In Linux most platforms define IRQ numbers in the sense of physical lines 
> (or wires if you prefer) routed to inputs of interrupt controllers rather 
> than vectors which may or may not be used by a given platform (and to 
> complicate things further, the presence of which may be 
> software-configurable).  Of course if a message passing concept is used 
> for interrupt delivery (be it a simple chain or a more complicated 
> protocol), then a different numbering scheme may be required and exposing 
> vectors may be a necessity.
> 
>  Even with the i8259A there is no need to use its vector at all if the 
> processor being interrupted does not issue INTA cycles itself.

The Jazz family and the RM200 have registers to perform interrupt
acknowledge cycles.  Linux doesn't use it on the RM200 because of a funny
PCI ASIC bug which may cause certain interrupts getting lost until the
PIC is fully initialized.  I never looked into the details since the
SNI recommendation was to just avoid that feature.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux