1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/amdkfd
Philip Yang a0c55ecee1 drm/amdkfd: process exit and retry fault race
kfd_process_wq_release drain retry fault to ensure no retry fault comes
after removing kfd process from the hash table, otherwise svm page fault
handler will fail to recover the fault and dump GPU vm fault log.

Refactor deferred list work to get_task_mm and take mmap write lock
to handle all ranges, and avoid mm is gone while inserting mmu notifier.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-11-24 14:06:53 -05:00
..
cik_event_interrupt.c drm/amdkfd: replace asic_family with asic_type 2021-11-17 17:10:01 -05:00
cik_int.h drm/amdkfd: Clean up reference of radeon 2018-07-11 22:33:08 -04:00
cik_regs.h drm/amdkfd: Delete a duplicate statement in set_pasid_vmid_mapping() 2018-11-05 14:21:13 -05:00
cwsr_trap_handler.h drm/amdkfd: Fix saving the ACC vgprs for Aldebaran 2021-03-23 22:56:55 -04:00
cwsr_trap_handler_gfx8.asm drm/amdkfd: Add aldebaran trap handler support 2021-03-10 00:02:24 -05:00
cwsr_trap_handler_gfx9.asm drm/amdkfd: Fix saving the ACC vgprs for Aldebaran 2021-03-23 22:56:55 -04:00
cwsr_trap_handler_gfx10.asm drm/amdkfd: Fix spurious debug exception on gfx10 2020-08-10 17:26:51 -04:00
Kconfig drm/amdkfd: Add CONFIG_HSA_AMD_SVM 2021-04-20 21:50:35 -04:00
kfd_chardev.c drm/amdkfd: replace asic_family with asic_type 2021-11-17 17:10:01 -05:00
kfd_crat.c drm/amdkfd: replace asic_family with asic_type 2021-11-17 17:10:01 -05:00
kfd_crat.h drm/amdkfd: Adjust weight to represent num_hops info when report xgmi iolink 2019-05-24 12:20:48 -05:00
kfd_dbgdev.c drm/amdkfd: replace kgd_dev in various kfd2kgd funcs 2021-11-17 16:58:01 -05:00
kfd_dbgdev.h drm/amdkfd: Clean up reference of radeon 2018-07-11 22:33:08 -04:00
kfd_dbgmgr.c drm/amdkfd: Use hex print format for pasid 2019-10-03 09:11:03 -05:00
kfd_dbgmgr.h drm, iommu: Change type of pasid to u32 2020-09-17 19:21:16 +02:00
kfd_debugfs.c drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug 2021-04-09 16:42:11 -04:00
kfd_device.c drm/amdkfd: Remove unused entries in table 2021-11-22 14:59:05 -05:00
kfd_device_queue_manager.c drm/amdkfd: Retrieve SDMA numbers from amdgpu 2021-11-22 14:46:03 -05:00
kfd_device_queue_manager.h drm/amdkfd: Add an optional argument into update queue operation(v2) 2021-10-28 14:26:13 -04:00
kfd_device_queue_manager_cik.c drm/amdkfd: Introduce asic-specific mqd_manager_init function 2019-05-24 12:21:02 -05:00
kfd_device_queue_manager_v9.c drm/amdkfd: convert misc checks to IP version checking 2021-11-17 17:09:46 -05:00
kfd_device_queue_manager_v10.c drm/amdkfd: Use same SQ prefetch setting as amdgpu 2020-10-21 23:06:07 -04:00
kfd_device_queue_manager_vi.c drm/amdkfd: Introduce asic-specific mqd_manager_init function 2019-05-24 12:21:02 -05:00
kfd_doorbell.c drm/amdkfd: Move process doorbell allocation into kfd device 2020-09-22 12:25:02 -04:00
kfd_events.c drm/amdkfd: convert misc checks to IP version checking 2021-11-17 17:09:46 -05:00
kfd_events.h drm, iommu: Change type of pasid to u32 2020-09-17 19:21:16 +02:00
kfd_flat_memory.c drm/amdkfd: replace asic_family with asic_type 2021-11-17 17:10:01 -05:00
kfd_int_process_v9.c drm/amdkfd: replace kgd_dev in various amgpu_amdkfd funcs 2021-11-17 16:58:01 -05:00
kfd_interrupt.c drm/amdkfd: fix a potential NULL pointer dereference (v2) 2019-10-03 09:11:00 -05:00
kfd_iommu.c IOMMU Updates for Linux v5.13 2021-05-01 09:33:00 -07:00
kfd_iommu.h drm/amdkfd: fix build error with AMD_IOMMU_V2=m 2021-03-23 23:28:11 -04:00
kfd_kernel_queue.c drm/amdkfd: replace asic_family with asic_type 2021-11-17 17:10:01 -05:00
kfd_kernel_queue.h drm/amdkfd: Eliminate unnecessary kernel queue function pointers 2019-12-05 16:24:36 -05:00
kfd_migrate.c drm/amdkfd: convert misc checks to IP version checking 2021-11-17 17:09:46 -05:00
kfd_migrate.h drm/amdkfd: fix svm_migrate_fini warning 2021-09-23 16:34:57 -04:00
kfd_module.c drm/amdgpu: Fix handling of KFD initialization failures 2020-09-22 12:24:11 -04:00
kfd_mqd_manager.c drm/amdkfd: replace kgd_dev in get amdgpu_amdkfd funcs 2021-11-17 16:58:02 -05:00
kfd_mqd_manager.h drm/amdkfd: Add an optional argument into update queue operation(v2) 2021-10-28 14:26:13 -04:00
kfd_mqd_manager_cik.c drm/amdkfd: replace kgd_dev in hqd/mqd kfd2kgd funcs 2021-11-17 16:58:01 -05:00
kfd_mqd_manager_v9.c drm/amdkfd: replace kgd_dev in various amgpu_amdkfd funcs 2021-11-17 16:58:01 -05:00
kfd_mqd_manager_v10.c drm/amdkfd: replace kgd_dev in hqd/mqd kfd2kgd funcs 2021-11-17 16:58:01 -05:00
kfd_mqd_manager_vi.c drm/amdkfd: replace kgd_dev in hqd/mqd kfd2kgd funcs 2021-11-17 16:58:01 -05:00
kfd_packet_manager.c drm/amdkfd: replace asic_family with asic_type 2021-11-17 17:10:01 -05:00
kfd_packet_manager_v9.c drm/amdkfd: add per-vmid-debug map_process_support 2021-04-23 17:16:05 -04:00
kfd_packet_manager_vi.c drm/amdkfd: dqm fence memory corruption 2021-04-09 16:47:06 -04:00
kfd_pasid.c drm, iommu: Change type of pasid to u32 2020-09-17 19:21:16 +02:00
kfd_pm4_headers.h drm/amdkfd: Update PM4 packet headers 2017-08-15 23:00:15 -04:00
kfd_pm4_headers_ai.h drm/amdkfd: Support bigger gds size 2019-07-18 14:18:03 -05:00
kfd_pm4_headers_aldebaran.h drm/amdkfd: add per-vmid-debug map_process_support 2021-04-23 17:16:05 -04:00
kfd_pm4_headers_diq.h drm/amdkfd: Add skeleton H/W debugger module support 2015-06-03 11:32:28 +03:00
kfd_pm4_headers_vi.h drm/amdkfd: Delete alloc_format field from map_queue struct 2019-05-24 12:21:03 -05:00
kfd_pm4_opcodes.h amdkfd: Add kernel queue module 2014-07-17 00:45:35 +03:00
kfd_priv.h drm/amdkfd: Remove unused entries in table 2021-11-22 14:59:05 -05:00
kfd_process.c drm/amdkfd: convert misc checks to IP version checking 2021-11-17 17:09:46 -05:00
kfd_process_queue_manager.c drm/amdkfd: replace trivial funcs with direct access 2021-11-17 16:58:11 -05:00
kfd_queue.c drm/amdkfd: use %px to print user space address instead of %p 2018-05-01 17:56:04 -04:00
kfd_smi_events.c drm/amdkfd: replace/remove remaining kgd_dev references 2021-11-17 16:58:02 -05:00
kfd_smi_events.h drm/amdkfd: Update SMI throttle event bitmask 2021-07-23 10:08:00 -04:00
kfd_svm.c drm/amdkfd: process exit and retry fault race 2021-11-24 14:06:53 -05:00
kfd_svm.h drm/amdkfd: export svm_range_list_lock_and_flush_work 2021-10-13 14:14:34 -04:00
kfd_topology.c drm/amdkfd: Retrieve SDMA numbers from amdgpu 2021-11-22 14:46:03 -05:00
kfd_topology.h drm/amdkfd: Add sysfs bitfields and enums to uAPI 2021-11-17 16:58:03 -05:00
Makefile drm/amdkfd: Add CONFIG_HSA_AMD_SVM 2021-04-20 21:50:35 -04:00
soc15_int.h drm/amdkfd: add sdma poison consumption handling 2021-06-07 14:57:24 -04:00