Re: [PATCH v2 0/8] irqchip/imx-intmux: Fix and modernize resource management

From: Peng Fan

Date: Thu Dec 03 2026 - 09:15:25 EST


On Thu, Dec 03, 2026 at 05:29:12PM +0800, Peng Fan wrote:
>
>---
>Changes in v2:
>- Add a patch to avoid creating parent IRQ mappings while counting channels,
> using of_irq_count() and lazy of_irq_get().
>- Rework the zero channel count check for of_irq_count().
>- Drain in-flight chained handlers before detaching them in the remove and
> probe error paths.
>- Check pm_runtime_set_active() and enable the clock before runtime PM.
>- Reject malformed interrupt specifiers in xlate instead of WARNing.
>- Correct the devm IRQ domain lifetime description in the commit message.
>- Document that the teardown relies on fw_devlink=on/rpm consumer ordering.
>- Link to v1: https://lore.kernel.org/r/20261117-imx-intmux-v1-0-189e7e0ad98d@xxxxxxx

Sashiko reported some issues, I will fix in v3.
https://sashiko.dev/#/patchset/20261203-imx-intmux-v2-0-a6db1eed3b5f%40nxp.com

Thanks
Peng

>
>---
>Peng Fan (8):
> irqchip/imx-intmux: Don't create parent mappings while counting channels
> irqchip/imx-intmux: Dispose IRQ mappings on remove
> irqchip/imx-intmux: Fix probe error path
> irqchip/imx-intmux: Reject zero channel count
> irqchip/imx-intmux: Mark input interrupts as level-triggered
> irqchip/imx-intmux: Don't WARN on malformed interrupt specifiers
> irqchip/imx-intmux: Use devm_irq_domain_create_linear()
> irqchip/imx-intmux: Factor out imx_intmux_teardown_channel()
>
> drivers/irqchip/irq-imx-intmux.c | 70 ++++++++++++++++++++++++++++------------
> 1 file changed, 49 insertions(+), 21 deletions(-)
>---
>base-commit: 799dd936553182df5770dde7f38d94c8337df75a
>change-id: 20261116-imx-intmux-7bebdcb8c20b
>
>Best regards,
>--
>Peng Fan <peng.fan@xxxxxxx>
>
>