Spurious interrupts on BCM2836?
Eric Anholt
eric at anholt.net
Wed Oct 26 18:16:33 PDT 2016
Phil Elwell <phil at raspberrypi.org> writes:
> On 24 Oct 2016 6:47 pm, "popcorn mix" <popcornmix at gmail.com> wrote:
>>
>> On Mon, Oct 24, 2016 at 6:37 PM, Eric Anholt <eric at anholt.net> wrote:
>> > I haven't seen it for a long time. It's also not clear to me why a dsb
>> > there would do anything useful.
>>
>> My understanding is that the ISR can be returned from before the
>> mailbox interrupt has been cleared -
>> the "writel(1 << ipi, mailbox0);" is still in flight.
>>
>> That means we vector back into the ISR (interrupts are level
>> sensitive) immediately but find there is nothing to do.
>
> Yes, amazingly, the commit message is correct.
I think I thought writel() did a wmb() afterwards as well as before.
Could you submit the patch with a Signed-off-by so it could get merged?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20161026/16819728/attachment.sig>
More information about the linux-rpi-kernel
mailing list