2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/amdkfd
Lancelot SIX d584198a6f drm/amdkfd: Ensure consistent barrier state saved in gfx12 trap handler
It is possible for some waves in a workgroup to finish their save
sequence before the group leader has had time to capture the workgroup
barrier state.  When this happens, having those waves exit do impact the
barrier state.  As a consequence, the state captured by the group leader
is invalid, and is eventually incorrectly restored.

This patch proposes to have all waves in a workgroup wait for each other
at the end of their save sequence (just before calling s_endpgm_saved).

Signed-off-by: Lancelot SIX <lancelot.six@amd.com>
Reviewed-by: Jay Cornwall <jay.cornwall@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.12.x
2025-02-12 19:47:15 -05:00
..
cik_event_interrupt.c
cik_int.h
cik_regs.h
cwsr_trap_handler_gfx8.asm
cwsr_trap_handler_gfx9.asm drm/amdkfd: Clear MODE.VSKIP in gfx9 trap handler 2025-01-24 09:53:05 -05:00
cwsr_trap_handler_gfx10.asm drm/amdkfd: Move gfx12 trap handler to separate file 2025-01-09 16:02:56 -05:00
cwsr_trap_handler_gfx12.asm drm/amdkfd: Ensure consistent barrier state saved in gfx12 trap handler 2025-02-12 19:47:15 -05:00
cwsr_trap_handler.h drm/amdkfd: Ensure consistent barrier state saved in gfx12 trap handler 2025-02-12 19:47:15 -05:00
Kconfig
kfd_chardev.c drm/amdkfd: Accounting pdd vram_usage for svm 2024-10-15 11:22:19 -04:00
kfd_crat.c drm/amdkfd: add gc 9.5.0 support on kfd 2024-12-10 10:26:51 -05:00
kfd_crat.h drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device 2024-05-08 18:46:26 -04:00
kfd_debug.c drm/amdkfd: fixed page fault when enable MES shader debugger 2025-01-06 14:44:07 -05:00
kfd_debug.h drm/amdkfd: add gc 9.5.0 support on kfd 2024-12-10 10:26:51 -05:00
kfd_debugfs.c
kfd_device_queue_manager_cik.c
kfd_device_queue_manager_v9.c drm/amdkfd: add gc 9.5.0 support on kfd 2024-12-10 10:26:51 -05:00
kfd_device_queue_manager_v10.c
kfd_device_queue_manager_v11.c
kfd_device_queue_manager_v12.c drm/amdkfd: Added device queue manager files for GFX12. 2024-05-02 16:18:12 -04:00
kfd_device_queue_manager_vi.c
kfd_device_queue_manager.c drm/amdkfd: Block per-queue reset when halt_if_hws_hang=1 2025-01-28 16:22:02 -05:00
kfd_device_queue_manager.h drm/amdkfd: remove extra use of volatile 2024-10-24 18:04:49 -04:00
kfd_device.c drm/amdkfd: Queue interrupt work to different CPU 2024-12-18 12:39:07 -05:00
kfd_doorbell.c
kfd_events.c drm/amdkfd: Improve signal event slow path 2024-12-18 12:39:07 -05:00
kfd_events.h
kfd_flat_memory.c drm/amdkfd: Use device based logging for errors 2024-07-01 16:10:47 -04:00
kfd_int_process_v9.c drm/amdgpu: Prefer RAS recovery for scheduler hang 2024-12-10 10:26:46 -05:00
kfd_int_process_v10.c drm/amdkfd: clean up code for interrupt v10 2024-09-17 10:04:57 -04:00
kfd_int_process_v11.c drm/amdkfd: Update BadOpcode Interrupt handling with MES 2024-08-20 22:14:13 -04:00
kfd_interrupt.c drm/amdgpu: Show warning message if IH ring overflow 2024-12-18 12:39:07 -05:00
kfd_kernel_queue.c drm/amdkfd: Use the correct wptr size 2024-11-21 15:55:20 -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: Fix partial migrate issue 2025-01-24 09:52:08 -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_cik.c drm/amdkfd: Check preemption status on all XCDs 2024-03-20 13:38:12 -04:00
kfd_mqd_manager_v9.c drm/amdkfd: add gc 9.5.0 support on kfd 2024-12-10 10:26:51 -05:00
kfd_mqd_manager_v10.c drm/amdkfd: Check preemption status on all XCDs 2024-03-20 13:38:12 -04:00
kfd_mqd_manager_v11.c drm/amdkfd: Check preemption status on all XCDs 2024-03-20 13:38:12 -04:00
kfd_mqd_manager_v12.c drm/amdkfd: Add SDMA queue quantum support for GFX12 2024-09-25 12:56:46 -04:00
kfd_mqd_manager_vi.c drm/amdkfd: Check preemption status on all XCDs 2024-03-20 13:38:12 -04:00
kfd_mqd_manager.c drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer 2024-07-23 17:34:44 -04:00
kfd_mqd_manager.h drm/amdkfd: Check preemption status on all XCDs 2024-03-20 13:38:12 -04:00
kfd_packet_manager_v9.c drm/amdkfd: Enable processes isolation on gfx9 2024-08-20 22:08:07 -04:00
kfd_packet_manager_vi.c
kfd_packet_manager.c drm/amdkfd: add gc 9.5.0 support on kfd 2024-12-10 10:26:51 -05:00
kfd_pasid.c
kfd_pm4_headers_ai.h drm/amdkfd: Enable processes isolation on gfx9 2024-08-20 22:08:07 -04:00
kfd_pm4_headers_aldebaran.h drm/amdkfd: Enable processes isolation on gfx9 2024-08-20 22:08:07 -04:00
kfd_pm4_headers_vi.h
kfd_pm4_headers.h
kfd_pm4_opcodes.h
kfd_priv.h drm/amdkfd: always include uapi header in priv.h 2025-01-06 14:44:29 -05:00
kfd_process_queue_manager.c amdkfd: properly free gang_ctx_bo when failed to init user queue 2025-02-12 19:47:15 -05:00
kfd_process.c drm/amdkfd: wq_release signals dma_fence only when available 2025-01-06 14:44:28 -05:00
kfd_queue.c drm/amdkfd: update the cwsr area size for gfx950 2024-12-10 10:26:51 -05:00
kfd_smi_events.c Revert "drm/amdkfd: SMI report dropped event count" 2024-10-22 17:51:20 -04:00
kfd_smi_events.h drm/amdkfd: Output migrate end event if migrate failed 2024-10-07 14:09:02 -04:00
kfd_svm.c drm/amd: update mtype flags for gfx 9.5.0 2024-12-10 10:26:50 -05:00
kfd_svm.h drm/amdkfd: Change kfd/svm page fault drain handling 2024-08-23 10:55:13 -04:00
kfd_topology.c drm/amdkfd: Uninitialized pointer read 2024-12-10 10:39:11 -05:00
kfd_topology.h drm/amdkfd: allow users to target recommended SDMA engines 2024-07-25 17:43:41 -04:00
Makefile drm/amdkfd: Added device queue manager files for GFX12. 2024-05-02 16:18:12 -04:00
soc15_int.h drm/amdkfd: Check int source id for utcl2 poison event 2024-08-23 10:52:33 -04:00