<?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 Re: PCIe ERR_FATAL interrupt on LS1043A in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/PCIe-ERR-FATAL-interrupt-on-LS1043A/m-p/1587300#M11752</link>
    <description>&lt;P&gt;Hi, Kunal&lt;/P&gt;
&lt;P&gt;If you want to test that interrupt when no ERR_F message is received, IBS and SRS bits need to be written, they will trigger the interrupt.&lt;/P&gt;
&lt;P&gt;The interrupt number is in 28.1.1 Table, in the rightmost part of the table, just above the arrows.&lt;/P&gt;
&lt;P&gt;Consider that the interrupts for the MSI are handled by the SCFG.&lt;/P&gt;
&lt;P&gt;Best regards, Joseph Linares&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 18:46:26 GMT</pubDate>
    <dc:creator>JosephAtNXP</dc:creator>
    <dc:date>2023-01-24T18:46:26Z</dc:date>
    <item>
      <title>PCIe ERR_FATAL interrupt on LS1043A</title>
      <link>https://community.nxp.com/t5/Layerscape/PCIe-ERR-FATAL-interrupt-on-LS1043A/m-p/1586357#M11739</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On LS1043A, I am using PEX3 controller to make a PCIe link to an endpoint device. I am trying to generate an&amp;nbsp;interrupt to GIC&amp;nbsp;if Root Complex (in LS1043A) receives ERR_FATAL error message. LS1043A RM section 28.6.1.8.2 RC Inbound Messages mentions that this is possible. I think section 28.1.1 MSI Implementation is useful to generate the interrupt but I am not able to understand how to use the SCFG registers mentioned in that section. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What SCFG register settings do I need to configure to get GIC interrupt when PEX3 Root Complex receives ERR_FATAL error message? What is the interrupt number of that interrupt?&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using PCIe Base Spec 3.0 section 6.2.6 Error Message Controls as a guide for PCIe register settings to enable error reporting. &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2023 23:33:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/PCIe-ERR-FATAL-interrupt-on-LS1043A/m-p/1586357#M11739</guid>
      <dc:creator>kunal_b</dc:creator>
      <dc:date>2023-01-21T23:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe ERR_FATAL interrupt on LS1043A</title>
      <link>https://community.nxp.com/t5/Layerscape/PCIe-ERR-FATAL-interrupt-on-LS1043A/m-p/1587300#M11752</link>
      <description>&lt;P&gt;Hi, Kunal&lt;/P&gt;
&lt;P&gt;If you want to test that interrupt when no ERR_F message is received, IBS and SRS bits need to be written, they will trigger the interrupt.&lt;/P&gt;
&lt;P&gt;The interrupt number is in 28.1.1 Table, in the rightmost part of the table, just above the arrows.&lt;/P&gt;
&lt;P&gt;Consider that the interrupts for the MSI are handled by the SCFG.&lt;/P&gt;
&lt;P&gt;Best regards, Joseph Linares&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 18:46:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/PCIe-ERR-FATAL-interrupt-on-LS1043A/m-p/1587300#M11752</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2023-01-24T18:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe ERR_FATAL interrupt on LS1043A</title>
      <link>https://community.nxp.com/t5/Layerscape/PCIe-ERR-FATAL-interrupt-on-LS1043A/m-p/1587391#M11754</link>
      <description>&lt;P&gt;Hi Joseph&lt;/P&gt;&lt;P&gt;A couple of questions-&lt;/P&gt;&lt;P&gt;1) I don’t want to simulate the PCIe interrupts, but good to know that I can simulate the interrupt by writing IBS and SRS bits of SCFG registers. For PEX3, which interrupt number should be used to get interrupt on ERR_FATAL message? My assumption is that I cannot randomly pick one of the 12 interrupts mentioned in LS1043A RM section 28.1.1.&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; I know that LS1043A RM section 12.3.55 to 12.3.69 are interrupt settings but I do not understand writing to which of those register will enable interrupt for ERR_FATAL message.&amp;nbsp;It will really help if you can tell me what value to write in which SCFG registers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;From PCIe Base Spec 3.0 and LS1043A RM, I think I have figured out PCIe register settings to enable fatal error reporting, but I am confused about SCFG settings to enable PCIe ERR_FATAL interrupt. Answering above 2 questions will help me understand.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;-Kunal&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 23:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/PCIe-ERR-FATAL-interrupt-on-LS1043A/m-p/1587391#M11754</guid>
      <dc:creator>kunal_b</dc:creator>
      <dc:date>2023-01-24T23:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: PCIe ERR_FATAL interrupt on LS1043A</title>
      <link>https://community.nxp.com/t5/Layerscape/PCIe-ERR-FATAL-interrupt-on-LS1043A/m-p/1592602#M11789</link>
      <description>&lt;P&gt;Hi, sorry for the delay, I've almost just been notified.&lt;/P&gt;
&lt;P&gt;1. The group index register is responsible for triggering four interrupts, you will not get random interrupts. Writing to one of the three group registers will reduce the 12 possibilities to 4 of them.&lt;/P&gt;
&lt;P&gt;The second bit-group will determine which interrupt will be triggered, for example in the group 0:&amp;nbsp;SCFG_G0MSIRn.&lt;/P&gt;
&lt;P&gt;This is why I believe that writing to that register will trigger the interrupt, and I understand that the MSI address of the message has to point to this group register.&lt;/P&gt;
&lt;P&gt;2. Should be already covered by the last point.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 20:15:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/PCIe-ERR-FATAL-interrupt-on-LS1043A/m-p/1592602#M11789</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2023-02-02T20:15:06Z</dc:date>
    </item>
  </channel>
</rss>

