drm/amdgpu: Skip IP coredump for RAS errors
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 4 Nov 2024 04:33:15 +0000 (10:03 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Nov 2024 17:06:23 +0000 (12:06 -0500)
For RAS errors, source of error is known. Skip the core dump of IP
states.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

index 1d9eda8..b772299 100644 (file)
@@ -2605,6 +2605,7 @@ static void amdgpu_ras_do_recovery(struct work_struct *work)
                reset_context.method = AMD_RESET_METHOD_NONE;
                reset_context.reset_req_dev = adev;
                reset_context.src = AMDGPU_RESET_SRC_RAS;
+               set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags);
 
                /* Perform full reset in fatal error mode */
                if (!amdgpu_ras_is_poison_mode_supported(ras->adev))