drm/amdgpu: skip bad page reservation once issuing from eeprom write
authorGuchun Chen <guchun.chen@amd.com>
Thu, 23 Jul 2020 07:50:42 +0000 (15:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:26:38 +0000 (17:26 -0400)
commit35cd2cdadbccf08e9b4d5a8fca4914dc37ab48e0
treedd0e974592882af0a91a0de703c873482030913c
parentb82e65a93510465cb4c203c938245f137a4e95dc
drm/amdgpu: skip bad page reservation once issuing from eeprom write

Once the ras recovery is issued from eeprom write itself,
bad page reservation should be ignored, otherwise, recursive
calling of writting to eeprom would happen.

Signed-off-by: Guchun Chen <guchun.chen@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
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h