On Fri, Apr 15, 2022 at 11:54 PM Marek Vasut <marex@xxxxxxx> 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@xxxxxxx> > Cc: Alexandre Torgue <alexandre.torgue@xxxxxxxxxxx> > Cc: Fabien Dessenne <fabien.dessenne@xxxxxxxxxxx> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> > Cc: Marc Zyngier <maz@xxxxxxxxxx> > Cc: linux-stm32@xxxxxxxxxxxxxxxxxxxxxxxxxxxx > Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx > To: linux-gpio@xxxxxxxxxxxxxxx Patch applied! But I changed the subject to pinctrl: stm32: Yours, Linus Walleij