rapidio/tsi721: fix inbound doorbell interrupt handling
authorAlexandre Bounine <alexandre.bounine@idt.com>
Tue, 21 Aug 2012 23:16:11 +0000 (16:16 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Sep 2012 02:37:27 +0000 (03:37 +0100)
commit61ee0199cfdfafa938150a67b490d61513a67064
treeadbd6c500ba2e1dbc80bd758393ba086f405197a
parent05621c97f432220a529abd1356b4b902a8e3aecd
rapidio/tsi721: fix inbound doorbell interrupt handling

commit 3670e7e12e582c6d67761275d148171feb7a9004 upstream.

Make sure that there is no doorbell messages left behind due to disabled
interrupts during inbound doorbell processing.

The most common case for this bug is loss of rionet JOIN messages in
systems with three or more rionet participants and MSI or MSI-X enabled.
As result, requests for packet transfers may finish with "destination
unreachable" error message.

This patch is applicable to kernel versions starting from v3.2.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/rapidio/devices/tsi721.c