[ath9k-devel] Interrupt issue on ARM with SMP

Lamar Hansford <[email protected]> Mon, 29 Aug 2016 15:27:09 +0000
Newsgroups org.ath9k.lists.ath9k-devel
Message-ID <F9D95AC275991E48901933FBF3337AB0A3315F75@ex-02>
Another error on my end.  I've ignored any interrupts which do not have async/sync cause and added a mitigation timer and interrupts are firing as expected.   Of course now the packets are getting thrown away at the DMA :).  That is likely due to a BSP issue.

Thanks for all of the help!
-Lamar

-----Original Message-----
From: [email protected] [mailto:adrian.chadd at gmail.com] On Behalf Of Adrian Chadd
Sent: Saturday, August 27, 2016 11:45 PM
To: Lamar Hansford
Cc: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] Interrupt issue on ARM with SMP

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
This email and any attachments may contain private, confidential and privileged material for the sole use of the intended recipient. If you are not the intended recipient, please immediately delete this email and any attachments.