summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Russell <kent.russell@amd.com>2021-10-19 09:53:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-10-20 11:43:57 -0400
commitdcd5ea9f9428d1c95b59416cf1d7af92fd5d0b45 (patch)
tree9994c94fb862c66882582ae5140f07ecb9aca87d
parent0d055f09e12104e08398a27ba38bd7e2cef2a92b (diff)
drm/amdgpu: Clarify error when hitting bad page threshold
Change the error message when the bad_page_threshold is reached, explicitly stating that the GPU will not be initialized. Cc: Luben Tuikov <luben.tuikov@amd.com> Cc: Mukul Joshi <Mukul.Joshi@amd.com> Signed-off-by: Kent Russell <kent.russell@amd.com> Reviewed-by: Luben Tuikov <luben.tuikov@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
index 98732518543e..f4c05ff4b26c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
@@ -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 {