Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: Log RAS errors during load

During driver load, RAS event manager may not be initialized. This will
cause any ATHUB event during driver load to be skipped in dmesg log. Log
the error in dmesg log for easier diagnosis.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Lijo Lazar and committed by
Alex Deucher
937467b7 648a0dc0

+4 -1
+4 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
··· 4498 4498 enum ras_event_type type = RAS_EVENT_TYPE_FATAL; 4499 4499 u64 event_id; 4500 4500 4501 - if (amdgpu_ras_mark_ras_event(adev, type)) 4501 + if (amdgpu_ras_mark_ras_event(adev, type)) { 4502 + dev_err(adev->dev, 4503 + "uncorrectable hardware error (ERREVENT_ATHUB_INTERRUPT) detected!\n"); 4502 4504 return; 4505 + } 4503 4506 4504 4507 event_id = amdgpu_ras_acquire_event_id(adev, type); 4505 4508