diff options
| author | Yu Chien Peter Lin <[email protected]> | 2023-01-20 11:05:08 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-01-22 17:32:09 +0530 |
| commit | 8ecbe6d3fba6a655b5b5d8e39381187826ac750f (patch) | |
| tree | 87ca9efbec3276ee7ea1fe930e4e5b8445d5f72e /lib/utils/timer/objects.mk | |
| parent | ce2a834c989043895d339df4d61221eca2b428e9 (diff) | |
lib: sbi_hsm: handle failure when hart_stop returns SBI_ENOTSUPP
Make use of generic warm-boot path when platform hart_stop callback
returns SBI_ENOTSUPP, in case certain hart can not turn off its
power domain, or it detects some error occured in power management
unit, it can fall through warm-boot flow and wait for interrupt in
sbi_hsm_hart_wait().
Also improves comment in sbi_hsm_hart_wait().
Signed-off-by: Yu Chien Peter Lin <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions
