Hi all,
I can reproduce the warning from WALT function walt_fixup_busy_time() in Android kernel 4.14 on Hikey960 board.
The detailed log is as below. To trigger this issue, I usually reboot the board for multiple times: 'while true; do adb reboot; sleep 30; done' and at the boot time this issue can be reproduced.
Before dig into this, I share the log to check in case we have the fixing yet for it.
Thanks, Leo Yan
--- log ---
console:/ $ [ 9.260172] read descriptors [ 9.263096] read strings [ 9.267978] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11) [ 9.272518] wlcore: loaded [ 9.348146] random: crng init done [ 9.351604] random: 7 urandom warning(s) missed due to ratelimiting [ 10.079584] configfs-gadget gadget: high-speed config #1: b [ 10.189563] ------------[ cut here ]------------ [ 10.194275] WARNING: CPU: 0 PID: 0 at kernel/sched/walt.c:888 walt_fixup_busy_time+0x3a4/0x418 [ 10.202976] Modules linked in: [ 10.206069] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G S 4.14.41-01140-gd1e4c9f #199 [ 10.214856] Hardware name: HiKey960 (DT) [ 10.218816] task: ffffff8009829700 task.stack: ffffff8009810000 [ 10.224798] PC is at walt_fixup_busy_time+0x3a4/0x418 [ 10.229912] LR is at walt_fixup_busy_time+0x108/0x418 [ 10.235031] pc : [<ffffff8008141844>] lr : [<ffffff80081415a8>] pstate: 004001c5 [ 10.242516] sp : ffffff80080039c0 [ 10.245871] x29: ffffff80080039c0 x28: 000000025f283b70 [ 10.251260] x27: ffffff8009426000 x26: 000000025f2896fe [ 10.256648] x25: ffffff800981a0ec x24: ffffff800981a0ec [ 10.262037] x23: ffffff800981ae08 x22: ffffff8009426880 [ 10.267425] x21: ffffffc21ff23880 x20: ffffffc21ff4f880 [ 10.272811] x19: ffffffc211a58080 x18: 0000000000000000 [ 10.278198] x17: 000000743dc998e0 x16: ffffff80082ba168 [ 10.283586] x15: 0000000000000000 x14: 0000000200000000 [ 10.288973] x13: 0000000000000013 x12: 0000000000000688 [ 10.294361] x11: 0000000000000040 x10: ffffffc211c00268 [ 10.299749] x9 : ffffffc211c00458 x8 : ffffffc210347800 [ 10.305136] x7 : ffffffc209978c00 x6 : 0000000001ac37ab [ 10.310523] x5 : 0000000000000000 x4 : ffffffc212221080 [ 10.315911] x3 : 0000000000000000 x2 : ffffff800981a0ec [ 10.321298] x1 : 0000000000568aff x0 : ffffffffffff1f1d [ 10.326689] [ 10.326689] X0: 0xffffffffffff1e9d: [ 10.331715] 1e9c [ 10.331730] ******** [ 10.333681] ******** [ 10.335983] ******** [ 10.338284] ******** [ 10.340586] ******** [ 10.342888] ******** [ 10.345190] ******** [ 10.347491] ******** [ 10.349791] [ 10.353593] 1ebc [ 10.353601] ******** [ 10.355551] ******** [ 10.357852] ******** [ 10.360154] ******** [ 10.362456] ******** [ 10.364759] ******** [ 10.367060] ******** [ 10.369361] ******** [ 10.371661] [ 10.375463] 1edc [ 10.375471] ******** [ 10.377422] ******** [ 10.379722] ******** [ 10.382025] ******** [ 10.384327] ******** [ 10.386628] ******** [ 10.388930] ******** [ 10.391231] ******** [ 10.393531] [ 10.397333] 1efc [ 10.397341] ******** [ 10.399291] ******** [ 10.401592] ******** [ 10.403894] ******** [ 10.406195] ******** [ 10.408496] ******** [ 10.410797] ******** [ 10.413098] ******** [ 10.415398] [ 10.419200] 1f1c [ 10.419208] ******** [ 10.421158] ******** [ 10.423459] ******** [ 10.425761] ******** [ 10.428064] ******** [ 10.430365] ******** [ 10.432666] ******** [ 10.434968] ******** [ 10.437267] [ 10.441069] 1f3c [ 10.441077] ******** [ 10.443027] ******** [ 10.445329] ******** [ 10.447631] ******** [ 10.449932] ******** [ 10.452234] ******** [ 10.454535] ******** [ 10.456838] ******** [ 10.459138] [ 10.462939] 1f5c [ 10.462948] ******** [ 10.464898] ******** [ 10.467200] ******** [ 10.469501] ******** [ 10.471802] ******** [ 10.474104] ******** [ 10.476406] ******** [ 10.478707] ******** [ 10.481007] [ 10.484808] 1f7c [ 10.484816] ******** [ 10.486766] ******** [ 10.489068] ******** [ 10.491370] ******** [ 10.493671] ******** [ 10.495972] ******** [ 10.498275] ******** [ 10.500576] ******** [ 10.502876] [ 10.506677] 1f9c [ 10.506685] ******** [ 10.508635] ******** [ 10.510937] ******** [ 10.513238] ******** [ 10.515540] ******** [ 10.517841] ******** [ 10.520143] ******** [ 10.522444] ******** [ 10.524744] [ 10.528550] [ 10.528550] X4: 0xffffffc212221000: [ 10.533575] 1000 [ 10.533583] ffffffff [ 10.535533] ffffefff [ 10.537834] ffdfffff [ 10.540135] ffff7dff [ 10.542436] ffffffff [ 10.544738] ffffffff [ 10.547038] f7ffdfff [ 10.549339] f7ffffff [ 10.551639] [ 10.555441] 1020 [ 10.555448] ffffffff [ 10.557397] ffffffff [ 10.559698] ffffffff [ 10.561998] ffffffff [ 10.564300] ffffffff [ 10.566601] fffdffff [ 10.568901] fff7dfff [ 10.571203] ffffffdf [ 10.573502] [ 10.577303] 1040 [ 10.577311] ffffffff [ 10.579260] f7ffffff [ 10.581561] ffffffff [ 10.583863] ffffffff [ 10.586164] fffbffff [ 10.588465] ffffffef [ 10.590766] dfffffff [ 10.593067] ffffffff [ 10.595366] [ 10.599167] 1060 [ 10.599175] ffdffffe [ 10.601123] dfffffdf [ 10.603424] ffffffff [ 10.605725] ffffffff [ 10.608025] ffffffff [ 10.610326] ffffffff [ 10.612627] ffffffff [ 10.614928] fffeffff [ 10.617228] [ 10.621030] 1080 [ 10.621037] 00000020 [ 10.622987] 00000000 [ 10.625288] ffffffff [ 10.627588] 0000007f [ 10.629889] 019b3000 [ 10.632189] 00000000 [ 10.634490] 00010002 [ 10.636791] 00000000 [ 10.639091] [ 10.642892] 10a0 [ 10.642899] 00000000 [ 10.644849] 00000000 [ 10.647150] 09ad0000 [ 10.649452] ffffff80 [ 10.651753] 00000002 [ 10.654054] 00200042 [ 10.656354] 00000000 [ 10.658655] 00000000 [ 10.660954] [ 10.664757] 10c0 [ 10.664765] 00000000 [ 10.666714] 00000000 [ 10.669016] 00000001 [ 10.671317] 00000002 [ 10.673618] 00000003 [ 10.675920] 00000000 [ 10.678220] fffee3fd [ 10.680521] 00000000 [ 10.682820] [ 10.686622] 10e0 [ 10.686630] 048ff000 [ 10.688579] ffffffc2 [ 10.690880] 00000002 [ 10.693180] 00000001 [ 10.695480] 00000078 [ 10.697781] 00000078 [ 10.700082] 00000078 [ 10.702383] 00000000 [ 10.704682] [ 10.708489] [ 10.708489] X7: 0xffffffc209978b80: [ 10.713515] 8b80 [ 10.713522] 00000000 [ 10.715472] 00000000 [ 10.717773] 00000000 [ 10.720074] 00000000 [ 10.722375] 00000000 [ 10.724675] 00000000 [ 10.726976] 00000000 [ 10.729276] 00000000 [ 10.731575] [ 10.735376] 8ba0 [ 10.735383] 00000000 [ 10.737332] 00000000 [ 10.739632] 00000000 [ 10.741934] 00000000 [ 10.744233] 00000000 [ 10.746534] 00000000 [ 10.748834] 00000000 [ 10.751135] 00000000 [ 10.753434] [ 10.757236] 8bc0 [ 10.757244] 00000000 [ 10.759193] 00000000 [ 10.761494] 00000000 [ 10.763794] 00000000 [ 10.766095] 00000000 [ 10.768396] 00000000 [ 10.770696] 00000000 [ 10.772997] 00000000 [ 10.775296] [ 10.779096] 8be0 [ 10.779104] 00000000 [ 10.781054] 00000000 [ 10.783354] 00000000 [ 10.785655] 00000000 [ 10.787956] 00000000 [ 10.790256] 00000000 [ 10.792556] 00000000 [ 10.794857] 00000000 [ 10.797157] [ 10.800957] 8c00 [ 10.800965] 087290c0 [ 10.802915] ffffffbf [ 10.805216] 00001000 [ 10.807517] 00000000 [ 10.809818] 08729080 [ 10.812119] ffffffbf [ 10.814420] 00001000 [ 10.816720] 00000000 [ 10.819020] [ 10.822822] 8c20 [ 10.822829] 08729040 [ 10.824779] ffffffbf [ 10.827079] 00001000 [ 10.829380] 00000000 [ 10.831681] 08729000 [ 10.833981] ffffffbf [ 10.836282] 00001000 [ 10.838583] 00000000 [ 10.840882] [ 10.844683] 8c40 [ 10.844691] 08728fc0 [ 10.846640] ffffffbf [ 10.848941] 00001000 [ 10.851242] 00000000 [ 10.853542] 08728f80 [ 10.855844] ffffffbf [ 10.858144] 00001000 [ 10.860445] 00000000 [ 10.862744] [ 10.866545] 8c60 [ 10.866553] 08728f40 [ 10.868503] ffffffbf [ 10.870804] 00001000 [ 10.873105] 00000000 [ 10.875406] 08728f00 [ 10.877707] ffffffbf [ 10.880007] 00001000 [ 10.882308] 00000000 [ 10.884608] [ 10.888413] [ 10.888413] X8: 0xffffffc210347780: [ 10.893439] 7780 [ 10.893446] 00000000 [ 10.895396] 00000000 [ 10.897696] 00000000 [ 10.899997] 00000000 [ 10.902298] 00000000 [ 10.904598] 00000000 [ 10.906900] 00000000 [ 10.909200] 00000000 [ 10.911499] [ 10.915301] 77a0 [ 10.915308] 00000000 [ 10.917257] 00000000 [ 10.919557] 00000000 [ 10.921859] 00000000 [ 10.924160] 00000000 [ 10.926460] 00000000 [ 10.928761] 00000000 [ 10.931061] 00000000 [ 10.933361] [ 10.937163] 77c0 [ 10.937170] 00000000 [ 10.939120] 00000000 [ 10.941421] 00000000 [ 10.943722] 00000000 [ 10.946022] 00000000 [ 10.948323] 00000000 [ 10.950623] 00000000 [ 10.952923] 00000000 [ 10.955223] [ 10.959025] 77e0 [ 10.959032] 00000000 [ 10.960982] 00000000 [ 10.963282] 00000000 [ 10.965583] 00000000 [ 10.967883] 00000000 [ 10.970183] 00000000 [ 10.972484] 00000000 [ 10.974785] 00000000 [ 10.977084] [ 10.980884] 7800 [ 10.980892] 10341800 [ 10.982841] ffffffc2 [ 10.985142] 11522800 [ 10.987443] ffffffc2 [ 10.989743] 10340d00 [ 10.992044] ffffffc2 [ 10.994345] 00000008 [ 10.996646] 00000000 [ 10.998945] [ 11.002746] 7820 [ 11.002754] 00000010 [ 11.004703] 00000000 [ 11.007004] 00000020 [ 11.009305] 0000007d [ 11.011606] 00000001 [ 11.013907] 00000002 [ 11.016207] 00000001 [ 11.018508] 00000000 [ 11.020807] [ 11.024608] 7840 [ 11.024616] 00000000 [ 11.026566] 00000000 [ 11.028866] 00000000 [ 11.031167] 00000000 [ 11.033468] 0000107f [ 11.035769] 00000001 [ 11.038069] fffee4fa [ 11.040371] 00000000 [ 11.042671] [ 11.046473] 7860 [ 11.046481] 00000010 [ 11.048430] 00000000 [ 11.050730] 000086b6 [ 11.053031] 00000000 [ 11.055331] fffee5b6 [ 11.057632] 00000000 [ 11.059932] 00000000 [ 11.062233] 00000000 [ 11.064533] [ 11.068336] [ 11.068336] X9: 0xffffffc211c003d8: [ 11.073361] 03d8 [ 11.073370] 114cec00 [ 11.075319] ffffffc2 [ 11.077620] 114cea00 [ 11.079920] ffffffc2 [ 11.082221] 114ce800 [ 11.084522] ffffffc2 [ 11.086823] 114ce600 [ 11.089124] ffffffc2 [ 11.091423] [ 11.095225] 03f8 [ 11.095232] 114ce400 [ 11.097181] ffffffc2 [ 11.099482] 114ce200 [ 11.101783] ffffffc2 [ 11.104084] 114ce000 [ 11.106385] ffffffc2 [ 11.108686] 11514e00 [ 11.110987] ffffffc2 [ 11.113288] [ 11.117088] 0418 [ 11.117095] 11514c00 [ 11.119044] ffffffc2 [ 11.121346] 11514a00 [ 11.123647] ffffffc2 [ 11.125948] 11514600 [ 11.128250] ffffffc2 [ 11.130551] 11514400 [ 11.132852] ffffffc2 [ 11.135151] [ 11.138953] 0438 [ 11.138960] 11514200 [ 11.140910] ffffffc2 [ 11.143211] 11514000 [ 11.145513] ffffffc2 [ 11.147814] 11547e00 [ 11.150115] ffffffc2 [ 11.152415] 11547c00 [ 11.154716] ffffffc2 [ 11.157016] [ 11.160817] 0458 [ 11.160825] 11547a00 [ 11.162773] ffffffc2 [ 11.165075] 11547800 [ 11.167375] ffffffc2 [ 11.169676] 00000000 [ 11.171976] 00000000 [ 11.174277] 00000000 [ 11.176577] 00000000 [ 11.178877] [ 11.182679] 0478 [ 11.182686] 00000000 [ 11.184636] 00000000 [ 11.186936] 00000000 [ 11.189238] 00000000 [ 11.191539] 11c006c0 [ 11.193839] ffffffc2 [ 11.196142] 00000000 [ 11.198442] 00000000 [ 11.200741] [ 11.204543] 0498 [ 11.204550] 11c00498 [ 11.206501] ffffffc2 [ 11.208801] 11c00498 [ 11.211102] ffffffc2 [ 11.213402] 00000000 [ 11.215703] 00000000 [ 11.218003] 00000000 [ 11.220304] 00000000 [ 11.222603] [ 11.226405] 04b8 [ 11.226412] 00000000 [ 11.228361] 00000000 [ 11.230662] 00000000 [ 11.232964] 00000000 [ 11.235264] 00000000 [ 11.237565] 00000000 [ 11.239865] 00000000 [ 11.242166] 00000000 [ 11.244465] [ 11.248269] [ 11.248269] X10: 0xffffffc211c001e8: [ 11.253381] 01e8 [ 11.253389] 00000000 [ 11.255340] 00000000 [ 11.257640] 00000000 [ 11.259941] 00000000 [ 11.262242] 00000000 [ 11.264542] 00000000 [ 11.266843] 00000000 [ 11.269144] 00000000 [ 11.271444] [ 11.275245] 0208 [ 11.275252] 00000000 [ 11.277202] 00000000 [ 11.279502] 00000000 [ 11.281803] 00000000 [ 11.284104] 00000000 [ 11.286405] 00000000 [ 11.288705] 00000000 [ 11.291006] 00000000 [ 11.293305] [ 11.297106] 0228 [ 11.297114] fffc0000 [ 11.299063] ffffffff [ 11.301364] 00000000 [ 11.303665] 00000000 [ 11.305966] 00000000 [ 11.308267] 00000000 [ 11.310567] 003f0000 [ 11.312869] 00000000 [ 11.315168] [ 11.318969] 0248 [ 11.318977] 11c18240 [ 11.320926] ffffffc2 [ 11.323227] 0984b500 [ 11.325528] ffffff80 [ 11.327829] 11c00258 [ 11.330130] ffffffc2 [ 11.332430] 11c00258 [ 11.334731] ffffffc2 [ 11.337031] [ 11.340832] 0268 [ 11.340839] 00000000 [ 11.342789] 00000000 [ 11.345089] 12117200 [ 11.347390] ffffffc2 [ 11.349690] 12117400 [ 11.351991] ffffffc2 [ 11.354293] 12117600 [ 11.356594] ffffffc2 [ 11.358893] [ 11.362694] 0288 [ 11.362702] 12117800 [ 11.364651] ffffffc2 [ 11.366952] 12117a00 [ 11.369252] ffffffc2 [ 11.371554] 12117c00 [ 11.373854] ffffffc2 [ 11.376156] 11a4cc00 [ 11.378456] ffffffc2 [ 11.380755] [ 11.384556] 02a8 [ 11.384563] 11a4ca00 [ 11.386513] ffffffc2 [ 11.388813] 11a4c800 [ 11.391113] ffffffc2 [ 11.393415] 11a4c600 [ 11.395716] ffffffc2 [ 11.398018] 11a4c400 [ 11.400319] ffffffc2 [ 11.402618] [ 11.406420] 02c8 [ 11.406427] 11a4c200 [ 11.408377] ffffffc2 [ 11.410677] 11a4c000 [ 11.412978] ffffffc2 [ 11.415279] 11a4fe00 [ 11.417579] ffffffc2 [ 11.419880] 11a4fc00 [ 11.422181] ffffffc2 [ 11.424481] [ 11.428291] [ 11.428291] X19: 0xffffffc211a58000: [ 11.433403] 8000 [ 11.433410] ffffffff [ 11.435360] fdffffff [ 11.437660] ffffffff [ 11.439961] ffffffff [ 11.442262] efffffff [ 11.444562] fffffff9 [ 11.446863] ffffffff [ 11.449164] fffffdff [ 11.451463] [ 11.455264] 8020 [ 11.455271] ffffffff [ 11.457221] ffffffff [ 11.459521] ffffdfff [ 11.461822] ffffffff [ 11.464122] ffffffff [ 11.466422] fffffbff [ 11.468723] effffffe [ 11.471023] fffffeff [ 11.473323] [ 11.477125] 8040 [ 11.477133] ffffffff [ 11.479082] 7fffffff [ 11.481383] fff7ffff [ 11.483684] ffffffef [ 11.485985] ffffffff [ 11.488286] ffffffff [ 11.490586] ffdff7ff [ 11.492886] ffffffff [ 11.495185] [ 11.498987] 8060 [ 11.498994] ffffffff [ 11.500944] ffffffff [ 11.503245] ffffffff [ 11.505546] ffffffff [ 11.507846] ffffffff [ 11.510147] ffffffff [ 11.512447] ffffffff [ 11.514747] dfffffff [ 11.517046] [ 11.520847] 8080 [ 11.520855] 00400000 [ 11.522804] 00000000 [ 11.525105] ffffffff [ 11.527406] 0000007f [ 11.529707] 0e2b5000 [ 11.532008] 00660002 [ 11.534308] 00000002 [ 11.536609] 00000000 [ 11.538909] [ 11.542710] 80a0 [ 11.542718] 00000200 [ 11.544667] 00000000 [ 11.546968] 0dc38000 [ 11.549269] ffffff80 [ 11.551570] 00000002 [ 11.553870] 00404100 [ 11.556171] 00000000 [ 11.558471] 00000000 [ 11.560770] [ 11.564572] 80c0 [ 11.564580] 00000000 [ 11.566529] 00000000 [ 11.568831] 00000000 [ 11.571132] 00000002 [ 11.573432] 00000031 [ 11.575732] 00000000 [ 11.578032] fffee4b8 [ 11.580334] 00000000 [ 11.582633] [ 11.586436] 80e0 [ 11.586444] 121fc000 [ 11.588393] ffffffc2 [ 11.590694] 00000002 [ 11.592993] 00000000 [ 11.595294] 00000064 [ 11.597594] 00000064 [ 11.599896] 00000064 [ 11.602196] 00000000 [ 11.604495] [ 11.608300] [ 11.608300] X20: 0xffffffc21ff4f800: [ 11.613411] f800 [ 11.613419] 00000000 [ 11.615368] 00000000 [ 11.617668] 00000000 [ 11.619969] 00000000 [ 11.622269] 00000000 [ 11.624569] 00000000 [ 11.626869] 00000000 [ 11.629170] 00000000 [ 11.631469] [ 11.635270] f820 [ 11.635278] 00000000 [ 11.637227] 00000000 [ 11.639528] 00000000 [ 11.641828] 00000000 [ 11.644129] 00000000 [ 11.646429] 00000000 [ 11.648730] 00000000 [ 11.651030] 00000000 [ 11.653330] [ 11.657132] f840 [ 11.657139] 00000000 [ 11.659089] 00000000 [ 11.661390] 00000000 [ 11.663691] 00000000 [ 11.665991] 00000000 [ 11.668291] 00000000 [ 11.670592] 00000000 [ 11.672892] 00000000 [ 11.675191] [ 11.678992] f860 [ 11.678999] 00000000 [ 11.680948] 00000000 [ 11.683248] 00000000 [ 11.685549] 00000000 [ 11.687850] 00000000 [ 11.690150] 00000000 [ 11.692451] 00000000 [ 11.694751] 00000000 [ 11.697051] [ 11.700851] f880 [ 11.700858] 37883784 [ 11.702809] 00000000 [ 11.705109] 000006bf [ 11.707409] 00000000 [ 11.709709] 00001331 [ 11.712010] 00000000 [ 11.714311] 000022e4 [ 11.716612] 00000000 [ 11.718911] [ 11.722713] f8a0 [ 11.722720] 000022dd [ 11.724669] 00000000 [ 11.726970] 00002332 [ 11.729271] 00000000 [ 11.731572] fffee4fb [ 11.733873] 00000000 [ 11.736174] fffee4fb [ 11.738474] 00000000 [ 11.740773] [ 11.744574] f8c0 [ 11.744581] 00000000 [ 11.746531] 00000000 [ 11.748831] 00000000 [ 11.751132] 00000000 [ 11.753433] 00000000 [ 11.755734] 00000000 [ 11.758034] 0000067d [ 11.760335] 00000000 [ 11.762634] [ 11.766436] f8e0 [ 11.766443] 000010bb [ 11.768392] 00000000 [ 11.770692] 00000000 [ 11.772992] 00000000 [ 11.775292] 00000000 [ 11.777593] 00000000 [ 11.779893] 00000000 [ 11.782195] 00000000 [ 11.784494] [ 11.788298] [ 11.788298] X21: 0xffffffc21ff23800: [ 11.793411] 3800 [ 11.793419] 00000000 [ 11.795368] 00000000 [ 11.797668] 00000000 [ 11.799968] 00000000 [ 11.802269] 00000000 [ 11.804569] 00000000 [ 11.806870] 00000000 [ 11.809170] 00000000 [ 11.811470] [ 11.815270] 3820 [ 11.815278] 00000000 [ 11.817227] 00000000 [ 11.819527] 00000000 [ 11.821828] 00000000 [ 11.824129] 00000000 [ 11.826430] 00000000 [ 11.828730] 00000000 [ 11.831031] 00000000 [ 11.833330] [ 11.837131] 3840 [ 11.837139] 00000000 [ 11.839089] 00000000 [ 11.841389] 00000000 [ 11.843691] 00000000 [ 11.845991] 00000000 [ 11.848292] 00000000 [ 11.850592] 00000000 [ 11.852893] 00000000 [ 11.855192] [ 11.858994] 3860 [ 11.859001] 00000000 [ 11.860950] 00000000 [ 11.863251] 00000000 [ 11.865551] 00000000 [ 11.867852] 00000000 [ 11.870152] 00000000 [ 11.872453] 00000000 [ 11.874753] 00000000 [ 11.877053] [ 11.880854] 3880 [ 11.880861] 211d211a [ 11.882810] 00000000 [ 11.885111] 0000ac72 [ 11.887412] 00000000 [ 11.889713] 00008d85 [ 11.892014] 00000000 [ 11.894315] 0000767f [ 11.896616] 00000000 [ 11.898915] [ 11.902717] 38a0 [ 11.902723] 00006169 [ 11.904673] 00000000 [ 11.906973] 00004561 [ 11.909275] 00000000 [ 11.911576] fffee4fb [ 11.913876] 00000000 [ 11.916178] fffee4fa [ 11.918478] 00000000 [ 11.920777] [ 11.924579] 38c0 [ 11.924586] 00000000 [ 11.926535] 00000000 [ 11.928836] 00000000 [ 11.931136] 00000000 [ 11.933437] 00000000 [ 11.935738] 00000000 [ 11.938041] 00000610 [ 11.940341] 00000000 [ 11.942641] [ 11.946442] 38e0 [ 11.946450] 000007b0 [ 11.948400] 00000000 [ 11.950701] 00000000 [ 11.953002] 00000000 [ 11.955302] 00000000 [ 11.957603] 00000000 [ 11.959903] 00000000 [ 11.962203] 00000000 [ 11.964502] [ 11.968310] [ 11.969822] Call trace: [ 11.972303] Exception stack(0xffffff8008003880 to 0xffffff80080039c0) [ 11.978829] 3880: ffffffffffff1f1d 0000000000568aff ffffff800981a0ec 0000000000000000 [ 11.986758] 38a0: ffffffc212221080 0000000000000000 0000000001ac37ab ffffffc209978c00 [ 11.994688] 38c0: ffffffc210347800 ffffffc211c00458 ffffffc211c00268 0000000000000040 [ 12.002618] 38e0: 0000000000000688 0000000000000013 0000000200000000 0000000000000000 [ 12.010547] 3900: ffffff80082ba168 000000743dc998e0 0000000000000000 ffffffc211a58080 [ 12.018476] 3920: ffffffc21ff4f880 ffffffc21ff23880 ffffff8009426880 ffffff800981ae08 [ 12.026406] 3940: ffffff800981a0ec ffffff800981a0ec 000000025f2896fe ffffff8009426000 [ 12.034335] 3960: 000000025f283b70 ffffff80080039c0 ffffff80081415a8 ffffff80080039c0 [ 12.042266] 3980: ffffff8008141844 00000000004001c5 ffffff800981ae08 ffffff800981a0ec [ 12.050194] 39a0: 0000007fffffffff 000000025f2896fe ffffff80080039c0 ffffff8008141844 [ 12.058126] [<ffffff8008141844>] walt_fixup_busy_time+0x3a4/0x418 [ 12.064298] [<ffffff800811d868>] set_task_cpu+0xc0/0x1f8 [ 12.069678] [<ffffff800811e3e4>] try_to_wake_up+0x234/0x4e0 [ 12.075322] [<ffffff800811e7b8>] default_wake_function+0x38/0x48 [ 12.081407] [<ffffff800813c12c>] autoremove_wake_function+0x3c/0x68 [ 12.087757] [<ffffff8008212f94>] wake_page_function+0x9c/0xa8 [ 12.093578] [<ffffff800813b79c>] __wake_up_common+0xa4/0x148 [ 12.099311] [<ffffff800813ba44>] __wake_up_locked_key_bookmark+0x44/0x58 [ 12.106096] [<ffffff8008213698>] wake_up_page_bit+0xa0/0x148 [ 12.111829] [<ffffff800821378c>] unlock_page+0x4c/0x58 [ 12.117036] [<ffffff80083844b0>] mpage_end_io+0xa8/0x1b0 [ 12.122422] [<ffffff800857046c>] bio_endio+0x154/0x190 [ 12.127628] [<ffffff8008578b7c>] blk_update_request+0xac/0x378 [ 12.133540] [<ffffff80087d7da0>] scsi_end_request+0x48/0x1c8 [ 12.139271] [<ffffff80087d80bc>] scsi_io_completion+0x19c/0x5b0 [ 12.145270] [<ffffff80087cf640>] scsi_finish_command+0xd0/0x120 [ 12.151266] [<ffffff80087d7788>] scsi_softirq_done+0x158/0x168 [ 12.157177] [<ffffff8008581fd8>] blk_done_softirq+0xb0/0xe8 [ 12.162825] [<ffffff8008081dbc>] __do_softirq+0x16c/0x3a8 [ 12.168295] [<ffffff80080ec46c>] irq_exit+0xc4/0xd8 [ 12.173239] [<ffffff8008156388>] __handle_domain_irq+0x90/0x100 [ 12.179232] [<ffffff8008081a70>] gic_handle_irq+0x60/0xb8 [ 12.184700] Exception stack(0xffffff8009813d00 to 0xffffff8009813e40) [ 12.191224] 3d00: ffffff8009829700 0000000000000001 0000004216ad1000 0000000000000001 [ 12.199153] 3d20: 0000004216ad1000 00ffffffffffffff 000000000081dade 0000000000000025 [ 12.207082] 3d40: ffffffc21fef6928 0000000000000013 ffffffc21fef6908 071c71c71c71c71c [ 12.215011] 3d60: 0000000000000688 0000000000000013 0000000200000000 0000000000000000 [ 12.222940] 3d80: ffffff80082ba168 000000743dc998e0 0000000000000000 000000025f572113 [ 12.230872] 3da0: 0000000000000000 ffffffc2103f2600 0000000000000000 ffffffc21139b000 [ 12.238801] 3dc0: 0000000000000000 000000025f56887c 0000000000000000 00000000bf34d218 [ 12.246731] 3de0: 0000000001300018 ffffff8009813e40 ffffff8008a33e28 ffffff8009813e40 [ 12.254660] 3e00: ffffff8008a33e2c 0000000060400145 ffffffc2103f2600 0000000000000000 [ 12.262589] 3e20: ffffffffffffffff 0000000000000000 ffffff8009813e40 ffffff8008a33e2c [ 12.270517] [<ffffff80080833ac>] el1_irq+0xec/0x194 [ 12.275460] [<ffffff8008a33e2c>] cpuidle_enter_state+0xb4/0x3a0 [ 12.281455] [<ffffff8008a3419c>] cpuidle_enter+0x34/0x48 [ 12.286839] [<ffffff800813caa8>] call_cpuidle+0x40/0x70 [ 12.292131] [<ffffff800813ce44>] do_idle+0x21c/0x278 [ 12.297160] [<ffffff800813d09c>] cpu_startup_entry+0x2c/0x30 [ 12.302897] [<ffffff8008e41220>] rest_init+0xd0/0xe0 [ 12.307932] [<ffffff8009300d98>] start_kernel+0x3f4/0x420 [ 12.313397] ---[ end trace c685021f9195e3be ]---
Hi Leo,
On 17/05/18 10:12, Leo Yan wrote:
Hi all,
I can reproduce the warning from WALT function walt_fixup_busy_time() in Android kernel 4.14 on Hikey960 board.
The detailed log is as below. To trigger this issue, I usually reboot the board for multiple times: 'while true; do adb reboot; sleep 30; done' and at the boot time this issue can be reproduced.
Before dig into this, I share the log to check in case we have the fixing yet for it.
I have seen this occasionally too and I'm suspicious that there is something wrong with Walt in android-4.14, seeing the comments I added about the lock problems.
It looks to me like we have a clock sync problem, I'm guessing you can't switch on tracing in time to catch it so we can see how the Walt signal is being built?
--Chris
Thanks, Leo Yan
[ removed log ] IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
On 29 May 2018 at 15:01, Chris Redpath chris.redpath@arm.com wrote:
Hi Leo,
On 17/05/18 10:12, Leo Yan wrote:
Hi all,
I can reproduce the warning from WALT function walt_fixup_busy_time() in Android kernel 4.14 on Hikey960 board.
The detailed log is as below. To trigger this issue, I usually reboot the board for multiple times: 'while true; do adb reboot; sleep 30; done' and at the boot time this issue can be reproduced.
Before dig into this, I share the log to check in case we have the fixing yet for it.
I have seen this occasionally too and I'm suspicious that there is something wrong with Walt in android-4.14, seeing the comments I added about the lock problems.
It looks to me like we have a clock sync problem, I'm guessing you can't switch on tracing in time to catch it so we can see how the Walt signal is being built?
AFAIK, trace can be enable at boot time with command line parameter if needed
--Chris
Thanks,
Leo Yan
[ removed log ]
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
eas-dev mailing list eas-dev@lists.linaro.org https://lists.linaro.org/mailman/listinfo/eas-dev