dmr/amdgpu: Add system auto reboot to RAS.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 22 Aug 2019 19:01:37 +0000 (15:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:41:17 +0000 (17:41 -0500)
commitd5ea093eebf022ec69970107db45dc06318d7e5a
treef58a3725cc14fbde17f0189db9f595882eeed343
parent7c6e68c777f109484559a35b125a773439bbd319
dmr/amdgpu: Add system auto reboot to RAS.

In case of RAS error allow user configure auto system
reboot through ras_ctrl.
This is also part of the temproray work around for the RAS
hang problem.

v4: Use latest kernel API for disk sync.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@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_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h