PowerPC: 4xx uic updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PowerPC: 4xx uic: add mask_ack callbackarch/ | +17 | 1 reply | |
| 2/2 | PowerPC: make 4xx uic use generic edge and level irq handlersarch/ | +24 | 3 replies | |
| 2/2 | PowerPC: make 4xx uic use generic level irq handlerarch/ | +19 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | David Gibson |
|---|---|
| 1/2 | A-b |
| 2/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] PowerPC: 4xx uic updates
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.