Julien Grall
27e6e7d63f
arm64/cpufeature: Convert hook_lock to raw_spin_lock_t in cpu_enable_ssbs()
...
cpu_enable_ssbs() is called via stop_machine() as part of the cpu_enable
callback. A spin lock is used to ensure the hook is registered before
the rest of the callback is executed.
On -RT spin_lock() may sleep. However, all the callees in stop_machine()
are expected to not sleep. Therefore a raw_spin_lock() is required here.
Given this is already done under stop_machine() and the work done under
the lock is quite small, the latency should not increase too much.
Signed-off-by: Julien Grall <julien.grall@arm.com >
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com >
2019-06-04 14:48:26 +01:00
..
2019-05-30 11:26:41 -07:00
2019-05-16 11:45:36 +01:00
2012-09-17 13:42:21 +01:00
2019-04-04 18:41:12 +02:00
2017-06-29 11:33:15 +01:00
2019-02-07 23:10:45 +01:00
2019-02-06 10:05:20 +00:00
2019-01-03 18:57:57 -08:00
2019-05-17 10:33:30 -07:00
2019-06-04 13:47:35 +01:00
2019-05-23 15:40:30 +01:00
2019-04-03 13:50:35 +01:00
2018-07-04 18:34:24 +01:00
2018-12-06 14:38:53 +00:00
2019-06-04 14:48:26 +01:00
2018-01-02 13:50:34 +00:00
2019-04-23 18:02:00 +01:00
2018-09-11 11:08:49 +01:00
2018-11-02 17:24:17 +00:00
2019-04-09 12:38:31 +01:00
2018-02-06 22:53:13 +00:00
2017-04-04 17:50:59 +01:00
2018-03-09 08:58:22 +01:00
2018-03-09 08:58:22 +01:00
2018-05-17 18:19:53 +01:00
2018-12-10 11:50:12 +00:00
2019-05-23 15:40:30 +01:00
2019-06-04 13:17:37 +01:00
2019-04-23 13:35:00 +01:00
2019-05-01 14:39:26 +01:00
2018-12-10 18:42:17 +00:00
2019-05-30 11:29:22 -07:00
2018-06-26 09:07:56 +02:00
2019-02-01 14:10:01 +00:00
2018-12-10 18:57:17 +00:00
2019-04-26 18:53:40 -07:00
2017-10-24 16:23:07 +01:00
2019-02-06 10:05:16 +00:00
2019-01-06 09:46:51 +09:00
2019-05-23 11:38:11 +01:00
2018-12-07 15:28:21 +00:00
2019-04-09 11:21:13 +01:00
2019-04-23 18:01:58 +01:00
2019-02-05 09:34:49 +00:00
2019-03-05 21:07:19 -08:00
2019-04-23 18:01:58 +01:00
2018-11-27 19:00:45 +00:00
2019-05-28 15:15:53 +01:00
2017-12-01 13:04:59 +00:00
2019-05-30 11:26:41 -07:00
2018-09-17 16:33:23 -05:00
2019-01-03 18:57:57 -08:00
2019-05-17 10:33:30 -07:00
2018-04-19 13:29:54 +02:00
2018-12-13 16:42:47 +00:00
2019-02-06 10:05:18 +00:00
2019-05-30 11:26:41 -07:00
2019-03-10 10:17:23 -07:00
2018-03-19 18:14:25 +00:00
2018-03-19 18:14:25 +00:00
2018-12-06 14:38:53 +00:00
2018-12-22 08:21:02 -05:00
2019-04-04 16:02:25 +01:00
2019-03-27 18:12:41 +00:00
2019-04-23 18:01:31 +01:00
2019-03-29 14:41:52 +00:00
2019-04-23 18:01:57 +01:00
2018-09-25 15:10:54 +01:00
2019-05-30 11:26:41 -07:00
2017-01-12 15:05:39 +00:00
2019-04-04 18:41:12 +02:00
2018-09-14 17:46:19 +01:00
2019-04-14 19:58:29 +02:00
2018-09-18 12:02:27 +01:00
2019-05-29 13:46:00 +01:00
2019-01-05 11:28:39 -08:00
2019-05-29 13:46:00 +01:00
2019-05-23 11:38:10 +01:00
2018-12-22 08:21:02 -05:00
2018-07-06 13:18:18 +01:00
2017-11-02 11:10:55 +01:00
2019-05-29 11:05:25 +01:00
2019-04-23 18:01:58 +01:00
2018-12-04 12:48:25 +00:00