diff options
author | Aurelien Jacquiot <a-jacquiot@ti.com> | 2016-03-23 00:25:42 +0300 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2016-04-11 17:44:21 +0300 |
commit | 07e97c1f3e74070f054e293410425a795516e4aa (patch) | |
tree | a1b8e82f587d8e276265425f615ffc1e315946fc /drivers/gpu/drm/radeon/sumo_smc.c | |
parent | fd797512816d954c1b82e405f8fb7022c0cbeb81 (diff) | |
download | linux-07e97c1f3e74070f054e293410425a795516e4aa.tar.xz |
rapidio/rionet: fix deadlock on SMP
commit 36915976eca58f2eefa040ba8f9939672564df61 upstream.
Fix deadlocking during concurrent receive and transmit operations on SMP
platforms caused by the use of incorrect lock: on transmit 'tx_lock'
spinlock should be used instead of 'lock' which is used for receive
operation.
This fix is applicable to kernel versions starting from v2.15.
Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com>
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/radeon/sumo_smc.c')
0 files changed, 0 insertions, 0 deletions