aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-01-13 12:59:32 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-25 17:25:02 -0800
commitac631973a9ad6bba3d666f687288ebeb819c0df0 (patch)
tree5a2d58a408e6ba4984ece526a2fa12f87f2104bf /fs/nfs
parent415b95df641c998a7cf15c916047f338ab2ce87b (diff)
downloadkernel_samsung_smdk4412-ac631973a9ad6bba3d666f687288ebeb819c0df0.zip
kernel_samsung_smdk4412-ac631973a9ad6bba3d666f687288ebeb819c0df0.tar.gz
kernel_samsung_smdk4412-ac631973a9ad6bba3d666f687288ebeb819c0df0.tar.bz2
rt2800pci: fix spurious interrupts generation
commit dfd00c4c8f3dfa1fd7cec45f83d98b2a49743dcd upstream. Same devices can generate interrupt without properly setting bit in INT_SOURCE_CSR register (spurious interrupt), what will cause IRQ line will be disabled by interrupts controller driver. We discovered that clearing INT_MASK_CSR stops such behaviour. We previously first read that register, and then clear all know interrupt sources bits and do not touch reserved bits. After this patch, we write to all register content (I believe writing to reserved bits on that register will not cause any problems, I tested that on my rt2800pci device). This fix very bad performance problem, practically making device unusable (since worked without interrupts), reported in: https://bugzilla.redhat.com/show_bug.cgi?id=658451 We previously tried to workaround that issue in commit 4ba7d9997869d25bd223dea7536fc1ce9fab3b3b "rt2800pci: handle spurious interrupts", but it was reverted in commit 82e5fc2a34fa9ffea38f00c4066b7e600a0ca5e6 as thing, that will prevent to detect real spurious interrupts. Reported-and-tested-by: Amir Hedayaty <hedayaty@gmail.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions