This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Commit a32cec8
ANDROID: Revert "cpuidle, dt: Push RCU-idle into driver"
This reverts commit 0c5ffc3.
Commit causes trigger of debug reboot timer timeout on simple
reboots from android userspace or on reboots from fastbootd mode.
Debug reboot timer is programmed when reboot sequence is initiated
and if reboot doesn't happen in 15 seconds the timer callback
causes a fatal exception in the interrupt using BRK.
This also leads to ramdumps which consume some amount of time
which in its turn leads to longer reboots.
[ 27.362551][ C4] debug-reboot: Reboot timer (15 seconds) timeout - Show All Blocked State
...
[ 27.365871][ C4] debug-reboot: Trigger a panic
[ 27.365959][ C4] Unexpected kernel BRK exception at EL1
...
[ 27.378991][ C4] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G W OE 6.2.0-mainline-maybe-dirty #1
[ 27.379363][ C4] Hardware name: Oriole DVT (DT)
[ 27.379546][ C4] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 27.379839][ C4] pc : reboot_timeout+0x38/0x40 [debug_reboot]
[ 27.380068][ C4] lr : reboot_timeout+0x38/0x40 [debug_reboot]
[ 27.380298][ C4] sp : ffffffc008023e40
[ 27.380451][ C4] x29: ffffffc008023e40 x28: dead000000000122 x27: 0000000000000000
[ 27.380751][ C4] x26: ffffffc008023ea0 x25: 0000000000000001 x24: ffffff894f18f270
[ 27.381050][ C4] x23: ffffffd56e436000 x22: ffffff880022c600 x21: ffffffd56e7d7008
[ 27.381349][ C4] x20: ffffffd56e7d4088 x19: 0000000000000101 x18: ffffffc008025030
[ 27.381648][ C4] x17: 0000000022b7e063 x16: ffffffffffffffff x15: 0000000000000004
[ 27.381948][ C4] x14: 0000000000007fff x13: ffffff894ed58000 x12: 0000000000000003
[ 27.382247][ C4] x11: 0000000000000003 x10: c0000000ffff7fff x9 : 14b04a95e2f58a00
[ 27.382546][ C4] x8 : 14b04a95e2f58a00 x7 : 205b5d3137383536 x6 : 332e37322020205b
[ 27.382846][ C4] x5 : ffffffd56e62b90f x4 : 0000000000000001 x3 : 0000000000000000
[ 27.383145][ C4] x2 : 0000000000000000 x1 : ffffffc008023c10 x0 : 000000000000001d
[ 27.383445][ C4] Call trace:
[ 27.383564][ C4] reboot_timeout+0x38/0x40 [debug_reboot]
[ 27.383780][ C4] call_timer_fn+0x54/0x268
[ 27.383946][ C4] __run_timers+0x1cc/0x334
[ 27.384113][ C4] run_timer_softirq+0x2c/0x58
[ 27.384289][ C4] __do_softirq+0x104/0x3f0
[ 27.384456][ C4] ____do_softirq+0x18/0x2c
[ 27.384622][ C4] call_on_irq_stack+0x40/0x74
[ 27.384798][ C4] do_softirq_own_stack+0x24/0x38
[ 27.384985][ C4] __irq_exit_rcu+0xa0/0x100
[ 27.385154][ C4] irq_exit_rcu+0x18/0x28
[ 27.385314][ C4] el1_interrupt+0xac/0xe8
[ 27.385477][ C4] el1h_64_irq_handler+0x20/0x30
[ 27.385659][ C4] el1h_64_irq+0x68/0x6c
[ 27.385816][ C4] arch_local_irq_enable+0xc/0x14
[ 27.386002][ C4] cpuidle_enter+0x40/0x60
[ 27.386165][ C4] do_idle+0x1e0/0x2a0
[ 27.386315][ C4] cpu_startup_entry+0x2c/0x34
[ 27.386492][ C4] secondary_start_kernel+0x148/0x16c
[ 27.386690][ C4] __secondary_switched+0xb4/0xb8
[ 27.386879][ C4] Code: 9791bb54 b0000000 9106f400 97b1739f (d4200020)
[ 27.387137][ C4] ---[ end trace 0000000000000000 ]---
[ 27.387341][ C4] Kernel panic - not syncing: BRK handler: Fatal exception in interrupt
Reverting while investigating a proper fix.
Bug: 272060410
Change-Id: Ib7b33586f7670066738c267f497f9a7c2332c3f6
Signed-off-by: Alexey Klimov <klimova@google.com>1 parent 8338670 commit a32cec8
File tree
3 files changed
+5
-11
lines changed- drivers
- acpi
- cpuidle
3 files changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1223 | 1223 | | |
1224 | 1224 | | |
1225 | 1225 | | |
1226 | | - | |
1227 | | - | |
1228 | 1226 | | |
1229 | 1227 | | |
1230 | 1228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | | - | |
90 | | - | |
| 88 | + | |
91 | 89 | | |
92 | 90 | | |
93 | 91 | | |
| |||
122 | 120 | | |
123 | 121 | | |
124 | 122 | | |
125 | | - | |
126 | | - | |
| 123 | + | |
| 124 | + | |
127 | 125 | | |
128 | 126 | | |
129 | | - | |
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
133 | 130 | | |
134 | 131 | | |
135 | | - | |
136 | 132 | | |
137 | 133 | | |
138 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments