mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arend van Spriel <arend.vanspriel@broadcom.com>
To: Thomas Gleixner <tglx@linutronix.de>,
	"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: question about disable_irq() and free_irq()
Date: Wed, 13 Aug 2025 21:31:41 +0200	[thread overview]
Message-ID: <a943a7ed-7a17-4c22-a617-b327f7f302e9@broadcom.com> (raw)

I have gone through the "Linux generic IRQ handling" page [1] but I 
could not find a definitive answer to my question. So hopefully you can 
clarify it for me.

I was wondering whether a disable_irq() must be followed by 
enable_irq(), leaving the nested disable out of this, or could one call 
free_irq() for a disabled irq.

Regards,
Arend

[1] https://docs.kernel.org/core-api/genericirq.html

                 reply	other threads:[~2025-08-13 19:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=a943a7ed-7a17-4c22-a617-b327f7f302e9@broadcom.com \
    --to=arend.vanspriel@broadcom.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=tglx@linutronix.de \
    /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

all inboxes | Powered by JetHome®