34xx spurious interrupts unravelling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Revert "Add MT_MEMORY_SO, mark L3 and L4 to use it"arch/ arch/ arch/ | +16 | 0 replies | |
| 2/4 | ARM: OMAP3: Print debug info on spurious interruptsarch/ | +22 | 1 reply | |
| 3/4 | I2C: Ensure write posting for critical i2c-omap writesdrivers/ | +3 | 1 reply | |
| 4/4 | DSPBRIDGE: Ensure write posting when acking mailbox irqdrivers/ | +15 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] 34xx spurious interrupts unravelling
Hi all,
So it's now starting to look like we need to ensure write posting in interrupt handlers for 34xx instead of marking the IO areas as strongly ordered.
The first patch in the series reverts marking the IO areas as strongly ordered.
The second debug patch also prints out the previous interrupt before the spurious interrupt, which should help identify the interrupt handler that needs a read back of some register.
So if you see errors like this with dspbridge:
FIXME: spurious irq 95: 0xffffffdf previous irq 26
FIXME: spurious irq 95: 0xffffffdf previous irq 26
FIXME: spurious irq 95: 0xffffffdf previous irq 26
...
You'll know that the interrupt handler for irq 26 needs a read back of some register in the interrupt handler. Most likely you need to read back the interrupt ack register right after writing to it in the handler, see a later patch in this series for dspbridge.
If you get errors like this during boot:
FIXME: spurious irq 95: 0xffffffdf previous irq 25
FIXME: spurious irq 95: 0xffffffdf previous irq 25
FIXME: spurious irq 95: 0xffffffdf previous irq 37
...
Most likely we need to do a read back when initializing some devices like dispc and gptimer. I don't have patches for these yet..
The other patches fix few interrupt handlers that I'm aware of needing this, like i2c-omap and dspbridge. The dspbridge patch only applies if you have it installed.
I'd appreciate if people who have been working on this issue would torture test this series and provide feedback!
Cheers,
Tony