[PATCH] irqchip/stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI
Linus Walleij
linus.walleij at linaro.org
Thu Apr 21 07:31:27 PDT 2022
On Fri, Apr 15, 2022 at 11:54 PM Marek Vasut <marex at denx.de> wrote:
> The stm32_gpio_get() should only be called for LEVEL triggered interrupts,
> skip calling it for EDGE triggered interrupts altogether to avoid wasting
> CPU cycles in EOI handler. On this platform, EDGE triggered interrupts are
> the majority and LEVEL triggered interrupts are the exception no less, and
> the CPU cycles are not abundant.
>
> Fixes: 47beed513a85b ("pinctrl: stm32: Add level interrupt support to gpio irq chip")
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Alexandre Torgue <alexandre.torgue at foss.st.com>
> Cc: Fabien Dessenne <fabien.dessenne at foss.st.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Marc Zyngier <maz at kernel.org>
> Cc: linux-stm32 at st-md-mailman.stormreply.com
> Cc: linux-arm-kernel at lists.infradead.org
> To: linux-gpio at vger.kernel.org
Patch applied!
But I changed the subject to pinctrl: stm32:
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list