<?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 i.MX8M Mini EL1 stack pointer Issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-EL1-stack-pointer-Issue/m-p/1768739#M216858</link>
    <description>&lt;P&gt;In arm cortex a53, I am switching exception level EL3 to EL1. I attached code below.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;mov x0, xzr &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;mov x0, #0b00101 /* EL1 */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;orr x0, x0, #(3 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt;&lt;FONT color="#993300"&gt;8)/* Enable SError and Debug Abort. */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;orr x0, x0, #(1 &amp;lt;&amp;lt; 7) /* IRQ interrupt Process state mask. */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;orr x0, x0, #(1 &amp;lt;&amp;lt; 6) /* FIQ interrupt Process state mask. */ &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;msr spsr_el3, x0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;ldr x0, =el1_secure &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;msr elr_el3, x0 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;isb &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;eret&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked Currentel register, it has changed exception level (EL1). after that stack pointer pointing to somewhere. i don't know why.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;mrs x6, Currentel&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;ubfx x6, x6, #2, #2&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is example of stack pointer register&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;x30 0x7e1190&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;sp 0xddd141a18806092b&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;pc 0x910e3c &amp;lt;main+4&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;cpsr 0xaaaaaaaa [ #1 #3 #5 I D #11 #13 #15 #17 #19 SS UAO TCO #27 C N ]&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyone recommend your thoughts what i have to do clear that error.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2023 06:20:02 GMT</pubDate>
    <dc:creator>Hariharan1</dc:creator>
    <dc:date>2023-12-05T06:20:02Z</dc:date>
    <item>
      <title>i.MX8M Mini EL1 stack pointer Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-EL1-stack-pointer-Issue/m-p/1768739#M216858</link>
      <description>&lt;P&gt;In arm cortex a53, I am switching exception level EL3 to EL1. I attached code below.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;mov x0, xzr &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;mov x0, #0b00101 /* EL1 */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;orr x0, x0, #(3 &amp;lt;&amp;lt; &lt;/FONT&gt;&lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt;&lt;FONT color="#993300"&gt;8)/* Enable SError and Debug Abort. */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;orr x0, x0, #(1 &amp;lt;&amp;lt; 7) /* IRQ interrupt Process state mask. */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;orr x0, x0, #(1 &amp;lt;&amp;lt; 6) /* FIQ interrupt Process state mask. */ &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;msr spsr_el3, x0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;ldr x0, =el1_secure &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;msr elr_el3, x0 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;isb &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;eret&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked Currentel register, it has changed exception level (EL1). after that stack pointer pointing to somewhere. i don't know why.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;mrs x6, Currentel&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;ubfx x6, x6, #2, #2&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is example of stack pointer register&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;x30 0x7e1190&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;sp 0xddd141a18806092b&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;pc 0x910e3c &amp;lt;main+4&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;cpsr 0xaaaaaaaa [ #1 #3 #5 I D #11 #13 #15 #17 #19 SS UAO TCO #27 C N ]&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyone recommend your thoughts what i have to do clear that error.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 06:20:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-EL1-stack-pointer-Issue/m-p/1768739#M216858</guid>
      <dc:creator>Hariharan1</dc:creator>
      <dc:date>2023-12-05T06:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini EL1 stack pointer Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-EL1-stack-pointer-Issue/m-p/1769417#M216914</link>
      <description>&lt;P&gt;We don't support such issue, you should refer the ELx switch code in uboot, atf or kernel.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 03:01:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-EL1-stack-pointer-Issue/m-p/1769417#M216914</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-12-06T03:01:21Z</dc:date>
    </item>
  </channel>
</rss>

