<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10px"><div id="yui_3_16_0_ym19_1_1478071042713_9051"><span id="yui_3_16_0_ym19_1_1478071042713_10947"><font size="3" id="yui_3_16_0_ym19_1_1478071042713_11046">Hi Stephen,</font></span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span><font size="3">1.</font></span><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1478071042713_11094">Are you able to reproduce the issue with current Mainline kernel 4.9rcX?</span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1478071042713_11148"> </span><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1478071042713_11135">What exact platform you are using?</span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052"><span id="yui_3_16_0_ym19_1_1478071042713_10885"><font size="3" id="yui_3_16_0_ym19_1_1478071042713_11041"> I am porting linux kernel 4.4.16 onto our custom ARM cortexA9x4 based SoC.</font></span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052"><span><font size="3"><br></font></span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span id="yui_3_16_0_ym19_1_1478071042713_11150"><font size="3" id="yui_3_16_0_ym19_1_1478071042713_11149">2. </font></span><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1478071042713_11147">What are the exact commands to suspend your board?</span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span style="font-size: medium;" id="yui_3_16_0_ym19_1_1478071042713_11151"> I am using the sysfs entry for wfi</span><br></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span id="yui_3_16_0_ym19_1_1478071042713_11085"><font size="3" id="yui_3_16_0_ym19_1_1478071042713_11084"> # echo wfi > /sys/power/state</font></span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span><font size="3"><br></font></span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span><font size="3">3.</font></span><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1478071042713_11193">What device is your wakeup source?</span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span id="yui_3_16_0_ym19_1_1478071042713_10911"><font size="3" id="yui_3_16_0_ym19_1_1478071042713_11042"> I have configured a oush button on the board as my wakeup IRQ.</font></span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span><font size="3"><br></font></span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span><font size="3">4. </font></span><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1478071042713_11284">Does suspend already worked before?</span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span id="yui_3_16_0_ym19_1_1478071042713_10945"><font size="3" id="yui_3_16_0_ym19_1_1478071042713_11043"> Suspend worked on previous kernel 3.4.14 on the board.</font></span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span><font size="3"><br></font></span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><span><font size="3">5. </font></span><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1478071042713_11325">Did you try no_console_debug on a debug UART?</span></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><font size="3" id="yui_3_16_0_ym19_1_1478071042713_11047"><span id="yui_3_16_0_ym19_1_1478071042713_10927"> I am using </span><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_ym19_1_1478071042713_10925">no_console_debug</span><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_ym19_1_1478071042713_10926"> option passed via u-Boot.</span></font></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><font size="3"><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;"><br></span></font></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><font size="3"><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;">Regards,</span></font></div><div id="yui_3_16_0_ym19_1_1478071042713_9052" dir="ltr"><font size="3"><span style="font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, "Lucida Grande", sans-serif;">Amit.</span></font></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 10px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, 2 November 2016 12:12 AM, Stefan Wahren <info@lategoodbye.de> wrote:<br></font></div> <br><br> <div class="y_msg_container">Hi Amit,<br clear="none"><br clear="none">Am 01.11.2016 um 13:35 schrieb Amit Mahadik:<br clear="none">> Hi,<br clear="none">> I am trying to understand the Linux Power management Unit<br clear="none">> framework. I have an ARM Cortex-A9x4 board. When I enable pm_test or<br clear="none">> pass initcall_debug parameter through U-boot via bootargs the system<br clear="none">> goes into (wfi/suspend state) and resumes properly.<br clear="none">> However, the issue is when I disable pm_test and initcall_debug and put<br clear="none">> my system into WFI/SUSPEND state , it does not resume even if the<br clear="none">> registered wakeup IRQ is generated.<br clear="none">> I am using linux kernel source revision 4.4.16. Can somebody please<br clear="none">> help me regarding this issue?<br clear="none"><br clear="none">i have a similiar issue with a i.MX28 board [1].<br clear="none"><br clear="none">Here are some question which should help to narrow down the issue:<br clear="none"><br clear="none">Are you able to reproduce the issue with current Mainline kernel 4.9rcX?<br clear="none">What exact platform you are using?<br clear="none">What are the exact commands to suspend your board?<br clear="none">What device is your wakeup source?<br clear="none">Does suspend already worked before?<br clear="none">Did you try no_console_debug on a debug UART?<br clear="none"><br clear="none">Regards<br clear="none">Stefan<br clear="none"><br clear="none">[1] - <a shape="rect" href="http://marc.info/?l=linux-arm-kernel&m=147721451006631&w=2" target="_blank">http://marc.info/?l=linux-arm-kernel&m=147721451006631&w=2</a><div class="yqt6025332360" id="yqtfd09627"><br clear="none"><br clear="none">><br clear="none">> Regards,<br clear="none">> Amit.</div><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Kernelnewbies mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none">> <a shape="rect" href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br clear="none">><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">Kernelnewbies mailing list<br clear="none"><a shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none"><a shape="rect" href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><div class="yqt6025332360" id="yqtfd30302"><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>