Commit a0d866b
accel/habanalabs/gaudi2: read preboot status after recovering from dirty state
Dirty state can occur when the host VM undergoes a reset while the
device does not. In such a case, the driver must reset the device before
it can be used again. As part of this reset, the device capabilities
are zeroed. Therefore, the driver must read the Preboot status again to
learn the Preboot state, capabilities, and security configuration.
Signed-off-by: Konstantin Sinyuk <[email protected]>
Reviewed-by: Koby Elbaz <[email protected]>
Signed-off-by: Koby Elbaz <[email protected]>1 parent 65a3f5b commit a0d866b
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3498 | 3498 | | |
3499 | 3499 | | |
3500 | 3500 | | |
3501 | | - | |
3502 | 3501 | | |
3503 | 3502 | | |
3504 | 3503 | | |
| |||
3510 | 3509 | | |
3511 | 3510 | | |
3512 | 3511 | | |
| 3512 | + | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
3513 | 3519 | | |
3514 | 3520 | | |
3515 | 3521 | | |
| |||
0 commit comments