Philip Yang
d42a5b639d
drm/amdgpu: reserve fence slot to update page table
Forgot to reserve a fence slot to use sdma to update page table, cause
below kernel BUG backtrace to handle vm retry fault while application is
exiting.
[ 133.048143] kernel BUG at /home/yangp/git/compute_staging/kernel/drivers/dma-buf/dma-resv.c:281!
[ 133.048487] Workqueue: events amdgpu_irq_handle_ih1 [amdgpu]
[ 133.048506] RIP: 0010:dma_resv_add_shared_fence+0x204/0x280
[ 133.048672] amdgpu_vm_sdma_commit+0x134/0x220 [amdgpu]
[ 133.048788] amdgpu_vm_bo_update_range+0x220/0x250 [amdgpu]
[ 133.048905] amdgpu_vm_handle_fault+0x202/0x370 [amdgpu]
[ 133.049031] gmc_v9_0_process_interrupt+0x1ab/0x310 [amdgpu]
[ 133.049165] ? kgd2kfd_interrupt+0x9a/0x180 [amdgpu]
[ 133.049289] ? amdgpu_irq_dispatch+0xb6/0x240 [amdgpu]
[ 133.049408] amdgpu_irq_dispatch+0xb6/0x240 [amdgpu]
[ 133.049534] amdgpu_ih_process+0x9b/0x1c0 [amdgpu]
[ 133.049657] amdgpu_irq_handle_ih1+0x21/0x60 [amdgpu]
[ 133.049669] process_one_work+0x29f/0x640
[ 133.049678] worker_thread+0x39/0x3f0
[ 133.049685] ? process_one_work+0x640/0x640
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.11.x
2021-04-21 11:10:35 -04:00
..
2021-04-21 11:10:35 -04:00
2021-01-05 07:20:36 +02:00
2021-01-07 10:46:32 +01:00
2020-12-15 15:46:03 +02:00
2020-11-06 10:31:26 +01:00
2021-01-06 15:38:30 +01:00
2020-12-15 15:46:03 +02:00
2021-01-06 15:42:55 +01:00
2021-02-21 14:44:44 -08:00
2021-03-19 20:15:48 +01:00
2021-03-29 19:53:23 +09:00
2020-11-06 10:31:26 +01:00
2021-02-22 08:50:01 -08:00
2021-01-15 10:06:00 +01:00
2020-08-06 14:27:31 -07:00
2020-09-11 10:54:17 +02:00
2021-04-12 08:00:33 -04:00
2021-03-25 07:48:34 +01:00
2020-12-15 15:46:03 +02:00
2021-01-07 13:02:57 +01:00
2021-02-10 15:26:00 +01:00
2020-12-15 10:21:48 +01:00
2021-02-05 09:25:26 +10:00
2021-03-11 11:11:33 +01:00
2021-01-18 15:41:12 +01:00
2021-01-06 15:43:13 +01:00
2021-04-09 10:33:38 +10:00
2020-12-15 17:25:55 +01:00
2021-03-25 10:00:04 +10:00
2021-03-17 13:59:23 +02:00
2021-04-06 16:51:29 +03:00
2021-02-10 15:26:00 +01:00
2021-02-22 14:27:07 -08:00
2021-03-11 11:11:33 +01:00
2021-01-18 15:41:04 +01:00
2021-04-08 00:36:40 -04:00
2021-03-16 03:12:36 +02:00
2021-02-25 10:18:45 +01:00
2020-11-12 20:31:01 +01:00
2021-02-10 15:26:00 +01:00
2020-11-17 20:08:29 +01:00
2020-11-06 10:31:26 +01:00
2021-01-05 07:20:21 +02:00
2020-12-15 15:46:03 +02:00
2021-02-21 14:44:44 -08:00
2021-01-05 07:20:36 +02:00
2021-03-30 19:51:39 +02:00
2020-11-10 14:34:16 +02:00
2021-02-22 13:59:10 -07:00
2021-03-11 11:11:33 +01:00
2021-03-11 11:11:33 +01:00
2020-12-30 11:25:05 +01:00
2021-03-11 11:11:33 +01:00
2021-02-10 15:26:00 +01:00
2021-01-06 15:44:04 +01:00
2021-04-08 14:55:02 +02:00
2020-11-30 15:00:45 +01:00
2020-11-27 16:14:02 +01:00
2021-02-09 17:16:57 +01:00
2021-01-15 17:45:07 -03:00
2021-04-14 16:41:31 -04:00
2021-03-26 07:40:10 +02:00
2021-02-03 11:42:34 +01:00
2021-01-05 07:20:24 +02:00
2021-01-19 09:06:38 +01:00
2021-01-25 14:35:44 +10:00
2020-11-16 20:48:20 +01:00
2020-11-16 09:56:55 +01:00
2020-12-15 12:53:37 -08:00
2020-12-17 16:56:40 +01:00
2020-11-02 14:04:53 +01:00
2021-01-19 09:06:38 +01:00
2021-01-14 09:42:31 +01:00
2021-02-09 17:16:57 +01:00
2020-11-24 09:27:54 +01:00
2020-12-15 15:46:03 +02:00
2020-11-16 20:48:20 +01:00
2021-02-08 12:20:38 +01:00
2020-10-21 12:19:54 +03:00
2021-01-07 11:24:50 +01:00
2020-09-01 09:45:44 +02:00
2020-10-15 13:58:54 -04:00
2021-01-29 17:05:15 +10:00
2021-02-21 14:44:44 -08:00
2021-01-19 10:22:14 +01:00
2020-12-10 10:49:47 +02:00
2021-01-05 07:20:25 +02:00
2021-01-19 09:06:38 +01:00
2021-01-04 12:59:33 +01:00
2021-03-11 11:08:14 +01:00
2021-02-24 21:05:54 +05:30
2020-10-20 20:51:42 +01:00
2020-11-16 20:48:20 +01:00
2020-11-30 13:38:27 +01:00
2021-03-11 11:11:33 +01:00
2020-11-09 09:17:36 +01:00
2021-01-19 15:37:14 +01:00
2021-01-18 10:37:26 +01:00
2021-01-05 07:20:25 +02:00
2021-03-11 11:11:33 +01:00
2020-10-21 18:05:11 +02:00
2021-01-19 09:06:38 +01:00
2021-02-08 12:20:38 +01:00
2021-01-13 14:22:37 +01:00
2020-09-21 10:45:08 +02:00
2021-01-13 14:22:29 +01:00
2020-08-11 11:58:31 +10:00
2021-01-07 13:40:20 +01:00
2020-11-16 20:48:20 +01:00
2021-01-14 19:37:53 +02:00
2020-08-11 11:58:31 +10:00
2020-08-04 11:45:23 +02:00
2020-08-16 17:12:18 +02:00
2021-01-19 09:06:38 +01:00
2021-01-25 14:35:44 +10:00
2021-01-18 10:37:26 +01:00
2021-01-05 07:19:50 +02:00
2020-11-16 20:48:20 +01:00
2021-01-04 12:59:33 +01:00
2021-01-20 10:28:39 +01:00
2020-08-06 11:55:43 -07:00
2021-02-24 21:05:54 +05:30
2021-01-19 09:06:38 +01:00
2021-03-12 11:20:02 +10:00
2021-01-13 14:22:37 +01:00