On Wed, Dec 06, 2006 at 11:56:02AM +0900, Atsushi Nemoto wrote: > Date: Wed, 06 Dec 2006 11:56:02 +0900 (JST) > To: ralf@xxxxxxxxxxxxxx > Cc: linux-mips@xxxxxxxxxxxxxx > Subject: Re: [PATCH] Import updates from i386's i8259.c > From: Atsushi Nemoto <anemo@xxxxxxxxxxxxx> > Content-Type: Text/Plain; charset=us-ascii > > On Wed, 6 Dec 2006 01:58:18 +0000, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote: > > There are some other issues with the legacy IDE on the Intel PIIX which > > likely affect other systems such as Alpha as well. I think I solved that > > so it's now time to tackle the IRQ stuff. Even without your i8259 stuff > > there are some strange things going on currently: > > > > [...] > > irq 7, desc: 803db360, depth: 1, count: 0, unhandled: 0 > > ->handle_irq(): 8014ff28, handle_bad_irq+0x0/0x318 > > ->chip(): 803a3d4c, 0x803a3d4c > > ->action(): 00000000 > > IRQ_DISABLED set > > unexpected IRQ # 7 > > Hmm ... malta_int.c:get_int() returned 7? I have no idea, but it > seems mips_irq_lock in malta_int.c can be replaced by i8259A_lock... Your new patch works and also resolves this issue. Ralf