Re: [PATCH] irqchip/stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux