]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdkfd: Add GPU recoverable fault SMI event
authorPhilip Yang <Philip.Yang@amd.com>
Fri, 14 Jan 2022 00:22:54 +0000 (19:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jun 2022 19:30:54 +0000 (15:30 -0400)
commite0f1e65b836c42741288a367eab565167a408b59
tree66c6dd0ba9fff96cf1fcf305e2dcc5dfbc2f1215
parent163a5a58437062ce4dbef2aab6de4d784043bcf5
drm/amdkfd: Add GPU recoverable fault SMI event

Use ktime_get_boottime_ns() as timestamp to correlate with other
APIs. Output timestamp when GPU recoverable fault starts and ends to
recover the fault, if migration happened or only GPU page table is
updated to recover, fault address, if read or write fault.

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>
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.h