]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
misc: mic: bug fix for interrupt acknowledgement in MSI/INTx case.
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Tue, 10 Dec 2013 17:51:12 +0000 (09:51 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Dec 2013 07:05:52 +0000 (23:05 -0800)
commitdf5e4e8b576108f88f79e5b4c984d51d460d2360
tree47f1d8e49f3e62e887b73d806beec6e4127974c9
parentd6a484520c5572a4170fa915109ccfc0c38f5008
misc: mic: bug fix for interrupt acknowledgement in MSI/INTx case.

The interrupt handler (mic_interrupt), called in the MSI/INTx mode,
writes to the interrupt sources register to acknowledge the
interrupt and then calls the corresponding callback handlers to handle
the same. These callback handlers acknowledge the interrupts again
leading to missed interrupts. This patch fixes the issue by removing
the interrupt acknowlegment code from the callback handlers.

Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
Reviewed-by: Siva Krishna Kumar Reddy Yerramreddy <siva.krishna.kumar.reddy.yerramreddy@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Cc: stable <stable@vger.kernel.org> # 3.13
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/host/mic_device.h
drivers/misc/mic/host/mic_main.c
drivers/misc/mic/host/mic_virtio.c
drivers/misc/mic/host/mic_x100.c