linux-mips
[Top] [All Lists]

Re: [PATCH] mips irq cleanups

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] mips irq cleanups
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 2 Nov 2006 13:44:36 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <20061102.115153.25475422.nemoto@toshiba-tops.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20061102.020836.25912635.anemo@mba.ocn.ne.jp> <20061101184755.GC4736@linux-mips.org> <20061102.115153.25475422.nemoto@toshiba-tops.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Thu, Nov 02, 2006 at 11:51:53AM +0900, Atsushi Nemoto wrote:

> 1. replace set_irq_chip() with set_irq_chip_and_handler(..., handle_level_irq)
> 2. use generic_handle_irq() instead of __do_IRQ()

Another beneft of the new generic interrupt code will be for weird
multiplex devices like IOC3 which basically want to be treated as if they
have an interrupt controller on the PCI card itself.  The latest code now
enables the IOC3 metadriver to support that in a portable way.  The only
thing that's still missing is a portable way to allocate an interrupt
number.

> I'm still not sure for per-cpu type irq chips and egdg type irq chips,
> especially i8259.  The i8259 seems not suitable for handle_edge_irq or
> handle_level_irq yet.  The irq handling on SMP seems another maze ...

One step after another.

  Ralf

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