From: M. R. B. <mr...@0x...> - 2002-01-01 18:57:00
|
* Adrian McMenamin <ad...@mc...> on Tue, Jan 01, 2002: > I am experimenting with the AICA interrupt - HW_EVENT_AICA_SYS - but I am= =20 > getting odd results: >=20 >=20 [...] > When this runs every call to writel(0x20, 0xa07028b8) appears to generate= =20 > "unexpected IRQ trap at vector 0b" (though system output otherwise is nor= mal). >=20 > What have I done wrong? >=20 I don't understand why you're getting the "unexpected IRQ ..." message, the DC interrupt-handling code switches off of SH4 IRQ's 9, 11, and 13, so they should always be "expected" and return the virtual IRQ. See arch/sh/kernel/setup_dc.c::systemasic_irq_demux() for more info. The only other thing I can think of is that the DC machine vector (machvec) isn't being selected, and that can only happen if you forget to set the machine type as "Dreamcast" when configuring the kernel. Can you check /proc/interrupts to see what interrupts are being handled (PVR2, gdrom, BBA, etc.), and attach your dmesg output? M. R. |