These patches update 4xx uic code. The first one fixes a minor issue with edge-triggered interrupts, while the second one makes it use generic level and edge irq handlers. I've added irq ack'ing to the unmask callback for level-triggered interrupts, because to de-assert them we have to do 2 things is the exact order as below: 1. de-assert the external source in the ISR. 2. ack the IRQ on the UIC. So, ack'ing level interrupts before unmasking them makes possible to use generic level irq handler and it doesn't hurt, cause we can never miss a level-triggered interrupt. It always stays asserted untill the external source is removed and ack'ed on UIC.
These have been tested on Sequoia PowerPC 440EPx board. Thanks, Valentine. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev