[PATCH] drm/amdgpu: added RAS EEPROM device support check

Chen, Guchun Guchun.Chen at amd.com
Mon Aug 3 07:25:13 UTC 2020


[AMD Public Use]

Please put the check __is_ras_eeprom_supported behind the line '*exceed_err_limit = false;' in function amdgpu_ras_eeprom_init and amdgpu_ras_eeprom_check_err_threshold respectively. That promises, even when eeprom is not available on several ASICs, exceed_err_limit must set to be false.

With above fixed, the patch is:
Reviewed-by: Guchun Chen guchun.chen at amd.com<mailto:guchun.chen at amd.com>

Regards,
Guchun

From: Clements, John <John.Clements at amd.com>
Sent: Monday, August 3, 2020 2:48 PM
To: amd-gfx list <amd-gfx at lists.freedesktop.org>; Chen, Guchun <Guchun.Chen at amd.com>; Zhang, Hawking <Hawking.Zhang at amd.com>
Subject: [PATCH] drm/amdgpu: added RAS EEPROM device support check


[AMD Public Use]

Submitting patch to with added device support check before trying to access RAS EEPROM.

Thank you,
John Clements
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200803/201187b3/attachment.htm>


More information about the amd-gfx mailing list