[Top] [All Lists]

RE: How to setup interrupts for a new board?

To: "David Daney" <>
Subject: RE: How to setup interrupts for a new board?
From: "Ardelean, Andrei" <>
Date: Wed, 29 Sep 2010 09:52:39 -0700
Cc: <>
In-reply-to: <>
References: <> <>
Thread-index: Actf8nJM26aZ0Bb9SMuMRKhgiT2saQAA2pIg
Thread-topic: How to setup interrupts for a new board?
Hi David,

I checked in the MIPS documentation and I couldn't find relevant
information about this particular way of implementation. Unfortunately
in the MIPS kernel source there are no enough comments.


-----Original Message-----
From: David Daney [] 
Sent: Wednesday, September 29, 2010 12:25 PM
To: Ardelean, Andrei
Subject: Re: How to setup interrupts for a new board?

On 09/29/2010 07:06 AM, Ardelean, Andrei wrote:
> Hi,
> I created new board specific files gd_xxxx similar with malta_xxxx and
> am trying to configure Linux interrupts in gd-int.c.
> My board has no external interrupt controller like Malta has, it has
> 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
> Linux?

Other than the Linux Kernel source code, make sure you have a copy of:

MD00090-2B-MIPS32PRA-AFP, the "MIPS32(r) Architecture for Programmers 
Volume III: The MIPS32(r) Privileged Resource Architecture"

It can be downloaded from

David Daney

> Thanks,
> Andrei

<Prev in Thread] Current Thread [Next in Thread>