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: <CAMRc=MeEQi0rnr-mA1bsvAZu-NxqKp2Rjg9x9HYaSbuWY1seiQ@mail.gmail.com>
Date: Tue, 8 Apr 2025 18:59:15 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Alex Elder <elder@...cstar.com>
Cc: Yixun Lan <dlan@...too.org>, Linus Walleij <linus.walleij@...aro.org>, 
	Thomas Gleixner <tglx@...utronix.de>, Inochi Amaoto <inochiama@...il.com>, linux-kernel@...r.kernel.org, 
	linux-gpio@...r.kernel.org, linux-riscv@...ts.infradead.org, 
	spacemit@...ts.linux.dev
Subject: Re: [PATCH v4] gpiolib: support parsing gpio three-cell interrupts scheme

On Tue, Apr 8, 2025 at 6:05 PM Alex Elder <elder@...cstar.com> wrote:
>
> On 4/8/25 10:11 AM, Yixun Lan wrote:
> > gpio irq which using three-cell scheme should always call
> > instance_match() function to find the correct irqdomain.
> >
> > The select() function will be called with !DOMAIN_BUS_ANY,
> > so for specific gpio irq driver, it need to set bus token
> > explicitly, something like:
> >    irq_domain_update_bus_token(girq->domain, DOMAIN_BUS_WIRED);
> >
> > Signed-off-by: Yixun Lan <dlan@...too.org>
> > ---
> > In this patch [1], the GPIO controller add support for describing
> > hardware with a three-cell scheme:
> >
> >      gpios = <&gpio instance offset flags>;
> >
> > It also result describing interrupts in three-cell as this in DT:
> >
> >      node {
> >              interrupt-parent = <&gpio>;
> >              interrupts = <instance hwirq irqflag>;
> >      }
> >
> > This series try to extend describing interrupts with three-cell scheme.
> >
> > The first patch will add capability for parsing irq number and flag
> > from last two cells which eventually will support the three-cells
> > interrupt, the second patch support finding irqdomain according to
> > interrupt instance index.
>
> Did you intend to send more than just one patch?        -Alex
>

That's alright, the original series was 2 patches, Thomas picked up
the first and now I'm taking the second through the GPIO tree.

Bart

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ