linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: avictor.za@gmail.com (Andrew Victor)
To: linux-arm-kernel@lists.infradead.org
Subject: AT91: Convert to fasteoi IRQ handler, and remove ARM irq_finish
Date: Thu, 28 Apr 2011 19:12:23 +0200	[thread overview]
Message-ID: <BANLkTimUPfo0kMn3HPa5iZUO5g_b6rVKcA@mail.gmail.com> (raw)
In-Reply-To: <20110428151819.GE13755@siel.b>

hi,

>> - ? ? desc->irq_data.chip->irq_unmask(&desc->irq_data);
>> - ? ? /* now it may re-trigger */
>> + ? ? /* acknowledge interrupt - now it may re-trigger */
>> + ? ? desc->irq_data.chip->irq_eoi(&desc->irq_data);
>> ?}
>
> why does this handler mess with the parent irq chip ?
> this looks pretty wrong to me.

This is a chained-handler, and without that line the end-of-interrupt
doesn't seem to be signalled.


Regards,
  Andrew Victor

  reply	other threads:[~2011-04-28 17:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 13:09 AT91: Convert to fasteoi IRQ handler, and remove ARM irq_finish Andrew Victor
2011-04-28  9:33 ` Jean-Christophe PLAGNIOL-VILLARD
2011-04-28 15:18 ` torbenh
2011-04-28 17:12   ` Andrew Victor [this message]
2011-04-28 19:24     ` Sebastian Andrzej Siewior
2011-04-28 19:48       ` Thomas Gleixner
2011-04-28 20:20         ` Sebastian Andrzej Siewior
2011-04-28 20:03       ` Andrew Victor
2011-04-29  8:22         ` Sebastian Andrzej Siewior

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=BANLkTimUPfo0kMn3HPa5iZUO5g_b6rVKcA@mail.gmail.com \
    --to=avictor.za@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).