]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
rapidio/tsi721: fix bug in MSI interrupt handling
authorAlexandre Bounine <alexandre.bounine@idt.com>
Fri, 24 May 2013 22:55:17 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 May 2013 23:22:51 +0000 (16:22 -0700)
commit1ccc819da6fda9bee10ab8b72e9adbb5ad3e4959
treeffe3a4cc65e4061d78cc093c705b39321a059e95
parentfb09c3733a94b5f1dba50359d09c9e217c763fb9
rapidio/tsi721: fix bug in MSI interrupt handling

Fix bug in MSI interrupt handling which causes loss of event
notifications.

Typical indication of lost MSI interrupts are stalled message and
doorbell transfers between RapidIO endpoints.  To avoid loss of MSI
interrupts all interrupts from the device must be disabled on entering
the interrupt handler routine and re-enabled when exiting it.
Re-enabling device interrupts will trigger new MSI message(s) if Tsi721
registered new events since entering interrupt handler routine.

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/devices/tsi721.c