Files
linux/arch/arm64/include/asm
Catalin Marinas 42b5bb47a6 arm64: spinlock: retry trylock operation if strex fails on free lock
commit 4ecf7ccb19 upstream.

An exclusive store instruction may fail for reasons other than lock
contention (e.g. a cache eviction during the critical section) so, in
line with other architectures using similar exclusive instructions
(alpha, mips, powerpc), retry the trylock operation if the lock appears
to be free but the strex reported failure.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Tony Thompson <anthony.thompson@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-09 12:24:20 -08:00
..
2012-09-17 13:42:21 +01:00
2013-03-21 17:39:31 +00:00
2012-09-17 13:42:00 +01:00
2012-09-17 13:42:00 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:41:59 +01:00
2012-09-17 13:42:14 +01:00
2012-09-17 13:42:04 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:04 +01:00
2012-09-17 13:42:14 +01:00
2012-09-17 13:42:02 +01:00
2012-09-17 13:41:56 +01:00
2013-01-22 17:51:01 +00:00
2013-01-22 17:51:01 +00:00
2012-09-17 13:42:19 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:42:17 +01:00
2012-09-17 13:41:59 +01:00
2012-09-17 13:42:21 +01:00
2013-01-29 16:56:17 +00:00
2012-09-17 13:42:07 +01:00
2013-01-29 16:56:37 +00:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:42:06 +01:00
2012-09-17 10:24:46 +01:00
2012-09-17 13:41:58 +01:00
2012-09-17 13:42:20 +01:00
2012-09-17 10:24:46 +01:00
2012-09-17 13:42:11 +01:00
2013-02-14 09:21:15 -05:00
2012-09-17 13:42:09 +01:00
2012-09-17 13:42:09 +01:00
2012-12-05 11:26:49 +00:00