Thomas Gleixner
b0bf64af36
suspend: Prevent might sleep splats
...
timekeeping suspend/resume calls read_persistant_clock() which takes
rtc_lock. That results in might sleep warnings because at that point
we run with interrupts disabled.
We cannot convert rtc_lock to a raw spinlock as that would trigger
other might sleep warnings.
As a temporary workaround we disable the might sleep warnings by
setting system_state to SYSTEM_SUSPEND before calling sysdev_suspend()
and restoring it to SYSTEM_RUNNING afer sysdev_resume().
Needs to be revisited.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-06-30 14:12:30 +00:00
..
2022-06-30 14:12:20 +00:00
2022-06-14 17:22:06 +00:00
2021-03-03 18:58:56 +01:00
2022-06-10 15:30:07 +07:00
2020-09-24 12:45:16 +02:00
2022-06-30 14:03:54 +00:00
2022-04-06 13:18:17 +07:00
2022-06-30 14:12:21 +00:00
2022-06-30 14:12:30 +00:00
2022-06-30 14:12:20 +00:00
2022-06-30 14:12:20 +00:00
2022-06-30 14:12:30 +00:00
2022-06-30 14:12:30 +00:00
2022-06-30 14:12:30 +00:00
2022-02-23 11:57:33 +01:00
2020-10-01 13:12:33 +02:00
2022-02-08 18:16:28 +01:00
2020-06-20 10:25:10 +02:00
2020-06-20 10:25:10 +02:00
2022-06-10 15:54:19 +07:00
2020-04-30 10:08:09 -07:00
2020-06-20 10:24:58 +02:00
2020-09-06 01:12:33 +05:30
2022-06-30 14:03:54 +00:00
2020-01-09 10:17:54 +01:00
2022-06-10 15:54:19 +07:00
2022-06-10 15:41:45 +07:00
2022-06-10 16:45:21 +07:00
2022-06-10 17:01:02 +07:00
2020-07-12 21:32:07 -07:00
2022-06-10 15:41:47 +07:00
2020-01-29 17:06:43 -08:00
2020-01-13 19:40:11 +00:00
2021-05-22 10:57:39 +02:00
2020-04-24 08:00:44 +02:00
2022-04-06 13:18:17 +07:00
2022-03-16 00:46:24 +01:00
2022-06-30 14:12:20 +00:00
2022-06-10 15:54:17 +07:00
2022-04-06 13:18:17 +07:00
2020-04-02 16:34:20 +02:00
2020-05-27 16:43:05 +02:00
2021-09-22 11:45:32 +02:00
2021-09-26 13:37:28 +02:00
2022-06-14 16:53:43 +02:00
2020-11-18 18:28:02 +01:00
2020-08-26 10:29:54 +02:00
2020-06-02 16:13:43 +00:00
2022-02-16 12:44:52 +01:00
2022-06-30 14:12:30 +00:00
2022-06-10 16:45:20 +07:00
2021-02-07 14:47:41 +01:00
2022-06-30 14:12:21 +00:00
2022-03-16 00:46:24 +01:00
2022-06-19 09:30:26 +00:00
2020-06-17 12:53:11 +05:30
2022-04-06 13:18:17 +07:00
2022-04-06 13:18:17 +07:00
2022-02-23 11:57:34 +01:00
2020-10-14 09:51:10 +02:00
2021-05-22 10:57:35 +02:00
2022-04-06 13:18:49 +07:00
2020-08-05 11:41:56 +05:30
2022-04-06 13:20:11 +07:00