From: Adrian M. <ad...@mc...> - 2002-01-02 10:46:27
|
On Wednesday 02 Jan 2002 10:42 am, Adrian McMenamin wrote: > It seems I was calling this incorrectly - the 'pending' bits need to be > reset inside the interrupt handler as without that happening no new > interrupts can be handled on the AICA (or something) - this obviously was > not happening, but when the handler was rewritten: > > //////////////////////////////////////////////////////////////// > // Experimental interrupt handler // > //////////////////////////////////////////////////////////////// > > void aica_interrupt_handler(int i, void* p, struct pt_regs * ptr) > { > writel(0x20, 0xa07028b8); > spu_write_wait(); > } > > The problem disappeared (nb - removed the write to 0xa07028b8 from > elsewhere too). However, a scan of /proc/interrupts also shows that while the interrupt handler is registered, there appear to be no interrupts being generated, so this does not seem a suitable vehicle in which handle buffer updates. |