From: David Daney <ddaney@caviumnetworks.com>
To: "Ardelean, Andrei" <Andrei.Ardelean@idt.com>
Cc: linux-mips@linux-mips.org
Subject: Re: How to setup interrupts for a new board?
Date: Wed, 29 Sep 2010 09:24:57 -0700 [thread overview]
Message-ID: <4CA36859.2050506@caviumnetworks.com> (raw)
In-Reply-To: <AEA634773855ED4CAD999FBB1A66D0760115A5BC@CORPEXCH1.na.ads.idt.com>
On 09/29/2010 07:06 AM, Ardelean, Andrei wrote:
> Hi,
>
> I created new board specific files gd_xxxx similar with malta_xxxx and I
> am trying to configure Linux interrupts in gd-int.c.
> My board has no external interrupt controller like Malta has, it has no
> PCI, I use Vectored interrupt mode and a mux routes the external
> interrupts to the MIPS h/w interrupts.
> Wthat is the meaning of the following switches and how to set them:
> cpu_has_divec
> cpu_has_vce
> cpu_has_llsc
> cpu_has_counter
> cpu_has_vint
>
> What is the difference between:
> setup_irq()
> set_irq_handler()
> set_vi_handler()
>
> Can you point me to document regarding interrupts implementation in MIPS
> Linux?
Other than the Linux Kernel source code, make sure you have a copy of:
MD00090-2B-MIPS32PRA-AFP, the "MIPS32® Architecture for Programmers
Volume III: The MIPS32® Privileged Resource Architecture"
It can be downloaded from mips.com
David Daney
>
> Thanks,
> Andrei
>
>
next prev parent reply other threads:[~2010-09-29 16:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 14:06 How to setup interrupts for a new board? Ardelean, Andrei
2010-09-29 14:06 ` Ardelean, Andrei
2010-09-29 16:24 ` David Daney [this message]
2010-09-29 16:52 ` Ardelean, Andrei
2010-09-29 16:52 ` Ardelean, Andrei
2010-09-30 2:31 ` Maciej W. Rozycki
2010-09-30 13:31 ` Ardelean, Andrei
2010-09-30 13:31 ` Ardelean, Andrei
2010-09-30 15:39 ` Maciej W. Rozycki
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=4CA36859.2050506@caviumnetworks.com \
--to=ddaney@caviumnetworks.com \
--cc=Andrei.Ardelean@idt.com \
--cc=linux-mips@linux-mips.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