<?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>Layerscape中的主题 LS1021A SMMU: bypass configuration and performance issues</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1021A-SMMU-bypass-configuration-and-performance-issues/m-p/496792#M988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;I'm working on activating the Trustzone Address Controller of my QorIQ LS1021atwr board. Here is&lt;/P&gt;&lt;P&gt;- configure the TZASC correctly (3/4 of the RAM for Linux, 1/4 for the Secure OS)&lt;/P&gt;&lt;P&gt;- configure the different peripheral ICID's&lt;/P&gt;&lt;P&gt;- Flush all SMMU's TLB&lt;/P&gt;&lt;P&gt;- configure all peripheral as "Secure" in the 4 SMMUs&lt;/P&gt;&lt;P&gt;At boot, all SMMUs are bypassed, and I leave them in this configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing so, I can correctly boot Linux, however I have two error messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14622785042531261" data-renderedposition="290_50_798_80" jivemacro_uid="_14622785042531261" modifiedtitle="true"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;udevadm settle - timeout of 3 seconds reached, the event queue contains:&lt;/P&gt;&lt;P&gt;&amp;nbsp; /sys/devices/soc.2/3100000.usb3/xhci-hcd.0.auto/usb2 (1472)&lt;/P&gt;&lt;P&gt;&amp;nbsp; /sys/devices/soc.2/3100000.usb3/xhci-hcd.0.auto/usb2/2-0:1.0 (1473)&lt;/P&gt;&lt;P&gt;xhci-hcd xhci-hcd.0.auto: Timeout while waiting for a slot&lt;/P&gt;&lt;P&gt;hub 2-0:1.0: couldn't allocate port 1 usb_device&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14622785387709037 jive_text_macro" data-renderedposition="396_50_798_32" jivemacro_uid="_14622785387709037"&gt;&lt;P&gt;2016-03-22 20:42:19.862+0000: 746: info : libvirt version: 1.2.12&lt;/P&gt;&lt;P&gt;2016-03-22 20:42:19.862+0000: 746: warning : virGetHostname:671 : getaddrinfo failed for 'ls1021atwr': Temporary failure in name resolution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't test usb right now, but I no longer have access to the network: I don't have any IP address.&lt;/P&gt;&lt;P&gt;I also noticed that user application running on the secure kernel were slowing down the whole board in a really unusual way, as if Linux interrupts were delayed (I can barely enter input on the serial entry). Note that if I only run the kernel on the scure world, no performance drop can be seen, it only happens with userland applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disable the TZASC, everything goes back to normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone have any idea why the ethernet driver no longer finds an IP address, or why the performance are affected that hard ? Maybe I forgot to configure something ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2016 12:38:44 GMT</pubDate>
    <dc:creator>vsiles</dc:creator>
    <dc:date>2016-05-03T12:38:44Z</dc:date>
    <item>
      <title>LS1021A SMMU: bypass configuration and performance issues</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1021A-SMMU-bypass-configuration-and-performance-issues/m-p/496792#M988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;I'm working on activating the Trustzone Address Controller of my QorIQ LS1021atwr board. Here is&lt;/P&gt;&lt;P&gt;- configure the TZASC correctly (3/4 of the RAM for Linux, 1/4 for the Secure OS)&lt;/P&gt;&lt;P&gt;- configure the different peripheral ICID's&lt;/P&gt;&lt;P&gt;- Flush all SMMU's TLB&lt;/P&gt;&lt;P&gt;- configure all peripheral as "Secure" in the 4 SMMUs&lt;/P&gt;&lt;P&gt;At boot, all SMMUs are bypassed, and I leave them in this configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing so, I can correctly boot Linux, however I have two error messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14622785042531261" data-renderedposition="290_50_798_80" jivemacro_uid="_14622785042531261" modifiedtitle="true"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;udevadm settle - timeout of 3 seconds reached, the event queue contains:&lt;/P&gt;&lt;P&gt;&amp;nbsp; /sys/devices/soc.2/3100000.usb3/xhci-hcd.0.auto/usb2 (1472)&lt;/P&gt;&lt;P&gt;&amp;nbsp; /sys/devices/soc.2/3100000.usb3/xhci-hcd.0.auto/usb2/2-0:1.0 (1473)&lt;/P&gt;&lt;P&gt;xhci-hcd xhci-hcd.0.auto: Timeout while waiting for a slot&lt;/P&gt;&lt;P&gt;hub 2-0:1.0: couldn't allocate port 1 usb_device&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14622785387709037 jive_text_macro" data-renderedposition="396_50_798_32" jivemacro_uid="_14622785387709037"&gt;&lt;P&gt;2016-03-22 20:42:19.862+0000: 746: info : libvirt version: 1.2.12&lt;/P&gt;&lt;P&gt;2016-03-22 20:42:19.862+0000: 746: warning : virGetHostname:671 : getaddrinfo failed for 'ls1021atwr': Temporary failure in name resolution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't test usb right now, but I no longer have access to the network: I don't have any IP address.&lt;/P&gt;&lt;P&gt;I also noticed that user application running on the secure kernel were slowing down the whole board in a really unusual way, as if Linux interrupts were delayed (I can barely enter input on the serial entry). Note that if I only run the kernel on the scure world, no performance drop can be seen, it only happens with userland applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disable the TZASC, everything goes back to normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone have any idea why the ethernet driver no longer finds an IP address, or why the performance are affected that hard ? Maybe I forgot to configure something ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 12:38:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1021A-SMMU-bypass-configuration-and-performance-issues/m-p/496792#M988</guid>
      <dc:creator>vsiles</dc:creator>
      <dc:date>2016-05-03T12:38:44Z</dc:date>
    </item>
  </channel>
</rss>

