Will Deacon
dc492842b7
ARC: atomics: unbork atomic_fetch_##op()
[ Upstream commit 3fcbb8260a ]
In 4.19-rc1, Eugeniy reported weird boot and IO errors on ARC HSDK
| INFO: task syslogd:77 blocked for more than 10 seconds.
| Not tainted 4.19.0-rc1-00007-gf213acea4e88 #40
| "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
| message.
| syslogd D 0 77 76 0x00000000
|
| Stack Trace:
| __switch_to+0x0/0xac
| __schedule+0x1b2/0x730
| io_schedule+0x5c/0xc0
| __lock_page+0x98/0xdc
| find_lock_entry+0x38/0x100
| shmem_getpage_gfp.isra.3+0x82/0xbfc
| shmem_fault+0x46/0x138
| handle_mm_fault+0x5bc/0x924
| do_page_fault+0x100/0x2b8
| ret_from_exception+0x0/0x8
He bisected to 84c6591103 ("locking/atomics,
asm-generic/bitops/lock.h: Rewrite using atomic_fetch_*()")
This commit however only unmasked the real issue introduced by commit
4aef66c8ae ("locking/atomic, arch/arc: Fix build") which missed the
retry-if-scond-failed branch in atomic_fetch_##op() macros.
The bisected commit started using atomic_fetch_##op() macros for building
the rest of atomics.
Fixes: 4aef66c8ae ("locking/atomic, arch/arc: Fix build")
Reported-by: Eugeniy Paltsev <paltsev@synopsys.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
[vgupta: wrote changelog]
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-10 08:54:20 +02:00
..
2017-10-03 20:36:49 -07:00
2013-01-28 12:34:21 +05:30
2018-10-10 08:54:20 +02:00
2016-05-09 09:32:33 +05:30
2016-05-09 09:32:33 +05:30
2018-05-30 07:52:00 +02:00
2018-09-05 09:26:30 +02:00
2016-12-19 11:55:17 -08:00
2016-03-13 23:55:13 -04:00
2016-05-09 09:32:33 +05:30
2014-10-13 14:46:20 +05:30
2018-09-05 09:26:31 +02:00
2013-02-15 23:16:04 +05:30
2017-01-24 12:23:35 -05:00
2016-03-10 14:44:13 -06:00
2016-09-30 14:48:22 -07:00
2016-10-19 14:38:53 -07:00
2017-11-02 11:10:55 +01:00
2017-08-28 15:17:36 -07:00
2016-08-19 10:44:13 -07:00
2013-02-11 20:00:34 +05:30
2017-11-02 11:10:55 +01:00
2017-08-25 22:49:59 +02:00
2015-10-28 19:49:04 +05:30
2017-03-09 11:48:47 -08:00
2016-05-05 16:35:28 +05:30
2017-02-06 09:37:57 -08:00
2017-08-28 15:17:36 -07:00
2017-08-28 15:17:36 -07:00
2015-06-22 14:06:55 +05:30
2017-11-02 11:10:55 +01:00
2013-02-11 20:00:34 +05:30
2014-10-13 14:46:20 +05:30
2015-10-28 19:49:04 +05:30
2017-03-30 17:33:20 -07:00
2016-09-30 14:48:22 -07:00
2018-08-24 13:09:03 +02:00
2017-03-02 08:42:28 +01:00
2017-08-04 13:56:35 +05:30
2016-05-05 16:35:46 +05:30
2017-01-18 11:17:44 -08:00
2018-07-25 11:25:08 +02:00
2016-03-10 14:44:13 -06:00
2016-09-30 14:48:18 -07:00
2016-06-24 17:23:52 -07:00
2018-07-25 11:25:07 +02:00
2017-09-22 12:59:52 -10:00
2017-08-28 15:17:36 -07:00
2014-04-30 00:59:13 -05:00
2013-02-11 20:00:31 +05:30
2015-02-02 17:08:37 +05:30
2017-01-18 14:52:43 -08:00
2013-05-09 22:00:57 +05:30
2016-11-08 12:05:10 -08:00
2015-08-04 09:26:33 +05:30
2017-09-08 16:02:18 -07:00
2015-02-27 10:15:00 +05:30
2014-10-13 14:46:20 +05:30
2017-08-28 15:17:36 -07:00
2013-06-22 19:23:26 +05:30
2016-10-24 09:24:26 -07:00
2016-05-30 10:07:32 +05:30
2013-02-11 20:00:39 +05:30
2013-06-22 13:46:42 +05:30
2013-06-22 13:46:42 +05:30
2016-03-17 15:31:45 +05:30
2018-01-10 09:31:21 +01:00
2014-10-13 14:46:15 +05:30
2015-12-17 11:10:23 +05:30