[ath9k-devel] Interrupt issue on ARM with SMP
Adrian Chadd <[email protected]> Sat, 27 Aug 2016 21:44:39 -0700
| Newsgroups | org.ath9k.lists.ath9k-devel |
|---|---|
| Message-ID | <CAJ-VmonaO6M7KJt1gyMbPgj5eiZ250fkeEOX0S8MA40=o1xiQQ@mail.gmail.com> |
Hi, So, interrupt handling is finnicky. It's possible there's already a posted interrupt waiting somewhere. Ideally you'd do a write-then-read in each of the interrupt blocks between your device and the CPU to ensure thing are synced. Otherwise the different frequencies in different blocks in the ARM code mean you get interrupts after you've cleared the interrupt itself, because it hasn't yet posted in that particular hardware block. Yay, etc. -adrian