From: Valmiki <valmikibow@gmail.com>
To: linux-pci@vger.kernel.org
Subject: Re: What is meant by chained interrupt handlers, when to use them.
Date: Mon, 21 Dec 2015 02:47:29 +0000 (UTC) [thread overview]
Message-ID: <loom.20151221T034553-263@post.gmane.org> (raw)
In-Reply-To: loom.20151220T112828-725@post.gmane.org
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
>
>
prev parent reply other threads:[~2015-12-21 2:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-20 10:30 What is meant by chained interrupt handlers, when to use them Valmiki
2015-12-21 2:47 ` Valmiki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20151221T034553-263@post.gmane.org \
--to=valmikibow@gmail.com \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox