linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurentp@cse-semaphore.com>
To: linuxppc-dev@ozlabs.org
Subject: Interrupt handling documentation
Date: Tue, 11 Mar 2008 11:58:45 +0100	[thread overview]
Message-ID: <200803111158.48540.laurentp@cse-semaphore.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

Hi everybody,

is there any documentation describing interrupt handling for the powerpc 
architecture ? I'm writing a driver for a cascaded interrupt controller and 
the only source of information I found was the code.

I'm particularly interested in information about irq hosts (allocation and 
initialisation, especially the map and unmap callbacks) and irq chaining. 
Different drivers seem to implement cascaded irqs differently (for instance 
arch/powerpc/sysdev/uic.c uses setup_irq to register the cascaded irq 
handler, while arch/powerpc/platforms/82xx/pq2ads-pci-pic.c uses 
set_irq_chained_handler) so I'm a bit lost here.

Best regards,

-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussée de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2008-03-11 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-11 10:58 Laurent Pinchart [this message]
2008-03-12  0:51 ` Interrupt handling documentation Michael Ellerman
2008-03-13 13:56   ` Laurent Pinchart
2008-03-17 16:13     ` Laurent Pinchart
2008-03-17 20:44       ` Benjamin Herrenschmidt

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=200803111158.48540.laurentp@cse-semaphore.com \
    --to=laurentp@cse-semaphore.com \
    --cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).