]> Git Repo - linux.git/commitdiff
drm/amdgpu: Clarify error when hitting bad page threshold
authorKent Russell <[email protected]>
Tue, 19 Oct 2021 13:53:17 +0000 (09:53 -0400)
committerAlex Deucher <[email protected]>
Wed, 20 Oct 2021 15:43:57 +0000 (11:43 -0400)
Change the error message when the bad_page_threshold is reached,
explicitly stating that the GPU will not be initialized.

Cc: Luben Tuikov <[email protected]>
Cc: Mukul Joshi <[email protected]>
Signed-off-by: Kent Russell <[email protected]>
Reviewed-by: Luben Tuikov <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c

index 98732518543e539e601866a4beda3666732408db..f4c05ff4b26c5d7fa8ba7e66da8df216fefa61a4 100644 (file)
@@ -1101,7 +1101,7 @@ int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control,
                        *exceed_err_limit = true;
                        dev_err(adev->dev,
                                "RAS records:%d exceed threshold:%d, "
-                               "maybe retire this GPU?",
+                               "GPU will not be initialized. Replace this GPU or increase the threshold",
                                control->ras_num_recs, ras->bad_page_cnt_threshold);
                }
        } else {
This page took 0.059888 seconds and 4 git commands to generate.