Commit 51dde90
arch/arm/armv7-a: move up_set_cpu_state call to arm_start_handler
Previously, up_set_cpu_state(CPU_RUNNING) was called in up_cpu_on()
before sending SGI1. This caused the CPU state to be updated even
when the target CPU failed to receive SGI1 and did not actually start.
Move up_set_cpu_state() to arm_start_handler(), which is the SGI1
handler executed on the target CPU, ensuring the state is only
updated after the CPU has successfully started.
Signed-off-by: Eunwoo Nam <eunwoo.nam@samsung.com>1 parent b0de157 commit 51dde90
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
| |||
190 | 194 | | |
191 | 195 | | |
192 | 196 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments