All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How kernel derive irq number for particular irq line
Date: Mon, 25 Jun 2018 08:50:20 +0800	[thread overview]
Message-ID: <20180625005020.GA23869@kroah.com> (raw)
In-Reply-To: <CAHJZ6qFmUOSXvqxAR9bt4c+0VK4B7a75bijZnJeL2WqhEN70Og@mail.gmail.com>

On Mon, Jun 25, 2018 at 12:17:06AM +0530, Abhinav Misra wrote:
> Hi Guys,
> 
> I want to know how the irq number is derived in linux kernel.

It all depends on your platform.  It either comes from the firmware/bios
or it is in the device tree information.  The kernel itself doesn't know
this information, it has to be told that from an external source.

Hope this helps,

greg k-h

  reply	other threads:[~2018-06-25  0:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-24 18:47 How kernel derive irq number for particular irq line Abhinav Misra
2018-06-25  0:50 ` Greg KH [this message]
2018-06-25  9:03 ` priyaranjan

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=20180625005020.GA23869@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.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.