From: Jason Cooper <jason@lakedaemon.net>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Florian Fainelli <f.fainelli@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] genirq: bug on inconstent flags and flow handler
Date: Wed, 23 Jul 2014 19:12:01 -0400 [thread overview]
Message-ID: <20140723231201.GJ23220@titan.lakedaemon.net> (raw)
In-Reply-To: <alpine.DEB.2.10.1407232048240.23352@nanos>
On Wed, Jul 23, 2014 at 08:49:46PM +0200, Thomas Gleixner wrote:
> On Wed, 23 Jul 2014, Florian Fainelli wrote:
>
> > It is currently possible for a generic irq chip driver to set IRQ_LEVEL
> > and have its irq flow handler be handle_edge_irq. Setting IRQ_LEVEL in
> > such a case does not make sense, and will actually prevent e.g: the
> > software resend logic from kicking, and potential other problems too.
> >
> > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> > ---
> > Changes in v2:
> > - replaced WARN_ON() with BUG_ON() since we really don't want to continue
> > as suggested by Jason Cooper
>
> I disagree here. It's not a reason take the machine down. Its good
> enough to WARN. That keeps the machine alive and lets us debug that
> stuff.
Sure, I have no strong opinion either way. On irc I mentioned that this
condition would most likely only arise when porting to a new SoC, so a
kernel developer that will know what to do.
I know for me personally, I need to be stopped mid-track and forced to
pay attention to something like this. Otherwise, I'll forget and debug
for hours... :-)
thx,
Jason.
prev parent reply other threads:[~2014-07-23 23:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-23 18:45 Florian Fainelli
2014-07-23 18:49 ` Thomas Gleixner
2014-07-23 19:14 ` Florian Fainelli
2014-08-26 23:54 ` Florian Fainelli
2014-08-27 7:49 ` Thomas Gleixner
2014-07-23 23:12 ` Jason Cooper [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=20140723231201.GJ23220@titan.lakedaemon.net \
--to=jason@lakedaemon.net \
--cc=f.fainelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®