Re: [PATCH] lib: update DEBUG_SHIRQ docs to match reality

From: Andy Shevchenko
Date: Sat Jun 13 2020 - 07:17:07 EST


On Fri, Jun 12, 2020 at 3:54 PM Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> There is no extra interrupt when registering a shared interrupt handler
> since 2011. Update the Kconfig text to make it clear and to avoid wrong
> assumptions when debugging issues found by it.
>

I'm not sure.
I have recently fixed a bug in the IIO sensor during ->probe() due to
an issued test interrupt exactly as soon as the handler is registered.

...

> - Enable this to generate a spurious interrupt as soon as a shared
> - interrupt handler is registered, and just before one is deregistered.
> - Drivers ought to be able to handle interrupts coming in at those
> - points; some don't and need to be caught.
> + Enable this to generate a spurious interrupt just before a shared
> + interrupt handler is deregistered (generating one when registering
> + is currently disabled). Drivers need to handle this correctly. Some
> + don't and need to be caught.

--
With Best Regards,
Andy Shevchenko