您现在的位置是:首页 > 文章详情

Linux内核睡眠唤醒调试

日期:2021-06-13点击:556

本文基于RockPI 4A单板Debian系统Linux4.4内核介绍下睡眠唤醒(suspend/resume)的一些调试方法。

一、参数设置

1、关闭串口睡眠

在Linux内核睡眠过程中,会先调用suspend_console()函数使串口进入睡眠状态,这样会导致后续设备驱动的睡眠过程不可见。可以在boot启动参数中增加no_console_suspend参数,显示设备驱动睡眠日志。

 ## 启动参数中增加no_console_suspend root@linaro-alip:~# cat /boot/extlinux/extlinux.conf timeout 10 menu title select kernel ....  label kernel-debug    kernel /debug/Image    fdt /debug/rk3399-rock-pi-4a.dtb    append earlyprintk console=ttyFIQ0,1500000n8 init=/sbin/init ... rootfstype=ext4 no_console_suspend

2、修改串口日志等级

修改串口日志打印等级,显示更多调试信息。

 echo 8 > /proc/sys/kernel/printk

3、打开设备睡眠唤醒时间

设置pm_print_times参数,可以显示设备驱动睡眠唤醒时间,方便调试时查看哪个函数处理占用时间过长。

 echo 1 > /sys/power/pm_print_times

二、内核配置

在调试Linux内核睡眠唤醒功能时,可以使用RTC做唤醒源,在系统睡眠5秒后,自动唤醒系统。

arch/arm64/configs/rockchip_linux_defconfig文件中配置宏CONFIG_PM_TEST_SUSPEND

 CONFIG_SUSPEND=y CONFIG_PM_DEBUG=y CONFIG_RTC_CLASS=y CONFIG_PM_TEST_SUSPEND=y ## 该宏依赖上面三个配置宏

三、调试命令

 #################### 1、进入调试目录 #################### root@linaro-alip:/# cd /sys/power/ root@linaro-alip:/sys/power# ls pm_async           pm_print_times pm_wakeup_irq wakeup_count pm_freeze_timeout pm_test         state root@linaro-alip:/sys/power# cat pm_print_times ## 已经设置pm_print_times 1 root@linaro-alip:/sys/power# cat pm_test [none] core processors platform devices freeze root@linaro-alip:/sys/power# cat state freeze mem  #################### 2、调试睡眠唤醒 #################### root@linaro-alip:/sys/power# echo core > pm_test root@linaro-alip:/sys/power# echo mem > state  ################### 2.1 系统进入睡眠 ################### [ 1238.968365] PM: suspend entry 2016-11-03 17:37:47.044362810 UTC [ 1238.968911] PM: Syncing filesystems ... done. [ 1239.252929] Freezing user space processes ... (elapsed 0.004 seconds) done. [ 1239.257711] Freezing remaining freezable tasks ... (elapsed 0.194 seconds) done.  ################### 2.2 设置pm_print_times,显示睡眠时间 ################### [ 1239.458193] calling 6-1+ @ 913, parent: usb6, cb: usb_dev_suspend   [ 1239.458768] call 6-1+ returned 0 after 15 usecs [ 1239.459207] calling input0+ @ 653, parent: rk_headset, cb: input_dev_suspend [ 1239.459837] call input0+ returned 0 after 2 usecs [ 1239.460423] calling hdmi-codec+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.461377] call hdmi-codec+ returned 0 after 283 usecs [ 1239.461872] calling es8316-sound+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.462833] call es8316-sound+ returned 0 after 279 usecs [ 1239.463325] calling fe310000.dwmmc+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.464076] call fe310000.dwmmc+ returned 0 after 2 usecs [ 1239.464692] calling usb8+ @ 913, parent: xhci-hcd.9.auto, cb: usb_dev_suspend [ 1239.465476] call usb8+ returned 0 after 140 usecs [ 1239.466040] calling usb7+ @ 913, parent: xhci-hcd.8.auto, cb: usb_dev_suspend [ 1239.466765] call usb7+ returned 0 after 82 usecs [ 1239.467318] calling usb6+ @ 913, parent: xhci-hcd.8.auto, cb: usb_dev_suspend [ 1239.468196] call usb6+ returned 0 after 232 usecs [ 1239.468668] calling usb5+ @ 180, parent: xhci-hcd.9.auto, cb: usb_dev_suspend [ 1239.469392] call usb5+ returned 0 after 82 usecs [ 1239.469828] calling xhci-hcd.9.auto+ @ 653, parent: fe900000.dwc3, cb: platform_pm_suspend [ 1239.470586] call xhci-hcd.9.auto+ returned 0 after 16 usecs [ 1239.471084] calling fe900000.dwc3+ @ 653, parent: usb1, cb: platform_pm_suspend [ 1239.471760] call fe900000.dwc3+ returned 0 after 25 usecs [ 1239.472313] calling usb1+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.472920] call usb1+ returned 0 after 2 usecs [ 1239.473345] calling xhci-hcd.8.auto+ @ 653, parent: fe800000.dwc3, cb: platform_pm_suspend [ 1239.474099] call xhci-hcd.8.auto+ returned 0 after 12 usecs [ 1239.474597] calling fe800000.dwc3+ @ 653, parent: usb0, cb: platform_pm_suspend [ 1239.475255] call fe800000.dwc3+ returned 0 after 8 usecs [ 1239.475739] calling usb0+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.476419] call usb0+ returned 0 after 8 usecs [ 1239.476846] calling ff9a0000.gpu+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.477755] call ff9a0000.gpu+ returned 0 after 229 usecs [ 1239.478258] calling snd-soc-dummy+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.478943] call snd-soc-dummy+ returned 0 after 0 usecs [ 1239.479451] calling user-led2+ @ 653, parent: gpio-leds, cb: led_suspend [ 1239.480152] call user-led2+ returned 0 after 10 usecs [ 1239.480616] calling user-led1+ @ 653, parent: gpio-leds, cb: led_suspend [ 1239.481223] call user-led1+ returned 0 after 3 usecs [ 1239.481689] calling mmc0:1234+ @ 653, parent: mmc0, cb: mmc_bus_suspend [ 1239.483497] call mmc0:1234+ returned 0 after 1185 usecs [ 1239.483978] calling mmc1::+ @ 653, parent: fe330000.sdhci, cb: led_suspend [ 1239.484675] call mmc1::+ returned 0 after 0 usecs [ 1239.485113] calling cpufreq-dt+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.485774] call cpufreq-dt+ returned 0 after 0 usecs [ 1239.486245] calling rk_iommu_domain.7.auto+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.486997] call rk_iommu_domain.7.auto+ returned 0 after 0 usecs [ 1239.487570] calling rtc0+ @ 653, parent: rk808-rtc, cb: rtc_suspend [ 1239.489825] call rtc0+ returned 0 after 1578 usecs [ 1239.490301] calling rk808-rtc+ @ 653, parent: 0-001b, cb: platform_pm_suspend [ 1239.491233] call rk808-rtc+ returned 0 after 284 usecs [ 1239.491739] calling rk808-regulator+ @ 653, parent: 0-001b, cb: platform_pm_suspend [ 1239.492514] call rk808-regulator+ returned 0 after 1 usecs [ 1239.493012] calling rk808-clkout+ @ 653, parent: 0-001b, cb: platform_pm_suspend [ 1239.493674] call rk808-clkout+ returned 0 after 0 usecs [ 1239.494163] calling 0-001b+ @ 653, parent: i2c-0, cb: rk808_suspend [ 1239.494722] call 0-001b+ returned 0 after 0 usecs [ 1239.495300] calling stmmac-0:01+ @ 653, parent: stmmac-0, cb: mdio_bus_suspend [ 1239.495350] calling usb4+ @ 180, parent: fe3e0000.usb, cb: usb_dev_suspend [ 1239.495446] calling usb3+ @ 913, parent: fe3a0000.usb, cb: usb_dev_suspend [ 1239.497237] call stmmac-0:01+ returned 0 after 1 usecs [ 1239.497769] calling stmmac-0:00+ @ 653, parent: stmmac-0, cb: mdio_bus_suspend [ 1239.498488] calling usb2+ @ 1033, parent: fe3c0000.usb, cb: usb_dev_suspend [ 1239.498752] call stmmac-0:00+ returned 0 after 320 usecs [ 1239.498783] calling mtd0ro+ @ 653, parent: spi32766.0, cb: mtd_cls_suspend [ 1239.498788] call mtd0ro+ returned 0 after 0 usecs [ 1239.498796] calling mtd0+ @ 653, parent: spi32766.0, cb: mtd_cls_suspend [ 1239.498799] call mtd0+ returned 0 after 0 usecs [ 1239.498865] calling hdmi-audio-codec.6.auto+ @ 653, parent: ff940000.hdmi, cb: platform_pm_suspend [ 1239.498868] call hdmi-audio-codec.6.auto+ returned 0 after 1 usecs [ 1239.498884] calling card0-HDMI-A-1+ @ 653, parent: card0, cb: drm_class_suspend [ 1239.498887] call card0-HDMI-A-1+ returned 0 after 0 usecs [ 1239.498897] calling card0+ @ 653, parent: display-subsystem, cb: drm_class_suspend [ 1239.498900] call card0+ returned 0 after 0 usecs [ 1239.498908] calling renderD128+ @ 653, parent: display-subsystem, cb: drm_class_suspend [ 1239.498911] call renderD128+ returned 0 after 0 usecs [ 1239.498919] calling controlD64+ @ 653, parent: display-subsystem, cb: drm_class_suspend [ 1239.498922] call controlD64+ returned 0 after 0 usecs [ 1239.498933] calling dw-hdmi-hdcp.5.auto+ @ 653, parent: ff940000.hdmi, cb: platform_pm_suspend [ 1239.498936] call dw-hdmi-hdcp.5.auto+ returned 0 after 0 usecs [ 1239.498943] calling dw-hdmi-cec.4.auto+ @ 653, parent: ff940000.hdmi, cb: platform_pm_suspend [ 1239.498946] call dw-hdmi-cec.4.auto+ returned 0 after 0 usecs [ 1239.498958] calling usb1+ @ 1049, parent: fe380000.usb, cb: usb_dev_suspend [ 1239.498962] calling dw-hdmi-i2s-audio.3.auto+ @ 653, parent: ff940000.hdmi, cb: platform_pm_suspend [ 1239.498966] call dw-hdmi-i2s-audio.3.auto+ returned 0 after 0 usecs [ 1239.498979] calling rk_iommu_domain.2.auto+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.498982] call rk_iommu_domain.2.auto+ returned 0 after 0 usecs [ 1239.499005] calling serial8250+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499008] call serial8250+ returned 0 after 1 usecs [ 1239.499089] calling rk_iommu_domain.1.auto+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499091] call rk_iommu_domain.1.auto+ returned 0 after 0 usecs [ 1239.499101] calling rk_iommu_domain.0.auto+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499104] call rk_iommu_domain.0.auto+ returned 0 after 0 usecs [ 1239.499144] calling armv7sec.0+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499147] call armv7sec.0+ returned 0 after 0 usecs [ 1239.499183] calling alarmtimer+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499187] call alarmtimer+ returned 0 after 1 usecs [ 1239.499368] calling regulatory.0+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499370] call regulatory.0+ returned 0 after 0 usecs [ 1239.499416] calling fiq_debugger.0+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499420] call fiq_debugger.0+ returned 0 after 1 usecs [ 1239.499427] calling rk_headset+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499431] call rk_headset+ returned 0 after 1 usecs [ 1239.499439] calling gpio-leds+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499442] call gpio-leds+ returned 0 after 0 usecs [ 1239.499448] calling sdio-pwrseq+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499451] call sdio-pwrseq+ returned 0 after 0 usecs [ 1239.499458] calling external-gmac-clock+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499460] call external-gmac-clock+ returned 0 after 0 usecs [ 1239.499467] calling vdd-log+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.499470] call vdd-log+ returned 0 after 0 usecs [ 1239.499477] calling vcc5v0-otg-regulator+ @ 653, parent: platform,.588174] call usb2+ returned 0 after 24100 usecs [ 1239.588694] calling ff770000.syscon:usb2-phy@e460+ @ 653, parent: ff770000.syscon, cb: platform_pm_suspend [ 1239.589562] call ff770000.syscon:usb2-phy@e460+ returned 0 after 12 usecs [ 1239.590176] calling ff770000.syscon:usb2-phy@e450+ @ 653, parent: ff770000.syscon, cb: platform_pm_suspend [ 1239.591045] call ff770000.syscon:usb2-phy@e450+ returned 0 after 13 usecs [ 1239.591655] calling ff770000.syscon:io-domains+ @ 653, parent: ff770000.syscon, cb: platform_pm_suspend [ 1239.592557] call ff770000.syscon:io-domains+ returned 0 after 0 usecs [ 1239.593137] calling ff770000.syscon+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.593832] call ff770000.syscon+ returned 0 after 0 usecs [ 1239.594328] calling ff760000.clock-controller+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.595103] call ff760000.clock-controller+ returned 0 after 0 usecs [ 1239.595667] calling ff750000.pmu-clock-controller+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.596530] call ff750000.pmu-clock-controller+ returned 0 after 0 usecs [ 1239.597132] calling ff690000.efuse+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.597827] call ff690000.efuse+ returned 0 after 0 usecs [ 1239.598311] calling ff660480.iommu+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.598995] call ff660480.iommu+ returned 0 after 0 usecs [ 1239.599480] calling ff660000.rkvdec+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.600240] call ff660000.rkvdec+ returned 0 after 0 usecs [ 1239.600737] calling ff650800.iommu+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.601420] call ff650800.iommu+ returned 0 after 0 usecs [ 1239.601906] calling ff650000.vpu_service+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.602634] call ff650000.vpu_service+ returned 0 after 0 usecs [ 1239.603166] calling ff420020.pwm+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.603839] call ff420020.pwm+ returned 0 after 0 usecs [ 1239.604377] calling f8000000.pcie+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.605061] call f8000000.pcie+ returned 0 after 0 usecs [ 1239.605536] calling pcie-phy+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.606185] call pcie-phy+ returned 0 after 0 usecs [ 1239.606624] calling ff320000.syscon:pmu-pvtm+ @ 653, parent: ff320000.syscon, cb: platform_pm_suspend [ 1239.607445] call ff320000.syscon:pmu-pvtm+ returned 0 after 0 usecs [ 1239.608074] calling ff320000.syscon:reboot-mode+ @ 653, parent: ff320000.syscon, cb: platform_pm_suspend [ 1239.608918] call ff320000.syscon:reboot-mode+ returned 0 after 0 usecs [ 1239.609506] calling ff320000.syscon:io-domains+ @ 653, parent: ff320000.syscon, cb: platform_pm_suspend [ 1239.610338] call ff320000.syscon:io-domains+ returned 0 after 0 usecs [ 1239.610915] calling ff320000.syscon+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.611610] call ff320000.syscon+ returned 0 after 0 usecs [ 1239.612171] calling ff310000.power-management:power-controller+ @ 653, parent: ff310000.power-management, cb: platform_pm_suspend [ 1239.613198] call ff310000.power-management:power-controller+ returned 0 after 0 usecs [ 1239.613899] calling ff310000.power-management+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.614674] call ff310000.power-management+ returned 0 after 0 usecs [ 1239.615238] calling ffae0000.qos+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.615910] call ffae0000.qos+ returned 0 after 0 usecs [ 1239.616448] calling ffad8080.qos+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.617121] call ffad8080.qos+ returned 0 after 0 usecs [ 1239.617594] calling ffad0000.qos+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.618266] call ffad0000.qos+ returned 0 after 0 usecs [ 1239.618738] calling ffac8080.qos+ @ 653, parent: platform, cb: platform_pm_suspend [ 123      [ 1239.692312] dw-apb-uart ff180000.serial: ttyS0: Unable to drain transmitter [ 1239.692987] call ff180000.serial+ returned 0 after 44416 usecs [ 1239.693530] calling ff110000.i2c+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.694205] call ff110000.i2c+ returned 0 after 1 usecs [ 1239.694679] calling ff3c0000.i2c+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.695351] call ff3c0000.i2c+ returned 0 after 0 usecs [ 1239.695826] calling ff100000.saradc+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.696631] call ff100000.saradc+ returned 0 after 13 usecs [ 1239.697129] calling fee00000.interrupt-controller+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.697928] call fee00000.interrupt-controller+ returned 0 after 0 usecs [ 1239.698531] calling fe3e0000.usb+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.699215] call fe3e0000.usb+ returned 0 after 11 usecs [ 1239.699691] calling fe3c0000.usb+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.700452] call fe3c0000.usb+ returned 0 after 22 usecs [ 1239.700930] calling fe3a0000.usb+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.701610] call fe3a0000.usb+ returned 0 after 7 usecs [ 1239.702085] calling fe380000.usb+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.702771] call fe380000.usb+ returned 0 after 13 usecs [ 1239.703257] calling fe330000.sdhci+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.703948] call fe330000.sdhci+ returned 0 after 7 usecs [ 1239.704508] calling fe320000.dwmmc+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.705194] call fe320000.dwmmc+ returned 0 after 1 usecs [ 1239.705681] calling fe300000.ethernet+ @ 653, parent: platform, cb: pm_generic_suspend [ 1239.706451] call fe300000.ethernet+ returned 0 after 61 usecs [ 1239.706991] calling ff6e0000.dma-controller+ @ 653, parent: amba, cb: pm_generic_suspend [ 1239.707712] call ff6e0000.dma-controller+ returned 0 after 2 usecs [ 1239.708341] calling ff6d0000.dma-controller+ @ 653, parent: amba, cb: pm_generic_suspend [ 1239.709062] call ff6d0000.dma-controller+ returned 0 after 2 usecs [ 1239.709616] calling amba+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.710231] call amba+ returned 0 after 0 usecs [ 1239.710646] calling dummy_vpll+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.711307] call dummy_vpll+ returned 0 after 0 usecs [ 1239.711767] calling dummy_cpll+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.712494] call dummy_cpll+ returned 0 after 0 usecs [ 1239.712955] calling xin24m+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.713582] call xin24m+ returned 0 after 0 usecs [ 1239.714009] calling timer+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.714635] call timer+ returned 0 after 0 usecs [ 1239.715050] calling psci+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.715665] call psci+ returned 0 after 0 usecs [ 1239.716144] calling pmu_a72+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.716783] call pmu_a72+ returned 0 after 0 usecs [ 1239.717222] calling pmu_a53+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.717859] call pmu_a53+ returned 0 after 0 usecs [ 1239.718297] calling cpuinfo+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.718935] call cpuinfo+ returned 0 after 0 usecs [ 1239.719373] calling ddr_timing+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.720098] call ddr_timing+ returned 0 after 0 usecs [ 1239.720566] calling reg-dummy+ @ 653, parent: platform, cb: platform_pm_suspend [ 1239.721217] call reg-dummy+ returned 0 after 0 usecs [ 1239.721776] PM: suspend of devices complete after 267.753 msecs [ 1239.722302] PM: suspend devices took 0.268 seconds [ 1239.723288] calling fe310000.dwmmc+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.724085] call fe310000.dwmmc+ returned 0 after 0 usecs [ 1239.725130] calling usb1+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.725781] call usb1+ returned 0 after 1 usecs [ 1239.726213] calling usb0+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.726863] call usb0+ returned 0 after 0 usecs [ 1239.727286] calling ff9a0000.gpu+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.728058] call ff9a0000.gpu+ returned 0 after 1 usecs [ 1239.729904] calling ff960000.dsi+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.730613] call ff960000.dsi+ returned 0 after 1 usecs [ 1239.731091] calling ff940000.hdmi+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.731809] call ff940000.hdmi+ returned 0 after 0 usecs [ 1239.732360] calling ff914000.iommu+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.733079] call ff914000.iommu+ returned 0 after 0 usecs [ 1239.733567] calling ff910000.rkisp1+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.734297] call ff910000.rkisp1+ returned 0 after 1 usecs [ 1239.734791] calling ff903f00.iommu+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.735509] call ff903f00.iommu+ returned 0 after 0 usecs [ 1239.735993] calling ff900000.vop+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.736766] call ff900000.vop+ returned 0 after 0 usecs [ 1239.737239] calling ff8f3f00.iommu+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.737957] call ff8f3f00.iommu+ returned 0 after 0 usecs [ 1239.738440] calling ff8f0000.vop+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.739147] call ff8f0000.vop+ returned 0 after 0 usecs [ 1239.739618] calling ff8a0000.i2s+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.740389] call ff8a0000.i2s+ returned 0 after 1 usecs [ 1239.740862] calling ff880000.i2s+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.741568] call ff880000.i2s+ returned 0 after 0 usecs [ 1239.742048] calling ff800000.phy+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.742754] call ff800000.phy+ returned 0 after 0 usecs [ 1239.743228] calling ff7c0000.phy+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.743934] call ff7c0000.phy+ returned 0 after 0 usecs [ 1239.744476] calling ff770000.syscon:mipi-dphy-rx0+ @ 653, parent: ff770000.syscon, cb: pm_generic_suspend_late [ 1239.745367] call ff770000.syscon:mipi-dphy-rx0+ returned 0 after 1 usecs [ 1239.745999] calling ff660480.iommu+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.746718] call ff660480.iommu+ returned 0 after 0 usecs [ 1239.747202] calling ff660000.rkvdec+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.747931] call ff660000.rkvdec+ returned 0 after 0 usecs [ 1239.748492] calling ff650800.iommu+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.749211] call ff650800.iommu+ returned 0 after 0 usecs [ 1239.749696] calling ff650000.vpu_service+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.750460] call ff650000.vpu_service+ returned 0 after 0 usecs [ 1239.751109] calling fe3e0000.usb+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.751816] call fe3e0000.usb+ returned 0 after 0 usecs [ 1239.752356] calling fe3c0000.usb+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.753063] call fe3c0000.usb+ returned 0 after 0 usecs [ 1239.753536] calling fe3a0000.usb+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.754242] call fe3a0000.usb+ returned 0 after 0 usecs [ 1239.754714] calling fe380000.usb+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.755420] call fe380000.usb+ returned 0 after 0 usecs [ 1239.755894] calling fe330000.sdhci+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.756677] call fe330000.sdhci+ returned 0 after 0 usecs [ 1239.757162] calling fe320000.dwmmc+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.757880] call fe320000.dwmmc+ returned 0 after 0 usecs [ 1239.758365] calling fe300000.ethernet+ @ 653, parent: platform, cb: pm_generic_suspend_late [ 1239.759106] call fe300000.ethernet+ returned 0 after 0 usecs [ 1239.759734] PM: late suspend of devices compleoirq [ 1239.793676] call fe3a0000.usb+ returned 0 after 0 usecs [ 1239.794175] calling fe380000.usb+ @ 653, parent: platform, cb: pm_genpd_suspend_noirq [ 1239.794871] call fe380000.usb+ returned 0 after 0 usecs [ 1239.795345] calling fe330000.sdhci+ @ 653, parent: platform, cb: pm_genpd_suspend_noirq [ 1239.796127] call fe330000.sdhci+ returned 0 after 1 usecs [ 1239.796612] calling fe320000.dwmmc+ @ 653, parent: platform, cb: pm_genpd_suspend_noirq [ 1239.797388] call fe320000.dwmmc+ returned 0 after 57 usecs [ 1239.797885] calling fe300000.ethernet+ @ 653, parent: platform, cb: pm_genpd_suspend_noirq [ 1239.798646] call fe300000.ethernet+ returned 0 after 19 usecs [ 1239.799272] PM: noirq suspend of devices complete after 38.885 msecs [ 1239.799832] Disabling non-boot CPUs ... [ 1239.801687] IRQ17 no longer affine to CPU1 [ 1239.802389] CPU1: shutdown [ 1239.802643] psci: CPU1 killed. [ 1239.815572] CPU2: shutdown [ 1239.815829] psci: CPU2 killed. [ 1239.830979] CPU3: shutdown [ 1239.831236] psci: CPU3 killed. [ 1239.842470] CPU4: shutdown [ 1239.842727] psci: CPU4 killed. [ 1239.854016] CPU5: shutdown [ 1239.854271] psci: CPU5 killed. [ 1239.866369] PM: Calling ledtrig_cpu_syscore_suspend+0x0/0x24 [ 1239.866883] PM: Calling sched_clock_suspend+0x0/0x3c [ 1239.867325] PM: Calling timekeeping_suspend+0x0/0x1dc [ 1239.867325] PM: Calling irq_gc_suspend+0x0/0x7c [ 1239.867325] PM: Calling fw_suspend+0x0/0x24 [ 1239.867325] PM: Calling cpu_pm_suspend+0x0/0x24 [ 1239.867325] suspend debug: Waiting for 5 second(s).

 

唤醒日志如下:

 ################### 2.3 5秒后,开始唤醒系统 ################### [ 1239.867325] PM: Calling cpu_pm_resume+0x0/0x20 [ 1239.867325] PM: Calling irq_gc_resume+0x0/0x78 [ 1239.867325] PM: Calling irq_pm_syscore_resume+0x0/0x20 [ 1239.867325] PM: Calling timekeeping_resume+0x0/0x198 [ 1239.867325] PM: Calling sched_clock_resume+0x0/0x54 [ 1239.867332] PM: Calling ledtrig_cpu_syscore_resume+0x0/0x20 [ 1239.868029] Enabling non-boot CPUs ... [ 1239.888097] Detected VIPT I-cache on CPU1 [ 1239.888491] CPU1: found redistributor 1 region 0:0x00000000fef20000 [ 1239.889096] CPU1: update cpu_capacity 401 [ 1239.889460] CPU1: Booted secondary processor [410fd034] [ 1239.890499] CPU1 is up [ 1239.908282] Detected VIPT I-cache on CPU2 [ 1239.908668] CPU2: found redistributor 2 region 0:0x00000000fef40000 [ 1239.909262] CPU2: update cpu_capacity 401 [ 1239.909624] CPU2: Booted secondary processor [410fd034] [ 1239.910749] CPU2 is up [ 1239.928505] Detected VIPT I-cache on CPU3 [ 1239.928889] CPU3: found redistributor 3 region 0:0x00000000fef60000 [ 1239.929482] CPU3: update cpu_capacity 401 [ 1239.929844] CPU3: Booted secondary processor [410fd034] [ 1239.931242] CPU3 is up [ 1239.952750] Detected PIPT I-cache on CPU4 [ 1239.953145] CPU4: found redistributor 100 region 0:0x00000000fef80000 [ 1239.953769] CPU4: update cpu_capacity 1024 [ 1239.954134] CPU4: Booted secondary processor [410fd082] [ 1239.957150] cpu cpu4: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0 [ 1239.957913] CPU4 is up [ 1239.977059] Detected PIPT I-cache on CPU5 [ 1239.977442] CPU5: found redistributor 101 region 0:0x00000000fefa0000 [ 1239.978047] CPU5: update cpu_capacity 1024 [ 1239.978411] CPU5: Booted secondary processor [410fd082] [ 1239.981310] CPU5 is up [ 1239.982770] calling fe300000.ethernet+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.983739] call fe300000.ethernet+ returned 0 after 158 usecs [ 1239.984268] calling fe320000.dwmmc+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.985045] call fe320000.dwmmc+ returned 0 after 67 usecs [ 1239.985540] calling fe330000.sdhci+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.986248] call fe330000.sdhci+ returned 0 after 0 usecs [ 1239.986729] calling fe380000.usb+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.987480] call fe380000.usb+ returned 0 after 0 usecs [ 1239.988252] calling fe3a0000.usb+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.988949] call fe3a0000.usb+ returned 0 after 0 usecs [ 1239.989433] calling fe3c0000.usb+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.990129] call fe3c0000.usb+ returned 0 after 0 usecs [ 1239.990613] calling fe3e0000.usb+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.991352] call fe3e0000.usb+ returned 0 after 0 usecs [ 1239.991844] calling ff3c0000.i2c+ @ 653, parent: platform, cb: rk3x_i2c_resume_noirq [ 1239.992544] call ff3c0000.i2c+ returned 0 after 15 usecs [ 1239.993018] calling ff110000.i2c+ @ 653, parent: platform, cb: rk3x_i2c_resume_noirq [ 1239.993720] call ff110000.i2c+ returned 0 after 7 usecs [ 1239.994259] calling ff650000.vpu_service+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.995012] call ff650000.vpu_service+ returned 0 after 0 usecs [ 1239.995570] calling ff650800.iommu+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.996277] call ff650800.iommu+ returned 0 after 0 usecs [ 1239.996760] calling ff660000.rkvdec+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.997478] call ff660000.rkvdec+ returned 0 after 0 usecs [ 1239.997971] calling ff660480.iommu+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1239.998677] call ff660480.iommu+ returned 0 after 0 usecs [ 1239.999206] calling ff770000.syscon:mipi-dphy-rx0+ @ 653, parent: ff770000.syscon, cb: pm_genpd_resume_noirq [ 1240.000094] call ff770000.syscon:mipi-dphy-rx0+ returned 0 after 19 usecs [ 1240.000705] calling ff7c0000.phy+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.001413] call ff7c0000.phy+ returned 0 after 13 usecs [ 1240.001896] calling ff800000.phy+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.002604] call ff800000.phy+ returned 0 after 12 usecs [ 1240.003120] calling ff880000.i2s+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.003829] call ff880000.i2s+ returned 0 after 23 usecs [ 1240.004301] calling ff8a0000.i2s+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.004996] call ff8a0000.i2s+ returned 0 after 0 usecs [ 1240.005467] calling ff8f0000.vop+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.006161] call ff8f0000.vop+ returned 0 after 0 usecs [ 1240.006632] calling ff8f3f00.iommu+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.007365] call ff8f3f00.iommu+ returned 0 after 0 usecs [ 1240.007850] calling ff900000.vop+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.008544] call ff900000.vop+ returned 0 after 0 usecs [ 1240.009015] calling ff903f00.iommu+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.009721] call ff903f00.iommu+ returned 0 after 0 usecs [ 1240.010203] calling ff910000.rkisp1+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.010921] call ff910000.rkisp1+ returned 0 after 0 usecs [ 1240.011441] calling ff914000.iommu+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.012149] call ff914000.iommu+ returned 0 after 0 usecs [ 1240.012631] calling ff940000.hdmi+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.013354] call ff940000.hdmi+ returned 0 after 26 usecs [ 1240.013837] calling ff960000.dsi+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.014532] call ff960000.dsi+ returned 0 after 0 usecs [ 1240.015475] calling ff9a0000.gpu+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.016171] call ff9a0000.gpu+ returned 0 after 0 usecs [ 1240.016645] calling usb0+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.017273] call usb0+ returned 0 after 0 usecs [ 1240.017707] calling usb1+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.018334] call usb1+ returned 0 after 0 usecs [ 1240.018789] calling fe310000.dwmmc+ @ 653, parent: platform, cb: pm_genpd_resume_noirq [ 1240.019525] call fe310000.dwmmc+ returned 0 after 0 usecs [ 1240.020049] PM: noirq resume of devices complete after 37.601 msecs [ 1240.021212] calling fe300000.ethernet+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.021955] call fe300000.ethernet+ returned 0 after 1 usecs [ 1240.022461] calling fe320000.dwmmc+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.023208] call fe320000.dwmmc+ returned 0 after 0 usecs [ 1240.023693] calling fe330000.sdhci+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.024412] call fe330000.sdhci+ returned 0 after 0 usecs [ 1240.024894] calling fe380000.usb+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.025601] call fe380000.usb+ returned 0 after 0 usecs [ 1240.026084] calling fe3a0000.usb+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.026791] call fe3a0000.usb+ returned 0 after 0 usecs [ 1240.027300] calling fe3c0000.usb+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.028007] call fe3c0000.usb+ returned 0 after 0 usecs [ 1240.028489] calling fe3e0000.usb+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.029196] call fe3e0000.usb+ returned 0 after 0 usecs [ 1240.029765] calling ff650000.vpu_service+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.030530] call ff650000.vpu_service+ returned 0 after 0 usecs [ 1240.031058] calling ff650800.iommu+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.031807] call ff650800.iommu+ returned 0 after 0 usecs [ 1240.032292] calling ff660000.rkvdec+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.033021] call ff660000.rkvdec+ returned 0 after 0 usecs [ 1240.033515] calling ff660480.iommu+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.034233] call ff660480.iommu+ returned 0 after 0 usecs [ 1240.034731] calling ff770000.syscon:mipi-dphy-rx0+ @ 653, parent: ff770000.syscon, cb: pm_generic_resume_early [ 1240.035647] call ff770000.syscon:mipi-dphy-rx0+ returned 0 after 1 usecs [ 1240.036248] calling ff7c0000.phy+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.036954] call ff7c0000.phy+ returned 0 after 0 usecs [ 1240.037425] calling ff800000.phy+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.038132] call ff800000.phy+ returned 0 after 0 usecs [ 1240.038606] calling ff880000.i2s+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.039339] call ff880000.i2s+ returned 0 after 1 usecs [ 1240.039811] calling ff8a0000.i2s+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.040517] call ff8a0000.i2s+ returned 0 after 0 usecs [ 1240.040989] calling ff8f0000.vop+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.041695] call ff8f0000.vop+ returned 0 after 0 usecs [ 1240.042165] calling ff8f3f00.iommu+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.042883] call ff8f3f00.iommu+ returned 0 after 0 usecs [ 1240.043393] calling ff900000.vop+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.044100] call ff900000.vop+ returned 0 after 0 usecs [ 1240.044571] calling ff903f00.iommu+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.045289] call ff903f00.iommu+ returned 0 after 0 usecs [ 1240.045772] calling ff910000.rkisp1+ @ 653, parent: platform, cb: pm_generic_resume_early [ 1240.046501] call ff910000.rkisp1+ returne [ 1240.157535] call fe300000.ethernet+ returned 0 after 83464 usecs [ 1240.158106] calling fe320000.dwmmc+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.158791] call fe320000.dwmmc+ returned 0 after 11 usecs [ 1240.159343] calling fe330000.sdhci+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.161031] call fe330000.sdhci+ returned 0 after 990 usecs [ 1240.161525] calling fe380000.usb+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.164259] usb usb1: root hub lost power or was reset [ 1240.164735] call fe380000.usb+ returned 0 after 2488 usecs [ 1240.165283] calling fe3a0000.usb+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.165355] calling usb1+ @ 1069, parent: fe380000.usb, cb: usb_dev_resume [ 1240.223421] usb usb3: root hub lost power or was reset [ 1240.223915] call fe3a0000.usb+ returned 0 after 56013 usecs [ 1240.224515] calling fe3c0000.usb+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.224603] calling usb3+ @ 1065, parent: fe3a0000.usb, cb: usb_dev_resume [ 1240.227863] usb usb2: root hub lost power or was reset [ 1240.228338] call fe3c0000.usb+ returned 0 after 2488 usecs [ 1240.228869] calling fe3e0000.usb+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.228949] calling usb2+ @ 1054, parent: fe3c0000.usb, cb: usb_dev_resume [ 1240.267481] call usb1+ returned 0 after 99714 usecs [ 1240.287431] usb usb4: root hub lost power or was reset [ 1240.287925] call fe3e0000.usb+ returned 0 after 56427 usecs [ 1240.288518] calling fee00000.interrupt-controller+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.288554] calling usb4+ @ 1051, parent: fe3e0000.usb, cb: usb_dev_resume [ 1240.289928] call fee00000.interrupt-controller+ returned 0 after 0 usecs [ 1240.290525] calling ff100000.saradc+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.291291] call ff100000.saradc+ returned 0 after 13 usecs [ 1240.291787] calling ff3c0000.i2c+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.292460] call ff3c0000.i2c+ returned 0 after 1 usecs [ 1240.292931] calling ff110000.i2c+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.293603] call ff110000.i2c+ returned 0 after 0 usecs [ 1240.294073] calling ff180000.serial+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.294891] call ff180000.serial+ returned 0 after 119 usecs [ 1240.295443] calling ff1d0000.spi+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.296144] call ff1d0000.spi+ returned 0 after 27 usecs [ 1240.296616] calling ff260000.tsadc+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.297706] call ff260000.tsadc+ returned 0 after 395 usecs [ 1240.298203] calling ffa58000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.298875] call ffa58000.qos+ returned 0 after 0 usecs [ 1240.299397] calling ffa5c000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.300070] call ffa5c000.qos+ returned 0 after 0 usecs [ 1240.300541] calling ffa60080.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.301212] call ffa60080.qos+ returned 0 after 0 usecs [ 1240.301683] calling ffa60100.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.302355] call ffa60100.qos+ returned 0 after 0 usecs [ 1240.302825] calling ffa60180.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.303541] call ffa60180.qos+ returned 0 after 0 usecs [ 1240.304013] calling ffa70000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.304685] call ffa70000.qos+ returned 0 after 0 usecs [ 1240.305156] calling ffa70080.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.305827] call ffa70080.qos+ returned 0 after 0 usecs [ 1240.306298] calling ffa74000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.306969] call ffa74000.qos+ returned 0 after 0 usecs [ 1240.307481] calling ffa76000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.308154] call ffa76000.qos+ returned 0 after 0 usecs [ 1240.308625] calling ffa90000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.309297] call ffa90000.qos+ returned 0 after 0 usecs [ 1240.309768] calling ffa98000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.310439] call ffa98000.qos+ returned 0 after 0 usecs [ 1240.310909] calling ffaa0000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.311622] call ffaa0000.qos+ returned 0 after 0 usecs [ 1240.312094] calling ffaa0080.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.312766] call ffaa0080.qos+ returned 0 after 0 usecs [ 1240.313236] calling ffaa8000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.313908] call ffaa8000.qos+ returned 0 after 0 usecs [ 1240.314379] calling ffaa8080.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.315050] call ffaa8080.qos+ returned 0 after 0 usecs [ 1240.315562] calling ffab0000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.316235] call ffab0000.qos+ returned 0 after 0 usecs [ 1240.316706] calling ffab0080.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.317378] call ffab0080.qos+ returned 0 after 0 usecs [ 1240.317848] calling ffab8000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.318520] call ffab8000.qos+ returned 0 after 0 usecs [ 1240.318991] calling ffac0000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.319703] call ffac0000.qos+ returned 0 after 0 usecs [ 1240.320176] calling ffac0080.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.320847] call ffac0080.qos+ returned 0 after 0 usecs [ 1240.321318] calling ffac8000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.321989] call ffac8000.qos+ returned 0 after 0 usecs [ 1240.322460] calling ffac8080.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.323173] call ffac8080.qos+ returned 0 after 0 usecs [ 1240.323645] calling ffad0000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.324317] call ffad0000.qos+ returned 0 after 0 usecs [ 1240.324788] calling ffad8080.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.325449] call ffad8080.qos+ returned 0 after 0 usecs [ 1240.325919] calling ffae0000.qos+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.326591] call ffae0000.qos+ returned 0 after 0 usecs [ 1240.327061] calling ff310000.power-management+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.327865] call ff310000.power-management+ returned 0 after 0 usecs [ 1240.328430] calling ff310000.power-management:power-controller+ @ 653, parent: ff310000.power-management, cb: platform_pm_resume [ 1240.329457] call ff310000.power-management:power-controller+ returned 0 after 0 usecs [ 1240.330156] calling ff320000.syscon+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.330851] call ff320000.syscon+ returned 0 after 0 usecs [ 1240.331260] call usb2+ returned 0 after 99907 usecs [ 1240.331837] calling ff320000.syscon:io-domains+ @ 653, parent: ff320000.syscon, cb: platform_pm_resume [ 1240.332659] call ff320000.syscon:io-domains+ returned 0 after 0 usecs [ 1240.333233] calling ff320000.syscon:reboot-mode+ @ 653, parent: ff320000.syscon, cb: platform_pm_resume [ 1240.334066] call ff320000.syscon:reboot-mode+ returned 0 after 0 usecs [ 1240.334651] calling ff320000.syscon:pmu-pvtm+ @ 653, parent: ff320000.syscon, cb: platform_pm_resume [ 1240.335502] call ff320000.syscon:pmu-pvtm+ returned 0 after 0 usecs [ 1240.336066] calling pcie-phy+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.336704] call pcie-phy+ returned 0 after 0 usecs [ 1240.337141] calling f8000000.pcie+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.337813] call f8000000.pcie+ returned 0 after 0 usecs [ 1240.338284] calling ff420020.pwm+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.338956] call ff420020.pwm+ returned 0 after 0 usecs [ 1240.339469] calling ff650000.vpu_service+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.340189] call ff650000.vpu_service+ returned 0 after 0 usecs [ 1240.340717] calling ff650800.iommu+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.341390] call ff650800.iommu+ returned 0 after 0 usecs [ 1240.341872] calling ff660000.rkvdec+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.342556] call ff660000.rkvdec+ returned 0 after 0 usecs [ 1240.343049] calling ff660480.iommu+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.343762] call ff660480.iommu+ returned 0 after 0 usecs [ 1240.344247] calling ff690000.efuse+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.344931] call ff690000.efuse+ returned 0 after 0 usecs [ 1240.345413] calling ff750000.pmu-clock-controller+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.346211] call ff750000.pmu-clock-controller+ returned 0 after 0 usecs [ 1240.346808] calling ff760000.clock-controller+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.347610] call ff760000.clock-controller+ returned 0 after 0 usecs [ 1240.348175] calling ff770000.syscon+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.348869] call ff770000.syscon+ returned 0 after 0 usecs [ 1240.349363] calling ff770000.syscon:io-domains+ @ 653, parent: ff770000.syscon, cb: platform_pm_resume [ 1240.350184] call ff770000.syscon:io-domains+ returned 0 after 0 usecs [ 1240.350758] calling ff770000.syscon:usb2-phy@e450+ @ 653, parent: ff770000.syscon, cb: platform_pm_resume [ 1240.351661] call ff770000.syscon:usb2-phy@e450+ returned 0 after 17 usecs [] call ffa8f800.nocp-vio1-msch1+ returned 0 after 0 usecs [ 1240.409540] calling pinctrl+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.410172] call pinctrl+ returned 0 after 4 usecs [ 1240.410616] calling rockchip-suspend+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.411353] call rockchip-suspend+ returned 0 after 0 usecs [ 1240.411849] calling opp-table0+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.412499] call opp-table0+ returned 0 after 0 usecs [ 1240.412958] calling opp-table1+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.413607] call opp-table1+ returned 0 after 0 usecs [ 1240.414066] calling opp-table2+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.414715] call opp-table2+ returned 0 after 0 usecs [ 1240.415216] calling opp-table3+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.415866] call opp-table3+ returned 0 after 0 usecs [ 1240.416325] calling fiq-debugger+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.416997] call fiq-debugger+ returned 0 after 0 usecs [ 1240.417467] calling vcc1v8-s0+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.418116] call vcc1v8-s0+ returned 0 after 0 usecs [ 1240.418564] calling vcc-sys+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.419232] call vcc-sys+ returned 0 after 0 usecs [ 1240.419670] calling vcc-phy-regulator+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.420376] call vcc-phy-regulator+ returned 0 after 0 usecs [ 1240.420881] calling vcc3v3-sys+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.421531] call vcc3v3-sys+ returned 0 after 0 usecs [ 1240.421990] calling vcc3v3-pcie-regulator+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.422729] call vcc3v3-pcie-regulator+ returned 0 after 0 usecs [ 1240.423309] calling vcc5v0-host-regulator+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.424050] call vcc5v0-host-regulator+ returned 0 after 0 usecs [ 1240.424590] calling vcc5v0-otg-regulator+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.425319] call vcc5v0-otg-regulator+ returned 0 after 0 usecs [ 1240.425847] calling vdd-log+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.426474] call vdd-log+ returned 0 after 0 usecs [ 1240.426910] calling external-gmac-clock+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.427668] call external-gmac-clock+ returned 0 after 0 usecs [ 1240.428187] calling sdio-pwrseq+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.428848] call sdio-pwrseq+ returned 0 after 0 usecs [ 1240.429307] calling gpio-leds+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.429956] call gpio-leds+ returned 0 after 0 usecs [ 1240.430403] calling rk_headset+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.431054] call rk_headset+ returned 0 after 1 usecs [ 1240.431544] calling fiq_debugger.0+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.432229] call fiq_debugger.0+ returned 0 after 1 usecs [ 1240.432738] calling regulatory.0+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.433409] call regulatory.0+ returned 0 after 0 usecs [ 1240.434004] calling alarmtimer+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.434654] call alarmtimer+ returned 0 after 0 usecs [ 1240.435177] calling armv7sec.0+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.435828] call armv7sec.0+ returned 0 after 0 usecs [ 1240.436309] calling rk_iommu_domain.0.auto+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.437051] call rk_iommu_domain.0.auto+ returned 0 after 0 usecs [ 1240.437592] calling rk_iommu_domain.1.auto+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.438332] call rk_iommu_domain.1.auto+ returned 0 after 0 usecs [ 1240.438925] calling serial8250+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.439618] call serial8250+ returned 0 after 1 usecs [ 1240.440077] calling rk_iommu_domainrent: xhci-hcd.8.auto, cb: usb_dev_resume [ 1240.457891] call fe900000.dwc3+ returned 0 after 3056 usecs [ 1240.457902] calling xhci-hcd.9.auto+ @ 653, parent: fe900000.dwc3, cb: platform_pm_resume [ 1240.457923] usb usb5: root hub lost power or was reset [ 1240.457930] usb usb8: root hub lost power or was reset [ 1240.458157] call xhci-hcd.9.auto+ returned 0 after 243 usecs [ 1240.458263] calling fe310000.dwmmc+ @ 653, parent: platform, cb: pm_generic_resume [ 1240.458272] calling usb5+ @ 1049, parent: xhci-hcd.9.auto, cb: usb_dev_resume [ 1240.458314] call fe310000.dwmmc+ returned 0 after 45 usecs [ 1240.458324] calling es8316-sound+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.458339] call es8316-sound+ returned 0 after 10 usecs [ 1240.458381] calling usb8+ @ 180, parent: xhci-hcd.9.auto, cb: usb_dev_resume [ 1240.458410] calling hdmi-codec+ @ 653, parent: platform, cb: platform_pm_resume [ 1240.458425] call hdmi-codec+ returned 0 after 9 usecs [ 1240.458539] calling input0+ @ 653, parent: rk_headset, cb: input_dev_resume [ 1240.458544] call input0+ returned 0 after 1 usecs [ 1240.467240] call usb4+ returned 0 after 174490 usecs [ 1240.506646] call usb6+ returned 0 after 50673 usecs [ 1240.507331] calling 6-1+ @ 1063, parent: usb6, cb: usb_dev_resume [ 1240.508292] call 6-1+ returned 0 after 387 usecs [ 1240.555324] call usb7+ returned 0 after 98109 usecs [ 1240.559349] call usb5+ returned 0 after 98694 usecs [ 1240.663317] call usb8+ returned 0 after 200120 usecs [ 1240.663978] PM: resume of devices complete after 607.321 msecs [ 1240.668558] PM: resume devices took 0.612 seconds [ 1240.668992] Restarting tasks ... done. [ 1240.672179] vcc_sd: unsupportable voltage range: 3300000-3000000uV [ 1240.672779] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3000000 done [ 1240.673476] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3000000 done [ 1240.674415] PM: suspend exit 2016-11-03 17:37:53.755462354 UTC root@linaro-alip:/sys/power# [ 1240.687238] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 1240.735102] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)  root@linaro-alip:/sys/power# 
原文链接:https://my.oschina.net/u/4702401/blog/5077448
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章