<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: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, 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: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1478071042713_11148">&nbsp; &nbsp;&nbsp;</span><span style="font-family: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, 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">&nbsp; &nbsp;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.&nbsp;</font></span><span style="font-family: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, 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">&nbsp; &nbsp; &nbsp;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">&nbsp; &nbsp; &nbsp;# echo wfi &gt; /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: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, 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">&nbsp; &nbsp; 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.&nbsp;</font></span><span style="font-family: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, 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">&nbsp; &nbsp; 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.&nbsp;</font></span><span style="font-family: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, 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">&nbsp; &nbsp; I am using&nbsp;</span><span style="font-family: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, sans-serif;" id="yui_3_16_0_ym19_1_1478071042713_10925">no_console_debug</span><span style="font-family: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, sans-serif;" id="yui_3_16_0_ym19_1_1478071042713_10926">&nbsp;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: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, 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: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, 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: &quot;Helvetica Neue&quot;, &quot;Segoe UI&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, 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 &lt;info@lategoodbye.de&gt; 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">&gt; Hi,<br clear="none">&gt;&nbsp; &nbsp; &nbsp; I am trying to understand&nbsp; the Linux Power management Unit<br clear="none">&gt; framework. I have an ARM Cortex-A9x4 board. When I enable pm_test or<br clear="none">&gt; pass initcall_debug parameter through U-boot via bootargs the system<br clear="none">&gt; goes into (wfi/suspend state) and resumes properly.<br clear="none">&gt; However, the issue is when I disable pm_test and initcall_debug and put<br clear="none">&gt; my system into WFI/SUSPEND state , it does not resume even if the<br clear="none">&gt; registered wakeup IRQ is generated.<br clear="none">&gt;&nbsp; &nbsp;  I am using linux kernel source revision 4.4.16. Can somebody please<br clear="none">&gt; 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&amp;m=147721451006631&amp;w=2" target="_blank">http://marc.info/?l=linux-arm-kernel&amp;m=147721451006631&amp;w=2</a><div class="yqt6025332360" id="yqtfd09627"><br clear="none"><br clear="none">&gt;<br clear="none">&gt; Regards,<br clear="none">&gt; Amit.</div><br clear="none">&gt;<br clear="none">&gt;<br clear="none">&gt; _______________________________________________<br clear="none">&gt; Kernelnewbies mailing list<br clear="none">&gt; <a shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none">&gt; <a shape="rect" href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br clear="none">&gt;<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>