Guchun Chen
c9079eb6f1
drm/amdgpu: skip disabling fence driver src_irqs when device is unplugged
...
[ Upstream commit c1a322a7a4 ]
When performing device unbind or halt, we have disabled all irqs at the
very begining like amdgpu_pci_remove or amdgpu_device_halt. So
amdgpu_irq_put for irqs stored in fence driver should not be called
any more, otherwise, below calltrace will arrive.
[ 139.114088] WARNING: CPU: 2 PID: 1550 at drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:616 amdgpu_irq_put+0xf6/0x110 [amdgpu]
[ 139.114655] Call Trace:
[ 139.114655] <TASK>
[ 139.114657] amdgpu_fence_driver_hw_fini+0x93/0x130 [amdgpu]
[ 139.114836] amdgpu_device_fini_hw+0xb6/0x350 [amdgpu]
[ 139.114955] amdgpu_driver_unload_kms+0x51/0x70 [amdgpu]
[ 139.115075] amdgpu_pci_remove+0x63/0x160 [amdgpu]
[ 139.115193] ? __pm_runtime_resume+0x64/0x90
[ 139.115195] pci_device_remove+0x3a/0xb0
[ 139.115197] device_remove+0x43/0x70
[ 139.115198] device_release_driver_internal+0xbd/0x140
Signed-off-by: Guchun Chen <guchun.chen@amd.com >
Acked-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-06-09 10:32:26 +02:00
..
2023-06-09 10:32:26 +02:00
2023-03-11 13:57:40 +01:00
2023-04-20 12:13:53 +02:00
2021-12-01 09:04:47 +01:00
2023-06-09 10:32:20 +02:00
2021-08-10 20:00:58 +02:00
2023-05-17 11:50:24 +02:00
2023-04-05 11:25:00 +02:00
2023-05-24 17:36:51 +01:00
2022-12-31 13:14:44 +01:00
2022-09-28 11:11:55 +02:00
2021-08-08 20:27:24 +02:00
2022-09-28 11:11:50 +02:00
2023-05-17 11:50:15 +02:00
2021-08-10 20:14:01 +02:00
2023-05-24 17:36:42 +01:00
2023-01-12 11:59:15 +01:00
2023-01-12 11:59:00 +01:00
2022-02-08 18:34:09 +01:00
2023-05-11 23:00:23 +09:00
2022-08-17 14:23:23 +02:00
2023-03-10 09:39:26 +01:00
2023-03-30 12:47:59 +02:00
2021-08-10 20:14:01 +02:00
2023-01-12 11:59:20 +01:00
2023-06-09 10:32:26 +02:00
2023-03-10 09:39:19 +01:00
2023-04-13 16:48:26 +02:00
2023-03-10 09:39:52 +01:00
2023-05-17 11:50:25 +02:00
2023-04-13 16:48:25 +02:00
2022-10-26 12:34:51 +02:00
2021-07-21 11:58:28 +10:00
2021-10-15 15:05:10 +10:00
2023-03-10 09:40:14 +01:00
2023-05-11 23:00:23 +09:00
2023-05-11 23:00:20 +09:00
2021-05-03 19:48:30 +02:00
2021-07-01 08:53:25 +02:00
2022-04-08 14:23:24 +02:00
2021-07-25 11:01:12 +02:00
2021-05-03 19:48:33 +02:00
2022-12-31 13:14:44 +01:00
2022-06-09 10:23:28 +02:00
2023-03-22 13:31:34 +01:00
2023-05-24 17:36:44 +01:00
2023-03-10 09:39:20 +01:00
2022-06-09 10:23:29 +02:00
2023-03-30 12:47:52 +02:00
2023-05-11 23:00:23 +09:00
2021-06-24 15:40:11 +02:00
2022-10-26 12:34:24 +02:00
2022-08-17 14:23:19 +02:00
2022-01-27 11:03:13 +01:00
2023-03-10 09:39:21 +01:00
2023-05-11 23:00:20 +09:00
2021-08-10 20:14:01 +02:00
2023-03-11 13:57:40 +01:00
2023-03-10 09:39:20 +01:00
2023-02-01 08:27:29 +01:00
2021-06-24 15:40:11 +02:00
2021-08-09 02:28:05 +03:00
2021-06-29 15:40:53 +02:00
2021-05-11 14:13:33 +02:00
2022-07-21 21:24:44 +02:00
2022-06-14 18:36:27 +02:00
2022-02-23 12:03:08 +01:00
2023-03-17 08:48:47 +01:00
2021-08-05 12:08:15 +02:00
2021-04-22 10:46:35 +02:00
2022-06-09 10:22:44 +02:00
2022-10-26 12:34:50 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2023-01-12 11:58:59 +01:00
2021-05-16 22:01:14 +02:00
2021-07-27 12:48:17 +02:00
2021-08-02 10:19:43 +02:00
2021-06-10 19:14:47 +02:00
2021-07-20 20:14:42 +02:00
2023-05-24 17:36:43 +01:00
2021-04-26 18:19:15 +02:00
2022-08-17 14:23:16 +02:00
2021-04-27 18:43:42 -04:00
2022-12-02 17:41:00 +01:00
2022-10-26 12:35:42 +02:00
2023-03-11 13:57:39 +01:00
2022-11-26 09:24:36 +01:00
2021-08-02 10:19:43 +02:00
2023-03-10 09:40:14 +01:00
2021-05-25 11:42:09 +01:00
2023-05-01 08:23:23 +09:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2023-03-10 09:39:19 +01:00
2021-08-02 10:19:43 +02:00
2021-08-08 20:26:16 +02:00
2022-02-23 12:03:09 +01:00
2021-08-08 20:26:16 +02:00
2023-03-22 13:31:34 +01:00
2022-07-29 17:25:05 +02:00
2021-08-02 10:19:43 +02:00
2022-09-15 11:30:01 +02:00
2021-08-02 10:19:43 +02:00
2022-11-26 09:24:37 +01:00
2021-08-17 13:56:03 -04:00
2022-10-26 12:35:38 +02:00
2021-08-10 20:14:01 +02:00
2021-07-30 11:55:41 +02:00
2021-08-10 20:14:01 +02:00
2021-05-17 21:19:48 +02:00
2021-05-10 15:46:58 +02:00
2022-08-17 14:23:17 +02:00
2023-05-24 17:36:41 +01:00
2021-08-02 10:19:43 +02:00
2023-03-10 09:39:19 +01:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2022-08-17 14:23:24 +02:00
2023-04-20 12:13:54 +02:00
2021-07-13 06:38:37 -07:00
2021-05-17 21:19:48 +02:00
2021-11-18 19:17:00 +01:00
2022-06-09 10:22:34 +02:00
2022-09-15 11:30:01 +02:00
2021-08-19 09:02:55 +09:00
2023-05-11 23:00:20 +09:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-08 20:14:08 +02:00
2022-04-08 14:23:03 +02:00
2021-08-10 20:14:01 +02:00
2021-05-10 15:46:58 +02:00
2021-08-02 10:19:43 +02:00
2021-11-21 13:44:12 +01:00
2021-07-05 08:54:44 +02:00