* What is meant by chained interrupt handlers, when to use them.
@ 2015-12-20 10:30 Valmiki
2015-12-21 2:47 ` Valmiki
0 siblings, 1 reply; 2+ messages in thread
From: Valmiki @ 2015-12-20 10:30 UTC (permalink / raw)
To: linux-pci
I'm seeing that chained_irq_enter/exit functions are being used in cained
irq handlers.
These chained_irq_enter/exit functions are doing ack, mask, unmask
functions from irq chip.
Already when an interrupt handler is being executed that IRQ line will be
disabled by linux, so what is the purpose of masking/unmasking them.
What is term chained referring to, does it mean reading interrupt status
register and check for bit set one after and another handle that
corresponding IRQ, so in a chain fashion.
Valmiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: What is meant by chained interrupt handlers, when to use them.
2015-12-20 10:30 What is meant by chained interrupt handlers, when to use them Valmiki
@ 2015-12-21 2:47 ` Valmiki
0 siblings, 0 replies; 2+ messages in thread
From: Valmiki @ 2015-12-21 2:47 UTC (permalink / raw)
To: linux-pci
Valmiki <valmikibow <at> gmail.com> writes:
>
> I'm seeing that chained_irq_enter/exit functions are being used in
cained
> irq handlers.
>
> These chained_irq_enter/exit functions are doing ack, mask, unmask
> functions from irq chip.
> Already when an interrupt handler is being executed that IRQ line will
be
> disabled by linux, so what is the purpose of masking/unmasking them.
>
> What is term chained referring to, does it mean reading interrupt
status
> register and check for bit set one after and another handle that
> corresponding IRQ, so in a chain fashion.
When we use irq_set_chained_handler the irq line will not be disabled,
unlike request_irq ?
If that is the case calling chained_irq_enter which does mask/unmask to
only current irq line, but i see in some pcie root port drivers after
calling this they are handling all the available interrupts but only one
is masked ? Is this method correct ?
>
> Valmiki
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-21 2:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-20 10:30 What is meant by chained interrupt handlers, when to use them Valmiki
2015-12-21 2:47 ` Valmiki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox