mt6592重启问题!
时间:10-02
整理:3721RD
点击:
[ 20.318129]-(2)[159:drvbd][<c0188000>] (sys_close+0x0/0X308) fROM [<c000e480>] (ret_fast_syscall+0x0/0x40)
[ 20.318155]-(2)[159:drvbd]------------[ cut here ]------------
[ 20.318174]-(2)[159:drvbd]kernel BUG at /home/XXX/XXX/MT6592/alps/kernel/mediatek/platform/mt6592/kernel/core/mt_cpufreq.c:864!
[ 20.318194]-(2)[159:drvbd]Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 20.318212]-(2)[159:drvbd]Send IPI to stop CPUs...
对应的源码:
/* FIXME: why not check ret_val? */
ret_val = MT6333_read_interface_polling(0x6B, &src_vol, 0x7F, 0);
ret_val = mt6333_read_interface_polling(0x6C, &src_vol_1, 0x7F, 0);
#if defined(DEBUG_DFS_phase_mt6333_config_interface)
printk("[Phase check]src_vol:0x%x\n", src_vol);
#endif
if (src_vol <= 0x10) {
/* compare with 10 because DRAM cannot run in this voltage */
src_debug_vol = 0;
src_debug_vol_1 = 0;
printk("un-valid vcore:0x%x\n", src_vol);
mt6333_read_interface_polling(0x6B, &src_debug_vol, 0x7F, 0);
mt6333_read_interface_polling(0x6C,&src_debug_vol_1, 0x7F, 0);
printk("vcore by interrupt mode:0x%x\n, 0x%x\n",
src_debug_vol, src_debug_vol_1);
printk(" vcore by polling mode:0x%x\n, 0x%x\n",
src_vol, src_vol_1);
BUG_ON(1);
}
这个问题,最深的印象是调试还是要分析log,不要被一些表面的现象所迷惑,这样会误导分析的线路。
从log看,好像和pmic有关系。
mark,帮你顶顶
小编,帮我分析分析呗。
谢谢分享