QUERY: How to handle sharing of interrupt between different peripherals.

Viresh KUMAR viresh.kumar at st.com
Mon Mar 15 02:48:17 EDT 2010


On 3/15/2010 11:52 AM, Ben Dooks wrote:
> On Mon, Mar 15, 2010 at 02:18:45PM +0900, jassi brar wrote:
>> On Mon, Mar 15, 2010 at 1:37 PM, Viresh KUMAR <viresh.kumar at st.com> wrote:
>>> In our SOC (SPEArxxx), we have few peripherals which share common interrupt
>>> line.
>> how about set_irq_chained_handler ?
> 
> How about making drivers deal with shared irqs properly... most will, with
> a small amount of TLC support the usage of one interrupt line shared
> between more than one peripheral. PCs often share interrupts if the IRQ
> controller hasn't been put into an extended mode.
> 

I feel that is the correct way. Just need to send some patchs for exiting
drivers.




More information about the linux-arm-kernel mailing list