diff options
| author | Alexandre Courbot <acourbot@nvidia.com> | 2026-05-29 16:33:44 +0900 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-05-30 13:33:26 +0900 |
| commit | 75d59327367dc6e2141cf4e11cdf57c55851b5c2 (patch) | |
| tree | 5a36657bc8aee2af6f0e53de8f5bb839bb3df9fe /include/linux/timerqueue.h | |
| parent | adb99ce3cc78d277a719f15a8131eafc60162f22 (diff) | |
gpu: nova-core: gsp: run the unload bundle if Gsp::boot() fails
If `Gsp::boot` fails, the GSP can be left in a state where boot cannot
be attempted again unless it is reset first.
To avoid this, we want to run the unload bundle whenever `boot` fails to
try and clear the partially-initialized state.
Do this by wrapping the unload bundle into a drop guard up until `boot`
returns. After that, running the unload bundle becomes the
responsibility of the caller.
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260529-nova-unload-v7-4-678f39209e00@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
