Re: [PATCH v2] genirq: bug on inconstent flags and flow handler

From: Florian Fainelli
Date: Tue Aug 26 2014 - 19:54:38 EST

On 07/23/2014 12:14 PM, Florian Fainelli wrote:
> 2014-07-23 11:49 GMT-07:00 Thomas Gleixner <tglx@xxxxxxxxxxxxx>:
>> 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@xxxxxxxxx>
>>> ---
>>> 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.
> Works for me!
>> Lemme find V1 ....
> Here it is:

Thomas, do you want me to resubmit that change so you get a clean
submission in your inbox? Thanks
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at