From: Mark Brown <broonie@kernel.org>
To: Thomas Gleixner <tglx@kernel.org>
Cc: linux-kernel@vger.kernel.org, Farhad Alemi <farhad.alemi@berkeley.edu>
Subject: Re: [PATCH] regmap: irq: Free the irqdomain we create
Date: Fri, 4 Sep 2026 20:21:53 +0100 [thread overview]
Message-ID: <apsaUXmhUSXvAvFT@sirena.co.uk> (raw)
In-Reply-To: <87jyp07s7d.ffs@fw13>
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
On Fri, Sep 04, 2026 at 09:05:26PM +0200, Thomas Gleixner wrote:
> On Fri, Sep 04 2026 at 21:00, Thomas Gleixner wrote:
> > if (irq_base > 0)
> > irq_domain_free_irqs(irq_base, chip->num_irqs);
> Hit send too fast. That stupidly works only when hierarchical domains
> are enabled.
> So you need:
> if (irq_base > 0) {
> for (unsigned int i = 0; i < chip->num_irqs; i++)
> irq_dispose_mapping(irq_base + i);
> }
> irqdomain_remove_domain();
Ah, thanks - I'd expected removing the domain to clean everything up.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2026-09-04 19:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-01 21:55 [PATCH] regmap: irq: Free the irqdomain we create Mark Brown
2026-09-01 22:49 ` Mark Brown
2026-09-04 19:00 ` Thomas Gleixner
2026-09-04 19:05 ` Thomas Gleixner
2026-09-04 19:21 ` Mark Brown [this message]
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=apsaUXmhUSXvAvFT@sirena.co.uk \
--to=broonie@kernel.org \
--cc=farhad.alemi@berkeley.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.