linux/drivers/gpu/drm/amd/amdkfd
Jonathan Kim 0cac183b98 drm/amdkfd: range check cp bad op exception interrupts
Due to a CP interrupt bug, bad packet garbage exception codes are raised.
Do a range check so that the debugger and runtime do not receive garbage
codes.
Update the user api to guard exception code type checking as well.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Tested-by: Jesse Zhang <jesse.zhang@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-03-27 08:53:02 -04:00
..
cik_event_interrupt.c
cik_int.h
cik_regs.h
cwsr_trap_handler.h drm/amdkfd: Use SQC when TCP would fail in gfx10.1 context save 2024-03-06 15:24:50 -05:00
cwsr_trap_handler_gfx8.asm
cwsr_trap_handler_gfx9.asm drm/amdkfd: Use S_ENDPGM_SAVED in trap handler 2024-01-29 15:38:20 -05:00
cwsr_trap_handler_gfx10.asm drm/amdkfd: Use SQC when TCP would fail in gfx10.1 context save 2024-03-06 15:24:50 -05:00
Kconfig
kfd_chardev.c drm/amdkfd: Check cgroup when returning DMABuf info 2024-03-27 08:49:29 -04:00
kfd_crat.c drm/amdkfd: add KFD support for GC 11.5.1 2024-02-22 10:27:10 -05:00
kfd_crat.h drm/amdkfd: Add cache line sizes to KFD topology 2024-02-07 12:25:51 -05:00
kfd_debug.c drm/amdkfd: Fix variable dereferenced before NULL check in 'kfd_dbg_trap_device_snapshot()' 2024-01-15 18:35:37 -05:00
kfd_debug.h
kfd_debugfs.c
kfd_device.c drm/amdkfd: Increase the size of the memory reserved for the TBA 2024-03-06 15:24:49 -05:00
kfd_device_queue_manager.c drm/amdkfd: Skip packet submission on fatal error 2024-02-26 11:14:31 -05:00
kfd_device_queue_manager.h
kfd_device_queue_manager_cik.c
kfd_device_queue_manager_v9.c
kfd_device_queue_manager_v10.c
kfd_device_queue_manager_v11.c
kfd_device_queue_manager_vi.c
kfd_doorbell.c
kfd_events.c drm/amdgpu: Add log info for umc_v12_0 2024-01-22 17:13:25 -05:00
kfd_events.h
kfd_flat_memory.c drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole 2024-02-16 15:41:50 -05:00
kfd_int_process_v9.c drm/amdkfd: range check cp bad op exception interrupts 2024-03-27 08:53:02 -04:00
kfd_int_process_v10.c drm/amdkfd: range check cp bad op exception interrupts 2024-03-27 08:53:02 -04:00
kfd_int_process_v11.c drm/amdkfd: range check cp bad op exception interrupts 2024-03-27 08:53:02 -04:00
kfd_interrupt.c
kfd_kernel_queue.c drm/amdkfd: Skip packet submission on fatal error 2024-02-26 11:14:31 -05:00
kfd_kernel_queue.h drm/amdkfd: Skip packet submission on fatal error 2024-02-26 11:14:31 -05:00
kfd_migrate.c drm/amdkfd: Correct partial migration virtual addr 2024-01-29 15:36:47 -05:00
kfd_migrate.h drm/amdkfd: Use partial migrations/mapping for GPU/CPU page faults in SVM 2023-12-06 15:22:32 -05:00
kfd_module.c
kfd_mqd_manager.c
kfd_mqd_manager.h drm/amdkfd: fill in data for control stack header for gfx10 2024-02-12 16:05:26 -05:00
kfd_mqd_manager_cik.c
kfd_mqd_manager_v9.c drm/amdkfd: update SIMD distribution algo for GFXIP 9.4.2 onwards 2024-02-14 17:15:26 -05:00
kfd_mqd_manager_v10.c drm/amdgpu/gfx10: set UNORD_DISPATCH in compute MQDs 2024-01-25 14:48:58 -05:00
kfd_mqd_manager_v11.c drm/amdgpu: Fix implicit assumtion in gfx11 debug flags 2024-02-14 17:15:35 -05:00
kfd_mqd_manager_vi.c
kfd_packet_manager.c drm/amdkfd: Skip packet submission on fatal error 2024-02-26 11:14:31 -05:00
kfd_packet_manager_v9.c
kfd_packet_manager_vi.c
kfd_pasid.c
kfd_pm4_headers.h
kfd_pm4_headers_ai.h
kfd_pm4_headers_aldebaran.h
kfd_pm4_headers_vi.h
kfd_pm4_opcodes.h
kfd_priv.h drm/amdkfd: fix TLB flush after unmap for GFX9.4.2 2024-03-27 08:51:47 -04:00
kfd_process.c drm/amdkfd: Fix sparse __rcu annotation warnings 2024-01-09 15:44:13 -05:00
kfd_process_queue_manager.c drm/amdkfd: update SIMD distribution algo for GFXIP 9.4.2 onwards 2024-02-14 17:15:26 -05:00
kfd_queue.c
kfd_smi_events.c drm/amdgpu: change vm->task_info handling 2024-03-04 15:59:08 -05:00
kfd_smi_events.h
kfd_svm.c drm/amdgpu: Auto-validate DMABuf imports in compute VMs 2024-01-15 18:35:35 -05:00
kfd_svm.h drm/amdkfd: Use partial migrations/mapping for GPU/CPU page faults in SVM 2023-12-06 15:22:32 -05:00
kfd_topology.c drm/amdkfd: Add partition id field to location_id 2024-02-26 11:15:38 -05:00
kfd_topology.h
Makefile
soc15_int.h