Commit 0e429c9
ANDROID: power: wakeup_reason: convert wakeup_reason_lock to raw_spinlock_t for PREEMPT_RT
<3>[ 141.648698][ C0] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:970
<3>[ 141.648723][ C0] in_atomic(): 1, irqs_disabled(): 128, non_block: 0, pid: 0, name: swapper/0
<4>[ 141.648739][ C0] INFO: lockdep is turned off.
<4>[ 141.648745][ C0] irq event stamp: 22142
<4>[ 141.648751][ C0] hardirqs last enabled at (22141): [<ffffffc010139a98>] tick_nohz_idle_exit+0x90/0x134
<4>[ 141.648785][ C0] hardirqs last disabled at (22142): [<ffffffc01139fdd8>] __schedule+0x80/0x6d4
<4>[ 141.648812][ C0] softirqs last enabled at (2818): [<ffffffc010056c20>] __local_bh_enable_ip+0x1f4/0x258
<4>[ 141.648840][ C0] softirqs last disabled at (2812): [<ffffffc01015f654>] local_bh_disable+0x4/0x30
<3>[ 141.648867][ C0] Preemption disabled at:
<3>[ 141.648872][ C0] [<ffffffc0113a0570>] schedule_preempt_disabled+0x20/0x2c
<4>[ 141.648900][ C0] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 5.10.66-rt53 #6
<4>[ 141.648918][ C0] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
<4>[ 141.648927][ C0] Call trace:
<4>[ 141.648932][ C0] dump_backtrace+0x0/0x1c4
<4>[ 141.648956][ C0] show_stack+0x18/0x24
<4>[ 141.648977][ C0] dump_stack_lvl+0xec/0x148
<4>[ 141.648993][ C0] dump_stack+0x18/0x64
<4>[ 141.649008][ C0] ___might_sleep+0x1b4/0x1c4
<4>[ 141.649030][ C0] rt_spin_lock+0x70/0xd8
<4>[ 141.649046][ C0] log_abnormal_wakeup_reason+0x64/0xd8
<4>[ 141.649066][ C0] handle_fasteoi_irq+0x224/0x228
<4>[ 141.649084][ C0] __handle_domain_irq+0xb0/0x11c
<4>[ 141.649105][ C0] gic_handle_irq+0x74/0x14c
<4>[ 141.649123][ C0] el1_irq+0xd0/0x1c0
<4>[ 141.649138][ C0] cpuidle_enter_state+0x184/0x2d0
<4>[ 141.649156][ C0] cpuidle_enter+0x38/0x50
<4>[ 141.649170][ C0] cpuidle_idle_call+0x188/0x278
<4>[ 141.649189][ C0] do_idle+0xb8/0x10c
<4>[ 141.649205][ C0] cpu_startup_entry+0x24/0x28
<4>[ 141.649222][ C0] rest_init+0x1ec/0x1fc
<4>[ 141.649240][ C0] arch_call_rest_init+0x10/0x1c
<4>[ 141.649260][ C0] start_kernel+0x3f0/0x524
Signed-off-by: Liang Chen <[email protected]>
Change-Id: I383164b2a646250d34dc7c085e7a1d297889581e1 parent c1ea5ca commit 0e429c9
1 file changed
+20
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
0 commit comments