ARM Sunxi Platform Development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Pablo Mazzini" <pmazzini@gmail.com>
Cc: linux-gpio@vger.kernel.org, linux-sunxi@lists.linux.dev
Subject: Re: [PATCH RESEND v3 1/3] pinctrl: sunxi: dt: number the IRQ banks from the first one that has IRQs
Date: Tue, 24 Nov 2026 22:07:16 +0000	[thread overview]
Message-ID: <sashiko-outbox-232083@kernel.org> (raw)
In-Reply-To: <20261124215048.42074-2-pmazzini@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] pinctrl: sunxi: missing Fixes trailers on IRQ bank numbering bug
  fix
--

commit 009a7489b930c20cbf9490a0cf310e0d4c449665
Author: Pablo Mazzini <pmazzini@gmail.com>

> pinctrl: sunxi: dt: number the IRQ banks from the first one that has IRQs
>
> prepare_function_table() numbers the IRQ banks from PA, even when PA
> has none. The static drivers number only the banks that have IRQs, and
> use irq_bank_map when the IRQ registers do not start at bank 0.
>
> Do the same here, and give the A523 and A733, whose IRQ registers
> start at PB, the map they need. Apply the map to the A733 register
> layout too, which so far ignored it. This also fixes PK on both, which
> was numbered 10 and written past the end of irq_array.
>
> Signed-off-by: Pablo Mazzini <pmazzini@gmail.com>

[Severity: Low]
This fixes IRQ bank numbering and out-of-bounds writes to irq_array on
A523 and A733.  Should it include Fixes: tags for the commits that
introduced these issues:

  Fixes: f5e2cd34b12f ("pinctrl: sunxi: allow reading mux values from DT")
  Fixes: 648be4cd9517 ("pinctrl: sunxi: Add support for the Allwinner A523")
  Fixes: 3fa025dfe1e7 ("pinctrl: sunxi: support A733 generation MMIO register layout")
  Fixes: 0535bfbfa97b ("pinctrl: sunxi: add support for the Allwinner A733")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261124215048.42074-1-pmazzini@gmail.com?part=1

  reply	other threads:[~2026-11-24 22:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 21:50 [PATCH RESEND v3 0/3] pinctrl: sunxi: number the IRQ banks from the first one that has IRQs Pablo Mazzini
2026-11-24 21:50 ` [PATCH RESEND v3 1/3] pinctrl: sunxi: dt: " Pablo Mazzini
2026-11-24 22:07   ` sashiko-bot [this message]
2026-11-24 21:50 ` [PATCH RESEND v3 2/3] dt-bindings: pinctrl: sun55i-a523: one interrupt per implemented bank Pablo Mazzini
2026-11-24 21:50 ` [PATCH RESEND v3 3/3] arm64: dts: allwinner: a523: drop the PA GPIO interrupt Pablo Mazzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-232083@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=pmazzini@gmail.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox