<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: Where does machine_restart map in the IMX8M kernel sources?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Where-does-machine-restart-map-in-the-IMX8M-kernel-sources/m-p/926357#M139095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="334403" data-username="john.obendorfer@cognex.com" href="https://community.nxp.com/people/john.obendorfer@cognex.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;John Obendorfer&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let us know which linux kernel version you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan Gajjar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2019 12:59:05 GMT</pubDate>
    <dc:creator>karangajjar</dc:creator>
    <dc:date>2019-10-01T12:59:05Z</dc:date>
    <item>
      <title>Where does machine_restart map in the IMX8M kernel sources?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-does-machine-restart-map-in-the-IMX8M-kernel-sources/m-p/926356#M139094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the Sumo release on an IMX8MQ.&amp;nbsp; Could any one please point me to the imx8m-specific function called by machine_restart()?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought it was mxc_reset() in arch/arm/mach-imx/system.c, but inserting a #error in that function doesn't break the build.&amp;nbsp; That's a pity, because mxc_reset()&amp;nbsp; does exactly what I want: force WDOG1 to fire the system reset signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The machine_restart() in arch/arm64/kernel/process.c references two "possible suspects":&lt;/P&gt;&lt;P&gt;1. the pointer arm_pm_restart&lt;/P&gt;&lt;P&gt;2. the function do_kernel_restart()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm_pm_restart appears to be set in the xen/enlighten.c, but that quickly led to the deferencing of a jump table that I haven't been able to find yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, do_kernel_restart() appears to walk a list of registered reset handlers, none of which look&amp;nbsp; like they would reset the platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any light that anyone could throw on this would be much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John Obendorfer&lt;/P&gt;&lt;P&gt;Sr Software Engineer&lt;/P&gt;&lt;P&gt;Cognex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Sep 2019 00:39:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-does-machine-restart-map-in-the-IMX8M-kernel-sources/m-p/926356#M139094</guid>
      <dc:creator>john_obendorfer</dc:creator>
      <dc:date>2019-09-28T00:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Where does machine_restart map in the IMX8M kernel sources?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-does-machine-restart-map-in-the-IMX8M-kernel-sources/m-p/926357#M139095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="334403" data-username="john.obendorfer@cognex.com" href="https://community.nxp.com/people/john.obendorfer@cognex.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;John Obendorfer&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let us know which linux kernel version you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan Gajjar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 12:59:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-does-machine-restart-map-in-the-IMX8M-kernel-sources/m-p/926357#M139095</guid>
      <dc:creator>karangajjar</dc:creator>
      <dc:date>2019-10-01T12:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Where does machine_restart map in the IMX8M kernel sources?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-does-machine-restart-map-in-the-IMX8M-kernel-sources/m-p/926358#M139096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, should have put that in the original post.&lt;/P&gt;&lt;P&gt;We're running kernel version 4.14.78 (Sumo) on an IMX8MQ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 18:12:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-does-machine-restart-map-in-the-IMX8M-kernel-sources/m-p/926358#M139096</guid>
      <dc:creator>john_obendorfer</dc:creator>
      <dc:date>2019-10-02T18:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Where does machine_restart map in the IMX8M kernel sources?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-does-machine-restart-map-in-the-IMX8M-kernel-sources/m-p/926359#M139097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="334403" data-username="john.obendorfer@cognex.com" href="https://community.nxp.com/people/john.obendorfer@cognex.com"&gt;John Obendorfer&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure about the version which you are using is Yocto sumo (L4.14.78)? As we are not able to find the mxc_reset() in arch/arm/mach-imx/system.c (In our system's Yocto sumo L4.14.78 build).&lt;/P&gt;&lt;P&gt;Can you let us know exactly what you want to know about reboot? Are you looking for board specific functions for system reset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radhika Somaiya.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 14:52:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-does-machine-restart-map-in-the-IMX8M-kernel-sources/m-p/926359#M139097</guid>
      <dc:creator>radhikasomaiya</dc:creator>
      <dc:date>2019-10-04T14:52:58Z</dc:date>
    </item>
  </channel>
</rss>

