Surbhi Kakarya
b6fd6e0f5e
drm/amdgpu: Check the memory can be accesssed by ttm_device_clear_dma_mappings.
...
If the event guard is enabled and VF doesn't receive an ack from PF for full access,
the guest driver load crashes.
This is caused due to the call to ttm_device_clear_dma_mappings with non-initialized
mman during driver tear down.
This patch adds the necessary condition to check if the mman initialization passed or not
and takes the path based on the condition output.
Signed-off-by: Surbhi Kakarya <Surbhi.Kakarya@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-30 08:54:43 -05:00
..
2021-12-30 08:54:43 -05:00
2021-08-16 12:18:46 +02:00
2021-11-04 08:21:47 -07:00
2021-06-24 15:40:11 +02:00
2021-10-28 14:59:38 +10:00
2021-08-10 20:00:58 +02:00
2021-10-12 11:17:41 +02:00
2021-11-04 08:21:47 -07:00
2021-10-25 14:53:08 +02:00
2021-08-10 20:13:25 +02:00
2021-10-04 09:34:55 -04:00
2021-10-04 12:06:14 +02:00
2021-07-30 14:52:00 +10:00
2021-10-15 15:04:44 +10:00
2021-08-10 20:14:01 +02:00
2021-11-12 12:11:07 -08:00
2021-11-05 19:08:44 +01:00
2021-08-11 15:49:15 +02:00
2021-10-21 11:08:09 +02:00
2021-08-30 10:58:20 +02:00
2021-09-07 22:50:17 +02:00
2021-11-03 17:00:52 -07:00
2021-09-14 09:25:30 +02:00
2021-09-25 08:20:48 -07:00
2021-09-23 09:26:09 +02:00
2021-10-28 15:07:48 +10:00
2021-11-05 13:50:15 +10:00
2021-11-12 12:11:07 -08:00
2021-11-04 08:21:47 -07:00
2021-11-05 13:50:15 +10:00
2021-09-20 14:34:37 +01:00
2021-07-31 20:52:01 +02:00
2021-09-15 08:21:32 +02:00
2021-10-28 14:59:38 +10:00
2021-12-14 16:11:02 -05:00
2021-10-13 07:44:04 +10:00
2021-10-28 14:59:38 +10:00
2021-05-03 19:48:30 +02:00
2021-10-07 14:49:11 +02:00
2021-10-22 11:09:45 +02:00
2021-10-07 05:42:18 +03:00
2021-05-03 19:48:33 +02:00
2021-10-07 05:42:17 +03:00
2021-09-09 14:58:27 +02:00
2021-10-28 14:59:38 +10:00
2021-11-04 08:21:47 -07:00
2021-08-10 20:13:49 +02:00
2021-10-15 16:48:51 -07:00
2021-09-15 08:21:32 +02:00
2021-11-12 13:06:41 +10:00
2021-06-24 15:40:11 +02:00
2021-11-05 11:15:14 +01:00
2021-10-11 21:21:14 +01:00
2021-09-23 09:26:09 +02:00
2021-10-28 14:59:38 +10:00
2021-08-12 21:41:10 +02:00
2021-08-10 20:14:01 +02:00
2021-11-08 13:54:41 +01:00
2021-08-08 20:27:52 +02:00
2021-11-12 12:11:07 -08:00
2021-06-24 15:40:11 +02:00
2021-08-09 02:28:05 +03:00
2021-05-11 14:13:33 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-05 12:08:15 +02:00
2021-04-22 10:46:35 +02:00
2021-09-24 19:25:23 +02:00
2021-08-02 10:19:43 +02:00
2021-10-04 11:47:24 +02:00
2021-10-04 09:34:57 -04:00
2021-10-11 21:46:58 +02:00
2021-05-16 22:01:14 +02:00
2021-10-04 09:34:57 -04:00
2021-08-20 12:35:59 +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
2021-03-31 15:42:39 +03:00
2021-04-26 18:19:15 +02:00
2021-08-11 08:47:08 +10:00
2021-04-27 18:43:42 -04:00
2021-04-27 18:43:45 -04:00
2021-09-20 18:45:35 +03:00
2021-11-09 10:11:53 -08:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-10-28 14:59:38 +10:00
2021-05-25 11:42:09 +01:00
2021-10-15 15:04:05 +10:00
2021-08-02 10:19:43 +02:00
2021-10-04 12:04:19 +02:00
2021-10-28 17:20:45 +10:00
2021-10-04 09:34:57 -04:00
2021-08-08 20:26:16 +02:00
2021-06-01 17:27:20 +01:00
2021-10-25 14:53:08 +02:00
2021-11-04 08:21:47 -07:00
2021-06-02 11:07:25 +02:00
2021-08-23 13:54:55 +02:00
2021-10-07 14:49:11 +02:00
2021-08-02 10:19:43 +02:00
2021-05-17 21:19:48 +02:00
2021-08-17 13:56:03 -04:00
2021-08-28 19:00:20 +02:00
2021-08-10 20:14:01 +02:00
2021-08-18 14:33:47 +02:00
2021-10-01 15:55:47 +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
2021-07-23 20:17:59 +02:00
2021-09-24 19:25:33 +02:00
2021-11-09 10:02:50 -08:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-11-11 08:14:19 +10:00
2021-09-14 10:39:01 +02:00
2021-11-12 09:23:16 +10:00
2021-07-13 06:38:37 -07:00
2021-05-17 21:19:48 +02:00
2021-10-07 12:24:44 +02:00
2021-08-02 10:19:43 +02:00
2021-11-12 12:11:07 -08:00
2021-08-19 09:02:55 +09:00
2021-09-28 12:29:13 +02:00
2021-10-07 05:42:13 +03:00
2021-08-02 10:19:43 +02:00
2021-08-08 20:14:08 +02:00
2021-08-02 10:19:43 +02:00
2021-08-20 12:35:59 +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-05 18:52:47 +01:00
2021-08-26 11:19:08 +02:00