Commits
Robin Gong committed 3d6fc85f026
MLK-13905: ARM: imx: pm-rpmsg: fix kernel warning while resume back On i.mx7ulp, kernel need notify m4 side power mode message before enter VLLS and resume back, but pm_qos_remove_request will enable local irq that cause the below kernel warning since kernel assum local irq disalbed in syscore_resume. In this case, just ignore touch pm_qos_* since cpu0 never enter idle at that suspend time. WARNING: CPU: 0 PID: 629 at drivers/base/syscore.c:99 syscore_resume+0xcc/0xec() Interrupts enabled before system core resume. Modules linked in: CPU: 0 PID: 629 Comm: sh Not tainted 4.1.33-02249-g69520ab-dirty #259 Hardware name: Freescale i.MX7ULP (Device Tree) [<80015ddc>] (unwind_backtrace) from [<8001274c>] (show_stack+0x10/0x14) [<8001274c>] (show_stack) from [<807c97f0>] (dump_stack+0x88/0x9c) [<807c97f0>] (dump_stack) from [<800386e4>] (warn_slowpath_common+0x84/0xb4) [<800386e4>] (warn_slowpath_common) from [<80038744>] (warn_slowpath_fmt+0x30/0x40) [<80038744>] (warn_slowpath_fmt) from [<8038d3d0>] (syscore_resume+0xcc/0xec) [<8038d3d0>] (syscore_resume) from [<8006c1c4>] (suspend_devices_and_enter+0x3c4/0x500) [<8006c1c4>] (suspend_devices_and_enter) from [<8006c580>] (pm_suspend+0x280/0x2fc Signed-off-by: Robin Gong <yibin.gong@nxp.com>