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

jassi brar jassisinghbrar at gmail.com
Mon Mar 15 02:50:24 EDT 2010


On Mon, Mar 15, 2010 at 3:44 PM, Viresh KUMAR <viresh.kumar at st.com> wrote:
> On 3/15/2010 10:48 AM, 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 ?
>
> I think it is not for this purpose. Better to use IRQF_SHARED in normal
> request_irq. what do you say?
Of course, that is preferred if possible, as Ben already suggested.
Btw, is your case not similar to having a common UART interrupt for
Uart-Rx,Tx,Err irq ?



More information about the linux-arm-kernel mailing list