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 5/8] irqchip/imx-intmux: Mark input interrupts as level-triggered
Date: Thu, 03 Dec 2026 09:40:29 +0000	[thread overview]
Message-ID: <sashiko-outbox-247488@kernel.org> (raw)
In-Reply-To: <20261203-imx-intmux-v2-5-a6db1eed3b5f@nxp.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] irqchip/imx-intmux: commit log misattributes check_irq_resend()
  to IRQD_LEVEL
--

commit 7a64757a768c2c210172b6139603d2d7083d4d4c
Author: Peng Fan <peng.fan@nxp.com>

irqchip/imx-intmux: Mark input interrupts as level-triggered

This commit sets the IRQ_LEVEL status flag on mapped interrupts in
imx_intmux_irq_map().

> The child interrupts are handled by handle_level_irq() and xlate()
> advertises IRQ_TYPE_LEVEL_HIGH, but the descriptors are not marked
> IRQ_LEVEL. Apart from the inconsistency, the flag feeds IRQD_LEVEL,
> which makes check_irq_resend() skip replaying level interrupts.

[Severity: Low]
Is the commit message accurate about what check_irq_resend() inspects?

irq_modify_status() sets _IRQ_LEVEL in desc->status_use_accessors and
separately mirrors it into IRQD_LEVEL on desc->irq_data.
check_irq_resend() checks irq_settings_is_level(desc), which tests
_IRQ_LEVEL directly rather than IRQD_LEVEL.

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

  reply	other threads:[~2026-12-03  9:40 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 [this message]
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
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-247488@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