Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Peng Fan" <peng.fan@linux.dev>
Cc: imx@lists.linux.dev, Frank.Li@kernel.org
Subject: Re: [PATCH v2 6/8] irqchip/imx-intmux: Don't WARN on malformed interrupt specifiers
Date: Thu, 03 Dec 2026 09:46:29 +0000	[thread overview]
Message-ID: <sashiko-outbox-247497@kernel.org> (raw)
In-Reply-To: <20261203-imx-intmux-v2-6-a6db1eed3b5f@nxp.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] irqchip/imx-intmux: missing Fixes trailer for commit
  2fbb13961e74
--

commit 14870f9b46fe1eda35fb46aa8429184e92a348d1
Author: Peng Fan <peng.fan@nxp.com>

> irqchip/imx-intmux: Don't WARN on malformed interrupt specifiers
>
> The xlate callback validates the interrupt specifier cells, but uses
> WARN_ON() for checks that can be triggered by user-supplied device tree
> data. A malformed specifier is an expected, recoverable error, so the
> WARN only floods the log.
>
> Return -EINVAL without the splat. Also reject source numbers beyond the
> 32 inputs of a channel instead of letting the association hit the WARN
> in irq_domain_associate_locked().
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

[Severity: Low]
This fixes the xlate validation bugs introduced with the original driver.
Should this include:

  Fixes: 2fbb13961e74 ("irqchip: Add NXP INTMUX interrupt multiplexer support")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-imx-intmux-v2-0-a6db1eed3b5f@nxp.com?part=6

  reply	other threads:[~2026-12-03  9:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  9:29 [PATCH v2 0/8] irqchip/imx-intmux: Fix and modernize resource management Peng Fan
2026-12-03  9:29 ` [PATCH v2 1/8] irqchip/imx-intmux: Don't create parent mappings while counting channels Peng Fan
2026-12-03  9:52   ` sashiko-bot
2026-12-03  9:29 ` [PATCH v2 2/8] irqchip/imx-intmux: Dispose IRQ mappings on remove Peng Fan
2026-12-03  9:29 ` [PATCH v2 3/8] irqchip/imx-intmux: Fix probe error path Peng Fan
2026-12-03  9:50   ` sashiko-bot
2026-12-03  9:29 ` [PATCH v2 4/8] irqchip/imx-intmux: Reject zero channel count Peng Fan
2026-12-03  9:29 ` [PATCH v2 5/8] irqchip/imx-intmux: Mark input interrupts as level-triggered Peng Fan
2026-12-03  9:40   ` sashiko-bot
2026-12-03  9:29 ` [PATCH v2 6/8] irqchip/imx-intmux: Don't WARN on malformed interrupt specifiers Peng Fan
2026-12-03  9:46   ` sashiko-bot [this message]
2026-12-03  9:29 ` [PATCH v2 7/8] irqchip/imx-intmux: Use devm_irq_domain_create_linear() Peng Fan
2026-12-03  9:29 ` [PATCH v2 8/8] irqchip/imx-intmux: Factor out imx_intmux_teardown_channel() Peng Fan

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-247497@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=peng.fan@linux.dev \
    --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