RE: [PATCH 2/5] drm/amdgpu: validate bad page threshold in ras

2020-07-22 Thread Chen, Guchun
age- From: Yang, Stanley Sent: Wednesday, July 22, 2020 3:52 PM To: Chen, Guchun ; amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Zhang, Hawking ; Li, Dennis ; Zhou1, Tao ; Clements, John Subject: RE: [PATCH 2/5] drm/amdgpu: validate bad page threshold in ras [AMD Official Use O

RE: [PATCH 2/5] drm/amdgpu: validate bad page threshold in ras

2020-07-22 Thread Yang, Stanley
; Yang, > Stanley ; Zhou1, Tao ; > Clements, John > Cc: Chen, Guchun > Subject: [PATCH 2/5] drm/amdgpu: validate bad page threshold in ras > > Bad page threshold value should be valid in the range between > -1 and max records length of eeprom. It could determine when the G

[PATCH 2/5] drm/amdgpu: validate bad page threshold in ras

2020-07-21 Thread Guchun Chen
Bad page threshold value should be valid in the range between -1 and max records length of eeprom. It could determine when the GPU should be retired. Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 43 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h