<?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: XHCI: USB transaction errors causes instability</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006158#M149101</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" data-content-finding="Community" data-userid="340804" data-username="jonas.karlsson@actia.se" href="https://community.nxp.com/people/jonas.karlsson@actia.se"&gt;Jonas Karlsson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that seems the issue is solved under the help from&amp;nbsp;Oliver Neukum.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://lore.kernel.org/linux-usb/1583839306.11582.12.camel%40suse.de/T/#mb5c768c150d8974fd6ac1f0c18a0bbee5224dc04" title="https://lore.kernel.org/linux-usb/1583839306.11582.12.camel%40suse.de/T/#mb5c768c150d8974fd6ac1f0c18a0bbee5224dc04"&gt;USB transaction errors causing RCU stalls and kernel panics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And seems reverting the RCU commit is not neended.&lt;/P&gt;&lt;P&gt;I've made a patch set according to your test in the thread, and want to confirm with you if these are the patches that solved your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Danwei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2020 04:16:00 GMT</pubDate>
    <dc:creator>danwei_luo</dc:creator>
    <dc:date>2020-03-12T04:16:00Z</dc:date>
    <item>
      <title>XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006148#M149091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like some advice on a USB issue that we are struggling with. We are using BSP 4.19.35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The modem that is connected to the i.MX8qxp via a usb hub sometimes misbehaves and we see 'USB transaction errors' for all transfers in the xhci traces. At least we think it is the modem that is misbehaving. The modem is the only device connected to the hub.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'USB transaction error'&amp;nbsp;causes a loop where the xhci driver seems to reset the endpoint, sets the TR dequeue pointer and then starts a new transfer which will also fail and then the loop repeats it self. This causes a lot of events to be generated on the event ring which causes “xhci-cdns3: ERROR unknown event type 37” spam and as a consequence almost all cpu time is spent executing xhci interrupts. This sometimes leads to RCU stalls and sometimes kernel panics. The RCU stalls have been discussed in &lt;A _jive_internal="true" href="https://community.nxp.com/thread/524191"&gt;https://community.nxp.com/thread/524191&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we end up in a loop where all transfers fail we have also discovered that the loop cannot be stopped by pulling the reset pin of the hub. We can see the TRB_PORT_STATUS event being handled in xhci_handle_event() function but the loop continues despite there being nothing connected to USB any longer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing we can do to get out of this situation is either to unbind the driver or reboot the board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can we do to prevent the i.MX8 from becoming unreliable when a USB device is misbehaving?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached an extract of an xhci-cdns3 showing the symptoms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2020 13:21:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006148#M149091</guid>
      <dc:creator>jonas_karlsson</dc:creator>
      <dc:date>2020-02-24T13:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006149#M149092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/danweiluo"&gt;danweiluo&lt;/A&gt;‌ can you comment here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2020 16:25:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006149#M149092</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2020-02-28T16:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006150#M149093</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" data-content-finding="Community" data-userid="340804" data-username="jonas.karlsson@actia.se" href="https://community.nxp.com/people/jonas.karlsson@actia.se"&gt;Jonas Karlsson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you try attached patch and see how it goes? This patch should fix the error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;xhci-cdns3: ERROR unknown event type 37&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Danwei&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 02:46:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006150#M149093</guid>
      <dc:creator>danwei_luo</dc:creator>
      <dc:date>2020-03-02T02:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006151#M149094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/danweiluo"&gt;danweiluo&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tried this patch earlier and we saw that it reduced the frequency of the "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;xhci-cdns3: ERROR unknown event type 37" by a factor 30.&amp;nbsp; From 150 per second to 5 per second when getting USB transaction errors. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;We also still see RCU stalls despite applying&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;the last patch that you recommend in this thread:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/524191"&gt;rcu_preempt self-detected stall on CPU and usb xhci event error 37 &lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The behavior is hard to debug using trace and/or printk since the behavior seem to change when adding&amp;nbsp;them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Jonas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 13:00:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006151#M149094</guid>
      <dc:creator>jonas_karlsson</dc:creator>
      <dc:date>2020-03-02T13:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006152#M149095</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="340804" data-username="jonas.karlsson@actia.se" href="https://community.nxp.com/people/jonas.karlsson@actia.se"&gt;Jonas Karlsson&lt;/A&gt;，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Could you also share the kernel log when you have USB ERROR and RCU stall crash?&lt;/P&gt;&lt;P&gt;2. Are you using i.MX8QXP MEK board or your own design board? If you are using MEK, could you share the steps to reproduce the issue, like the USB modem type and command you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Danwei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 02:25:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006152#M149095</guid>
      <dc:creator>danwei_luo</dc:creator>
      <dc:date>2020-03-03T02:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006153#M149096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/danweiluo"&gt;danweiluo&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;I&amp;nbsp; only have kernel logs saved from crashes prior to applying the xhci patch that updates the dequeue pointer&amp;nbsp;and before reverting RCU stall patch. I will gather new logs and send them to you A.S.A.P&lt;/P&gt;&lt;P&gt;2. We have custom board. We have not tried to reproduce the error on the MEK board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 15:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006153#M149096</guid>
      <dc:creator>jonas_karlsson</dc:creator>
      <dc:date>2020-03-03T15:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006154#M149097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/danweiluo"&gt;danweiluo&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have captured some kernel logs this morning. I got two kernel panics and this time they seem to be similar. You find the logs attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The kernel used in this&amp;nbsp;patch reverted as you recommended:&lt;/P&gt;&lt;P&gt;commit 077506972ba23772b752e08b1ab7052cf5f04511&lt;/P&gt;&lt;P&gt;Author: Paul E. McKenney &amp;lt;&lt;A data-content-finding="Community" href="mailto:paulmck@linux.vnet.ibm.com"&gt;paulmck@linux.vnet.ibm.com&lt;/A&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;Date:&amp;nbsp;&amp;nbsp; Mon Jul 9 13:47:30 2018 -0700&lt;/P&gt;&lt;P&gt;&amp;nbsp;rcu: Make need_resched() respond to urgent RCU-QS needs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also applied this patch:&lt;/P&gt;&lt;P&gt;commit 2337d89627e33c72a44dc3f0a1b7651a657c855e&lt;BR /&gt;Author: Peter Chen &amp;lt;peter.chen@nxp.com&amp;gt;&lt;BR /&gt;Date: Fri Nov 15 18:50:00 2019 +0200&lt;/P&gt;&lt;P&gt;usb: host: xhci: update event ring dequeue pointer on purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also posted a question on the Linux-USB mailing list and Greg K-H has responded on that question. Please have a look at that here:&amp;nbsp;&lt;A href="https://marc.info/?l=linux-usb&amp;amp;m=158324886017513&amp;amp;w=2"&gt;https://marc.info/?l=linux-usb&amp;amp;m=158324886017513&amp;amp;w=2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 14:13:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006154#M149097</guid>
      <dc:creator>jonas_karlsson</dc:creator>
      <dc:date>2020-03-04T14:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006155#M149098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/danweiluo"&gt;danweiluo&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a side note I can mention that we have found an easy way to generate an event storm that causes a lot of unknown event 37 prints. This scenario, however, has not led to any kernel panics so far. Only RCU stalls which it recovers from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To start the event storm we power up the modem and wait until is has enumerated and the ACM ttys have been created. Then power off the VUSB supply to the modem. This supply feeds the USB port of the modem. This will immediately causes an "event storm". When printing the event ring content we see a lot of USB transaction errors. We also see high cpu load in irq context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 14:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006155#M149098</guid>
      <dc:creator>jonas_karlsson</dc:creator>
      <dc:date>2020-03-06T14:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006156#M149099</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="340804" data-username="jonas.karlsson@actia.se" href="https://community.nxp.com/people/jonas.karlsson@actia.se"&gt;Jonas Karlsson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info, I've created a JIRA ticket for the USB owner and waiting for the feedback.&lt;/P&gt;&lt;P&gt;I'll keep you updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Danwei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 02:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006156#M149099</guid>
      <dc:creator>danwei_luo</dc:creator>
      <dc:date>2020-03-09T02:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006157#M149100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/danweiluo"&gt;danweiluo&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way to cause an event storm is to power up the modem and let it enumerate. Then I pull the reset pin on the usb hub and keep it in reset. This causes unknown event type 37 to be printed continuously. It never stops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the hub datasheet the reset causes the PHYs on the hub to be disabled, and the differential pairs will be in a high-impedance state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disabling power management for usb on the host side as suggested by Peter Chen in this thread does not make a difference. The event storm continues.&amp;nbsp;&lt;A href="https://marc.info/?l=linux-usb&amp;amp;m=158345830319993&amp;amp;w=2"&gt;https://marc.info/?l=linux-usb&amp;amp;m=158345830319993&amp;amp;w=2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I power down vusb to the modem, as I mentioned in the last post, the usb host normally disconnects the device after a while.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:13:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006157#M149100</guid>
      <dc:creator>jonas_karlsson</dc:creator>
      <dc:date>2020-03-09T07:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006158#M149101</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" data-content-finding="Community" data-userid="340804" data-username="jonas.karlsson@actia.se" href="https://community.nxp.com/people/jonas.karlsson@actia.se"&gt;Jonas Karlsson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that seems the issue is solved under the help from&amp;nbsp;Oliver Neukum.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://lore.kernel.org/linux-usb/1583839306.11582.12.camel%40suse.de/T/#mb5c768c150d8974fd6ac1f0c18a0bbee5224dc04" title="https://lore.kernel.org/linux-usb/1583839306.11582.12.camel%40suse.de/T/#mb5c768c150d8974fd6ac1f0c18a0bbee5224dc04"&gt;USB transaction errors causing RCU stalls and kernel panics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And seems reverting the RCU commit is not neended.&lt;/P&gt;&lt;P&gt;I've made a patch set according to your test in the thread, and want to confirm with you if these are the patches that solved your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Danwei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2020 04:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006158#M149101</guid>
      <dc:creator>danwei_luo</dc:creator>
      <dc:date>2020-03-12T04:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006159#M149102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/danweiluo"&gt;danweiluo&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The patches from Oliver Neukum seem to stop the event spam that we have experienced. However, as I understand Oliver also says that these patches should not be needed. It indicates that the host controller does not behave as it should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think NXP should look into this together with the IP vendor of the host controller in the i.MX8 (Cadence).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oliver has not commented on my last test result. I'm not sure if&amp;nbsp;Oliver thinks this patch should be included or not:&lt;/P&gt;&lt;P&gt;commit 7c8f7af078a4eda73f347667d12584736e613062&lt;/P&gt;&lt;P&gt;Author: Oliver Neukum &amp;lt;&lt;A href="mailto:oneukum@suse.com"&gt;oneukum@suse.com&lt;/A&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;Date:&amp;nbsp;&amp;nbsp; Thu Mar 5 11:16:02 2020 +0100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cdc-acm: close race betrween suspend() and acm_softint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will do some further testing today and hopefully Oliver gives his opinion on what patches should be included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will get back to you when I know more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2020 09:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006159#M149102</guid>
      <dc:creator>jonas_karlsson</dc:creator>
      <dc:date>2020-03-12T09:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006160#M149103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have told Oliver that the patchset seems to work fine. According to Oliver&amp;nbsp; the "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;cdc-acm: close race betrween suspend() and acm_softint" patch will also be included. T&lt;/SPAN&gt;hey will go through review and will be pushed upstream.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you start an investigation on why the host controller needs these patches?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 13:16:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006160#M149103</guid>
      <dc:creator>jonas_karlsson</dc:creator>
      <dc:date>2020-03-19T13:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006161#M149104</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="340804" data-username="jonas.karlsson@actia.se" href="https://community.nxp.com/people/jonas.karlsson@actia.se"&gt;Jonas Karlsson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback, I will check with R&amp;amp;D on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Danwei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 02:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006161#M149104</guid>
      <dc:creator>danwei_luo</dc:creator>
      <dc:date>2020-03-20T02:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006162#M149105</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" data-content-finding="Community" data-userid="340804" data-username="jonas.karlsson@actia.se" href="https://community.nxp.com/people/jonas.karlsson@actia.se"&gt;Jonas Karlsson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the feedback of R&amp;amp;D, he thinks this issue is not related to our driver. it belongs to common USB CDC driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Danwei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2020 06:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1006162#M149105</guid>
      <dc:creator>danwei_luo</dc:creator>
      <dc:date>2020-03-23T06:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1608055#M202225</link>
      <description>&lt;P&gt;Hi,&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/106121"&gt;@danwei_luo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same issue "&lt;STRONG&gt;ERROR unknown event type 37"&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160530"&gt;@jonas_karlsson&lt;/a&gt;&lt;/STRONG&gt;faced is happening on the iMX8mp evk too, we connect an USB video capture device to the USB port, and we can not see the desired resolution.I also posted the question in another thread&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Can-not-get-the-maximum-frame-rate-on-IMX8mp-evk-device/m-p/1607263#M202161" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/Can-not-get-the-maximum-frame-rate-on-IMX8mp-evk-device/m-p/1607263#M202161&lt;/A&gt;&lt;/P&gt;&lt;P&gt;we already tried to apply all the patches mentioned here, still no success.&lt;/P&gt;&lt;P&gt;we do believe that there are some issues on the NXP USB host controller hardware or USB host driver code.&lt;/P&gt;&lt;P&gt;we have struggled for long time and please help.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 02:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1608055#M202225</guid>
      <dc:creator>jeffson</dc:creator>
      <dc:date>2023-03-02T02:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1608076#M202226</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/212895"&gt;@jeffson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The issue discussed in this thread is about USB errors causing kernel panic. It may not be the same root cause as your issues. I will suggest you to still follow the thread&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Can-not-get-the-maximum-frame-rate-on-IMX8mp-evk-device/m-p/1607263#M202161" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Can-not-get-the-maximum-frame-rate-on-IMX8mp-evk-device/m-p/1607263#M202161&lt;/A&gt;&amp;nbsp;since this thread is already closed.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Danwei&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 03:08:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1608076#M202226</guid>
      <dc:creator>danwei_luo</dc:creator>
      <dc:date>2023-03-02T03:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1608083#M202228</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/106121"&gt;@danwei_luo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we also saw the same&amp;nbsp;&lt;SPAN&gt;kernel panic, I did not mentioned it.I think it is very close&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and can you tell me how you guys managed to solve this issue?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 03:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1608083#M202228</guid>
      <dc:creator>jeffson</dc:creator>
      <dc:date>2023-03-02T03:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: XHCI: USB transaction errors causes instability</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1608950#M202282</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/212895"&gt;@jeffson&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;Please check the previous reply in this thread, the previous issue is solved by the attached patch set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I saw that seems the issue is solved under the help from&amp;nbsp;Oliver Neukum.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A class="link-titled" title="https://lore.kernel.org/linux-usb/1583839306.11582.12.camel%40suse.de/T/#mb5c768c150d8974fd6ac1f0c18a0bbee5224dc04" href="https://lore.kernel.org/linux-usb/1583839306.11582.12.camel%40suse.de/T/#mb5c768c150d8974fd6ac1f0c18a0bbee5224dc04" rel="nofollow noopener noreferrer" target="_blank"&gt;USB transaction errors causing RCU stalls and kernel panics&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;And seems reverting the RCU commit is not neended.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I've made a patch set according to your test in the thread, and want to confirm with you if these are the patches that solved your issue.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Danwei&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 06:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/XHCI-USB-transaction-errors-causes-instability/m-p/1608950#M202282</guid>
      <dc:creator>danwei_luo</dc:creator>
      <dc:date>2023-03-03T06:31:17Z</dc:date>
    </item>
  </channel>
</rss>

