Huang Rui
03161a6ecb
drm/amdgpu: fix dead lock if any ip block resume failed in s3
Driver must free the console lock whether driver resuming successful
or not. Otherwise, fb_console will be always waiting for the lock and
then cause system stuck.
[ 244.405541] INFO: task kworker/0:0:4 blocked for more than 120 seconds.
[ 244.405543] Tainted: G OE 4.9.0-custom #1
[ 244.405544] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 244.405541] INFO: task kworker/0:0:4 blocked for more than 120 seconds.
[ 244.405543] Tainted: G OE 4.9.0-custom #1
[ 244.405544] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 244.405550] kworker/0:0 D 0 4 2 0x00080000
[ 244.405559] Workqueue: events console_callback
[ 244.405564] ffff88045a2cfc00 0000000000000000 ffff880462b75940 ffffffff81c0e500
[ 244.405568] ffff880476419280 ffffc900018f7c90 ffffffff817dcf62 000000000000003c
[ 244.405572] 0000000100000000 0000000000000002 ffff880462b75940 ffff880462b75940
[ 244.405573] Call Trace:
[ 244.405580] [<ffffffff817dcf62>] ? __schedule+0x222/0x6a0
[ 244.405584] [<ffffffff817dd416>] schedule+0x36/0x80
[ 244.405588] [<ffffffff817e041c>] schedule_timeout+0x1fc/0x390
[ 244.405592] [<ffffffff817df1b4>] __down_common+0xa5/0xf8
[ 244.405598] [<ffffffff810b2ca8>] ? put_prev_entity+0x48/0x710
[ 244.405601] [<ffffffff817df224>] __down+0x1d/0x1f
[ 244.405606] [<ffffffff810c71a1>] down+0x41/0x50
[ 244.405611] [<ffffffff810d380a>] console_lock+0x1a/0x40
[ 244.405614] [<ffffffff814e3c03>] console_callback+0x13/0x160
[ 244.405617] [<ffffffff817dcf6a>] ? __schedule+0x22a/0x6a0
[ 244.405623] [<ffffffff810954e3>] process_one_work+0x153/0x3f0
[ 244.405628] [<ffffffff81095cab>] worker_thread+0x12b/0x4b0
[ 244.405633] [<ffffffff81095b80>] ? rescuer_thread+0x350/0x350
[ 244.405637] [<ffffffff8109b473>] kthread+0xd3/0xf0
[ 244.405641] [<ffffffff8109b3a0>] ? kthread_park+0x60/0x60
[ 244.405645] [<ffffffff8109b3a0>] ? kthread_park+0x60/0x60
[ 244.405649] [<ffffffff817e1ee5>] ret_from_fork+0x25/0x30
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-04-28 17:32:36 -04:00
..
2016-11-30 14:18:51 +10:00
2016-10-25 14:38:45 -04:00
2017-01-27 11:12:39 -05:00
2017-03-29 23:53:24 -04:00
2016-09-19 20:58:35 +03:00
2016-09-19 20:58:35 +03:00
2016-09-22 10:24:16 -04:00
2016-02-27 22:52:40 +02:00
2017-04-28 17:32:13 -04:00
2017-04-04 14:42:40 -04:00
2017-04-28 17:32:13 -04:00
2017-03-29 23:54:17 -04:00
2017-03-29 23:53:24 -04:00
2016-10-25 14:40:39 +02:00
2017-03-29 23:54:16 -04:00
2017-04-06 13:28:07 -04:00
2017-03-29 23:55:49 -04:00
2016-11-30 14:18:51 +10:00
2015-06-03 21:03:15 -04:00
2017-04-07 15:15:45 -04:00
2017-04-28 16:38:00 -04:00
2017-04-28 17:32:36 -04:00
2017-04-07 12:20:39 -04:00
2017-03-29 23:53:24 -04:00
2017-03-29 23:53:03 -04:00
2017-04-28 17:32:22 -04:00
2015-08-17 16:50:21 -04:00
2015-06-03 21:03:15 -04:00
2017-03-29 23:53:24 -04:00
2016-11-11 10:20:58 -05:00
2017-03-29 23:54:42 -04:00
2016-08-19 12:30:58 -04:00
2017-04-07 12:20:39 -04:00
2017-01-27 11:13:32 -05:00
2016-10-25 14:38:58 -04:00
2017-02-03 11:10:32 +01:00
2017-01-27 11:12:39 -05:00
2016-09-27 13:00:52 -04:00
2017-04-28 17:32:18 -04:00
2016-09-14 15:10:27 -04:00
2017-03-29 23:54:36 -04:00
2015-06-03 21:03:15 -04:00
2017-04-06 13:27:20 -04:00
2017-03-29 23:53:37 -04:00
2017-01-27 12:20:37 -05:00
2017-04-06 13:28:07 -04:00
2017-04-04 13:40:32 -04:00
2017-03-29 09:56:25 +02:00
2017-04-07 12:20:39 -04:00
2017-01-27 11:13:17 -05:00
2016-09-14 15:10:37 -04:00
2015-06-03 21:03:15 -04:00
2017-03-29 23:55:20 -04:00
2017-01-27 11:13:07 -05:00
2017-03-29 23:54:54 -04:00
2016-10-25 14:38:45 -04:00
2016-11-11 10:20:04 -05:00
2017-04-28 17:32:12 -04:00
2017-04-28 16:37:58 -04:00
2017-03-29 23:55:53 -04:00
2017-04-28 17:32:19 -04:00
2016-11-11 10:21:07 -05:00
2016-10-25 14:40:39 +02:00
2016-10-28 11:33:52 +10:00
2017-03-29 23:53:29 -04:00
2015-06-03 21:03:15 -04:00
2017-04-28 17:32:21 -04:00
2017-04-28 17:32:13 -04:00
2017-01-27 12:20:33 -05:00
2017-04-28 17:32:14 -04:00
2017-03-29 23:54:41 -04:00
2017-04-04 13:40:32 -04:00
2017-03-29 23:53:46 -04:00
2017-04-28 17:32:16 -04:00
2017-03-29 23:53:44 -04:00
2017-04-06 13:28:04 -04:00
2017-03-29 23:55:10 -04:00
2017-04-28 17:32:21 -04:00
2017-04-28 17:32:18 -04:00
2017-04-04 23:34:27 -04:00
2017-04-28 16:37:59 -04:00
2017-03-29 23:54:17 -04:00
2017-03-29 23:54:17 -04:00
2016-10-25 14:38:58 -04:00
2016-05-04 20:23:53 -04:00
2016-08-08 13:28:39 -04:00
2015-06-03 21:03:15 -04:00
2017-01-27 11:12:39 -05:00
2015-06-03 21:03:15 -04:00
2016-09-14 15:10:37 -04:00
2016-07-14 16:39:35 -04:00
2017-03-29 23:53:37 -04:00
2017-03-29 23:52:52 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:51 -04:00
2017-03-29 23:53:37 -04:00
2016-10-25 14:38:45 -04:00
2017-03-29 23:55:50 -04:00
2016-10-25 14:38:45 -04:00
2017-03-29 23:54:33 -04:00
2016-10-25 14:38:45 -04:00
2017-03-29 23:53:21 -04:00
2015-06-03 21:03:17 -04:00
2017-03-29 23:54:30 -04:00
2017-01-27 12:20:41 -05:00
2015-06-03 21:03:17 -04:00
2017-03-29 23:53:37 -04:00
2016-10-25 14:38:45 -04:00
2017-04-11 07:41:10 +10:00
2016-10-25 14:38:45 -04:00
2017-04-11 07:41:10 +10:00
2016-10-25 14:38:45 -04:00
2017-04-11 07:41:10 +10:00
2016-10-25 14:38:45 -04:00
2017-04-11 07:41:10 +10:00
2016-10-25 14:38:45 -04:00
2017-04-06 10:21:55 +02:00
2016-10-25 14:38:45 -04:00
2017-03-29 23:53:51 -04:00
2016-10-25 14:38:45 -04:00
2017-04-28 17:32:18 -04:00
2016-10-25 14:38:45 -04:00
2017-04-28 17:32:18 -04:00
2016-10-25 14:38:45 -04:00
2017-04-28 17:32:19 -04:00
2017-03-29 23:54:45 -04:00
2017-04-06 13:27:18 -04:00
2017-03-29 23:54:44 -04:00
2017-04-28 17:32:18 -04:00
2016-10-25 14:38:45 -04:00
2017-04-28 17:32:18 -04:00
2016-10-25 14:38:45 -04:00
2017-04-28 17:32:18 -04:00
2016-10-25 14:38:45 -04:00
2017-04-28 17:32:19 -04:00
2017-03-29 23:54:44 -04:00
2017-03-29 23:53:37 -04:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2016-10-04 11:15:59 -04:00
2017-03-29 23:53:37 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2017-03-29 23:55:05 -04:00
2017-04-06 13:27:18 -04:00
2017-03-29 23:54:44 -04:00
2017-03-29 23:55:12 -04:00
2017-04-06 13:28:05 -04:00
2017-04-06 13:28:06 -04:00
2017-03-29 23:53:37 -04:00
2017-03-29 23:52:38 -04:00
2017-03-29 23:55:19 -04:00
2017-03-29 23:55:19 -04:00
2016-10-25 14:38:06 -04:00
2016-07-15 12:33:31 -04:00
2017-03-29 23:54:48 -04:00
2017-04-28 16:37:58 -04:00
2017-04-28 16:37:58 -04:00
2016-08-31 15:21:09 -04:00
2017-03-29 23:55:50 -04:00
2016-10-25 14:38:45 -04:00
2017-03-29 23:55:50 -04:00
2016-10-25 14:38:45 -04:00
2017-04-28 17:32:19 -04:00
2017-03-29 23:54:45 -04:00
2017-03-29 23:55:50 -04:00
2016-10-25 14:38:45 -04:00
2017-03-29 23:53:37 -04:00
2016-08-31 15:21:09 -04:00
2017-02-08 17:25:02 -05:00
2017-03-29 23:53:37 -04:00
2016-10-25 14:38:45 -04:00
2017-01-27 12:20:41 -05:00
2017-03-29 23:53:41 -04:00
2016-10-25 14:38:45 -04:00
2017-01-27 12:20:41 -05:00
2016-09-28 16:13:17 -04:00
2017-04-28 16:37:59 -04:00
2017-04-06 13:28:07 -04:00
2017-03-29 23:54:31 -04:00
2017-03-29 23:55:35 -04:00
2017-03-29 23:53:53 -04:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2017-04-04 13:40:33 -04:00
2016-10-25 14:38:45 -04:00
2017-04-04 13:40:33 -04:00
2016-10-25 14:38:45 -04:00
2017-04-04 13:40:33 -04:00
2016-10-25 14:38:45 -04:00
2017-04-28 17:32:19 -04:00
2017-03-29 23:54:47 -04:00
2017-04-04 13:40:33 -04:00
2016-10-25 14:38:45 -04:00
2017-04-04 13:40:33 -04:00
2016-10-25 14:38:45 -04:00
2017-04-28 17:32:19 -04:00
2017-03-29 23:54:47 -04:00
2017-03-30 15:16:00 -04:00
2017-03-29 23:54:46 -04:00
2017-03-29 23:54:30 -04:00
2017-01-27 11:12:43 -05:00
2017-03-30 14:44:00 -04:00
2017-03-29 23:53:31 -04:00
2017-04-04 23:33:41 -04:00