Commit 09d9747
arch: Add warning for unset reboot reason before system reset
Reboot reason is one of the most critical pieces of information for
diagnosing why a system rebooted. Without it, post-mortem debugging
becomes extremely difficult.
So, add validation check for reboot reason before reset and display
warning message if reboot reason is not set
And, add missing sched_unlock(). it is needed when board_reset is failed.
Signed-off-by: eunwoo.nam <eunwoo.nam@samsung.com>1 parent 3a68fdf commit 09d9747
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
155 | 162 | | |
156 | 163 | | |
157 | 164 | | |
| 165 | + | |
| 166 | + | |
158 | 167 | | |
159 | 168 | | |
160 | 169 | | |
| |||
0 commit comments