Commit 2e97663
drm/amdgpu: Report individual reset error
If reinitialization of one of the GPUs fails after reset, it logs
failure on all subsequent GPUs eventhough they have resumed
successfully.
A sample log where only device at 0000:95:00.0 had a failure -
amdgpu 0000:15:00.0: amdgpu: GPU reset(19) succeeded!
amdgpu 0000:65:00.0: amdgpu: GPU reset(19) succeeded!
amdgpu 0000:75:00.0: amdgpu: GPU reset(19) succeeded!
amdgpu 0000:85:00.0: amdgpu: GPU reset(19) succeeded!
amdgpu 0000:95:00.0: amdgpu: GPU reset(19) failed
amdgpu 0000:e5:00.0: amdgpu: GPU reset(19) failed
amdgpu 0000:f5:00.0: amdgpu: GPU reset(19) failed
amdgpu 0000:05:00.0: amdgpu: GPU reset(19) failed
amdgpu 0000:15:00.0: amdgpu: GPU reset end with ret = -5
To avoid confusion, report the error for each device
separately and return the first error as the overall result.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Asad Kamal <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>1 parent a107aeb commit 2e97663
1 file changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6389 | 6389 | | |
6390 | 6390 | | |
6391 | 6391 | | |
6392 | | - | |
6393 | | - | |
6394 | | - | |
6395 | | - | |
6396 | | - | |
6397 | | - | |
| 6392 | + | |
6398 | 6393 | | |
6399 | 6394 | | |
6400 | 6395 | | |
6401 | 6396 | | |
6402 | 6397 | | |
6403 | 6398 | | |
6404 | | - | |
6405 | | - | |
6406 | | - | |
| 6399 | + | |
| 6400 | + | |
| 6401 | + | |
| 6402 | + | |
| 6403 | + | |
| 6404 | + | |
| 6405 | + | |
| 6406 | + | |
| 6407 | + | |
| 6408 | + | |
| 6409 | + | |
| 6410 | + | |
6407 | 6411 | | |
6408 | | - | |
| 6412 | + | |
| 6413 | + | |
6409 | 6414 | | |
6410 | 6415 | | |
6411 | 6416 | | |
| |||
0 commit comments