<?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>topic LS1028A : irq_affinity_hint_proc_show error issue in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1028A-irq-affinity-hint-proc-show-error-issue/m-p/1337241#M8867</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi. I'm developing a board using ls1028a.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;And testing Ethernet on the&lt;U&gt;&amp;nbsp;LS1028ARDB EVM board.&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;It was confirmed that errors occurred and the board did not work when the test was conducted according to the process below.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;Enable Ethernet eno0 or eno2 use command 'ifconfig'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ ifconfig eno0 up&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. change directory '/proc/irq/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ cd /proc/irq/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Check the interrupt directory with the 'find' command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ find . -name eno0*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;./109/eno0-rxtx0&lt;BR /&gt;./110/eno0-rxtx1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ cd ./109/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4.&amp;nbsp;Read the 'affinity_hint' of the directory as a 'cat' command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ cat affinity_hint&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5.&amp;nbsp;When read as a 'cat' command, an error occurs. Even if an error does not occur immediately, an error occurs when performing 'ifconfig eno0 up down'&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The log file for the content was attached. It was confirmed that an error occurred every time the above operation was performed.&amp;nbsp;When this state comes, the board must be rebooted to be used.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="edit_box___1KtZ3 active___3VPGL"&gt;&lt;SPAN&gt;Please check the above matters.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Sep 2021 00:56:21 GMT</pubDate>
    <dc:creator>pjw</dc:creator>
    <dc:date>2021-09-09T00:56:21Z</dc:date>
    <item>
      <title>LS1028A : irq_affinity_hint_proc_show error issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-irq-affinity-hint-proc-show-error-issue/m-p/1337241#M8867</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi. I'm developing a board using ls1028a.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;And testing Ethernet on the&lt;U&gt;&amp;nbsp;LS1028ARDB EVM board.&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;It was confirmed that errors occurred and the board did not work when the test was conducted according to the process below.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;Enable Ethernet eno0 or eno2 use command 'ifconfig'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ ifconfig eno0 up&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. change directory '/proc/irq/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ cd /proc/irq/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Check the interrupt directory with the 'find' command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ find . -name eno0*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;./109/eno0-rxtx0&lt;BR /&gt;./110/eno0-rxtx1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ cd ./109/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4.&amp;nbsp;Read the 'affinity_hint' of the directory as a 'cat' command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ cat affinity_hint&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5.&amp;nbsp;When read as a 'cat' command, an error occurs. Even if an error does not occur immediately, an error occurs when performing 'ifconfig eno0 up down'&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The log file for the content was attached. It was confirmed that an error occurred every time the above operation was performed.&amp;nbsp;When this state comes, the board must be rebooted to be used.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="edit_box___1KtZ3 active___3VPGL"&gt;&lt;SPAN&gt;Please check the above matters.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 00:56:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-irq-affinity-hint-proc-show-error-issue/m-p/1337241#M8867</guid>
      <dc:creator>pjw</dc:creator>
      <dc:date>2021-09-09T00:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028A : irq_affinity_hint_proc_show error issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-irq-affinity-hint-proc-show-error-issue/m-p/1337391#M8871</link>
      <description>&lt;P&gt;I found similar problem as you with LSDK 2108 prebuilt image&amp;nbsp;lsdk2108_yocto_tiny_LS_arm64.itb, please refer to my following procedure.&lt;/P&gt;
&lt;P&gt;root@TinyLinux:~# cd /proc/irq&lt;BR /&gt;root@TinyLinux:/proc/irq# ifconfig eno0 up&lt;BR /&gt;[ 49.995011] fsl_enetc 0000:00:00.0 eno0: PHY [0000:00:00.0:02] driver [Qualcomm Atheros AR80 31/AR8033] (irq=POLL)&lt;BR /&gt;[ 50.007521] fsl_enetc 0000:00:00.0 eno0: configuring for inband/sgmii link mode&lt;BR /&gt;root@TinyLinux:/proc/irq# find . -name eno0*&lt;BR /&gt;./121/eno0-rxtx0&lt;BR /&gt;./122/eno0-rxtx1&lt;BR /&gt;root@TinyLinux:/proc/irq# cd 121/&lt;BR /&gt;root@TinyLinux:/proc/irq/121# cat affinity_hint&lt;BR /&gt;[ 80.035915] Unable to handle kernel paging request at virtual address ffff8000153f3ab0&lt;BR /&gt;[ 80.043870] Mem abort info:&lt;BR /&gt;[ 80.046665] ESR = 0x96000007&lt;BR /&gt;[ 80.049724] EC = 0x25: DABT (current EL), IL = 32 bits&lt;BR /&gt;[ 80.055050] SET = 0, FnV = 0&lt;BR /&gt;[ 80.058107] EA = 0, S1PTW = 0&lt;BR /&gt;[ 80.061252] Data abort info:&lt;BR /&gt;[ 80.064135] ISV = 0, ISS = 0x00000007&lt;BR /&gt;[ 80.067977] CM = 0, WnR = 0&lt;BR /&gt;[ 80.070949] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000085e3a000&lt;BR /&gt;[ 80.077669] [ffff8000153f3ab0] pgd=0000002080010003, p4d=0000002080010003, pud=0000002080011 003, pmd=00000020a62be003, pte=0000000000000000&lt;BR /&gt;[ 80.090243] Internal error: Oops: 96000007 [#1] PREEMPT SMP&lt;BR /&gt;[ 80.095830] Modules linked in:&lt;BR /&gt;[ 80.098893] CPU: 0 PID: 435 Comm: cat Not tainted 5.10.35-00013-g30ccdc0882aa #1&lt;BR /&gt;[ 80.106311] Hardware name: LS1028A RDB Board (DT)&lt;BR /&gt;[ 80.111028] pstate: a0000085 (NzCv daIf -PAN -UAO -TCO BTYPE=--)&lt;BR /&gt;[ 80.117059] pc : irq_affinity_hint_proc_show+0x50/0xb0&lt;BR /&gt;[ 80.122212] lr : irq_affinity_hint_proc_show+0x44/0xb0&lt;BR /&gt;[ 80.127362] sp : ffff800015363c40&lt;BR /&gt;[ 80.130681] x29: ffff800015363c40 x28: 0000000000000001&lt;BR /&gt;[ 80.136010] x27: 0000000000000000 x26: 0000000000400cc0&lt;BR /&gt;[ 80.141339] x25: ffff4a41a605e740 x24: ffff4a41a605e730&lt;BR /&gt;[ 80.146667] x23: 0000000000000000 x22: ffff4a41a4b4a0ac&lt;BR /&gt;[ 80.151995] x21: ffff4a41a4b4a000 x20: ffff4a41a605e708&lt;BR /&gt;[ 80.157323] x19: ffff4a41a607a040 x18: 0000000000000002&lt;BR /&gt;[ 80.162651] x17: 0000000000000000 x16: 0000000000000000&lt;BR /&gt;[ 80.167979] x15: 0000000000000001 x14: 0000000000054e66&lt;BR /&gt;[ 80.173306] x13: 0000000000000000 x12: 0000000000000000&lt;BR /&gt;[ 80.178634] x11: 0000000000000040 x10: ffffa27471753408&lt;BR /&gt;[ 80.183962] x9 : ffffa27471753400 x8 : ffff4a41804104a8&lt;BR /&gt;[ 80.189290] x7 : 0000000000000000 x6 : 0000000000000000&lt;BR /&gt;[ 80.194618] x5 : ffff4a4180410480 x4 : 0000000000000000&lt;BR /&gt;[ 80.199946] x3 : ffff4a41a4b4a0ac x2 : ffff8000153f3ab0&lt;BR /&gt;[ 80.205274] x1 : 0000000000000000 x0 : 0000000000000000&lt;BR /&gt;[ 80.210602] Call trace:&lt;BR /&gt;[ 80.213051] irq_affinity_hint_proc_show+0x50/0xb0&lt;BR /&gt;[ 80.217856] seq_read_iter+0x258/0x460&lt;BR /&gt;[ 80.221614] proc_reg_read_iter+0x90/0xd0&lt;BR /&gt;[ 80.225633] new_sync_read+0xe8/0x188&lt;BR /&gt;[ 80.229303] vfs_read+0x148/0x1d8&lt;BR /&gt;[ 80.232623] ksys_read+0x6c/0x100&lt;BR /&gt;[ 80.235943] __arm64_sys_read+0x1c/0x28&lt;BR /&gt;[ 80.239789] el0_svc_common.constprop.0+0x78/0x1a0&lt;BR /&gt;[ 80.244592] do_el0_svc+0x24/0x90&lt;BR /&gt;[ 80.247913] el0_svc+0x14/0x20&lt;BR /&gt;[ 80.250972] el0_sync_handler+0xb0/0xb8&lt;BR /&gt;[ 80.254816] el0_sync+0x178/0x180&lt;BR /&gt;[ 80.258139] Code: 944be7aa f94062a2 aa0003e1 b4000062 (f9400040)&lt;BR /&gt;[ 80.264251] ---[ end trace c892726aa30e5a15 ]---&lt;BR /&gt;[ 80.268879] note: cat[435] exited with preempt_count 1&lt;BR /&gt;Segmentation fault&lt;/P&gt;
&lt;P&gt;I will report this issue to LSDK development team.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 05:15:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-irq-affinity-hint-proc-show-error-issue/m-p/1337391#M8871</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-09-09T05:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028A : irq_affinity_hint_proc_show error issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-irq-affinity-hint-proc-show-error-issue/m-p/1343575#M8940</link>
      <description>&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;stable fix sent upstream, currently under review:&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;A href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.kernel.org%2Fproject%2Fnetdevbpf%2Fpatch%2F20210917102206.20616-1-claudiu.manoil%40nxp.com%2F&amp;amp;data=04%7C01%7Cyiping.wang%40nxp.com%7Cfa5160692f344258ba7008d979cd8225%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637674745833659050%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=9WEBb%2B0CT%2FFMjGKopMr1xPlr1PZtDZGUfnAUVaVx34Y%3D&amp;amp;reserved=0" target="_blank"&gt;https://patchwork.kernel.org/project/netdevbpf/patch/20210917102206.20616-1-claudiu.manoil@nxp.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 02:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-irq-affinity-hint-proc-show-error-issue/m-p/1343575#M8940</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-09-22T02:32:55Z</dc:date>
    </item>
  </channel>
</rss>

