lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdUL0vd16C6=pr8UQV3+t2E0fJLqgtUWgm908VEsCYkyiw@mail.gmail.com>
Date: Mon, 12 May 2025 11:42:07 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Emanuele Ghidoli <ghidoliemanuele@...il.com>
Cc: Andy Shevchenko <andriy.shevchenko@...el.com>, Francesco Dolcini <francesco@...cini.it>, 
	Linus Walleij <linus.walleij@...aro.org>, Bartosz Golaszewski <brgl@...ev.pl>, 
	Emanuele Ghidoli <emanuele.ghidoli@...adex.com>, linux-gpio@...r.kernel.org, 
	linux-kernel@...r.kernel.org, Marek Vasut <marek.vasut@...il.com>, 
	stable@...r.kernel.org, Francesco Dolcini <francesco.dolcini@...adex.com>
Subject: Re: [PATCH v2] gpio: pca953x: fix IRQ storm on system wake up

Hi Emanuele,

On Mon, 12 May 2025 at 11:38, Emanuele Ghidoli
<ghidoliemanuele@...il.com> wrote:
> On 12/05/2025 11:23, Andy Shevchenko wrote:
> > On Mon, May 12, 2025 at 11:17:48AM +0200, Geert Uytterhoeven wrote:
> >> On Fri, 9 May 2025 at 16:18, Francesco Dolcini <francesco@...cini.it> wrote:
> >>> An irq can be disabled with disable_irq() and still wake the system as
> >>> long as the irq has wake enabled, so the wake-up functionality is
> >>> preserved.
> >
> > ...
> >
> >> While this does not cause the regression seen on Salvator-XS with
> >> the earlier approach[1], I expect this will break using a GPIO as a
> >> wake-up source?
> >
> > Good point! Have this code been checked for that kind of scenarios?
> >
> >> [1] https://lore.kernel.org/linux-gpio/CAMuHMdVnKX23yi7ir1LVxfXAMeeWMFzM+cdgSSTNjpn1OnC2xw@mail.gmail.com
> >
> Yes, I tested this specific scenario with its GPIOs as wake-up sources, and it
> worked as expected. I already included the note in the commit message.

Sorry, I missed that.

Then I have no objections from my side.

Tested-by: Geert Uytterhoeven <geert+renesas@...der.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ