<?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: imx_rngc Can't get interrupt working error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1765477#M216517</link>
    <description>&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;This irq should have been registered, refer to this as attached.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Check the code again and add printing in __setup_irq&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Harvey&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 08:18:44 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2023-11-29T08:18:44Z</dc:date>
    <item>
      <title>imx_rngc Can't get interrupt working error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1756495#M215646</link>
      <description>&lt;P&gt;I am working on a new i.MX6ULL project, and noticed this in the boot of the device:&lt;BR /&gt;&lt;BR /&gt;[ 3.880499] genirq: Flags mismatch irq 59. 00000004 (2284000.rng) vs. 00000004 (2284000.rng)&lt;BR /&gt;[ 3.908114] imx_rngc 2284000.rng: Can't get interrupt working.&lt;BR /&gt;[ 3.914004] imx_rngc: probe of 2284000.rng failed with error -16&lt;BR /&gt;&lt;BR /&gt;I did not change the imx_rngc from this file:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Freescale/linux-fslc/blob/5.10.x%2Bfslc/arch/arm/boot/dts/imx6ull.dtsi#L71" target="_blank"&gt;https://github.com/Freescale/linux-fslc/blob/5.10.x%2Bfslc/arch/arm/boot/dts/imx6ull.dtsi#L71&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To me, -16 implies some other driver already had interrupt 6?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;rngb: rng@2284000 {
compatible = "fsl,imx6ull-rngb", "fsl,imx25-rngb";
reg = &amp;lt;0x02284000 0x4000&amp;gt;;
interrupts = &amp;lt;GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH&amp;gt;;
clocks = &amp;lt;&amp;amp;clks IMX6UL_CLK_DUMMY&amp;gt;;
};

./soc/bus@2200000/rng@2284000/interrupts: 00000000: 00000000 00000006 00000004&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I have dumped every "interrupts" property in device tree and cannot find another 00000006 value. So why is this happening?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 20:43:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1756495#M215646</guid>
      <dc:creator>JohnKlug</dc:creator>
      <dc:date>2023-11-13T20:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: imx_rngc Can't get interrupt working error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1758117#M215812</link>
      <description>&lt;P&gt;From the err log, it seems like the issue with the driver code change, or you can have a check the /proc/interrupts, and refer to&amp;nbsp;&lt;A href="https://github.com/nxp-imx/linux-imx/tree/lf-5.10.y" target="_blank"&gt;GitHub - nxp-imx/linux-imx at lf-5.10.y&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 06:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1758117#M215812</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-11-16T06:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: imx_rngc Can't get interrupt working error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1764338#M216426</link>
      <description>&lt;P&gt;This is /proc/interrupts:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bash# cat /proc/interrupts                                                                                                                      
           CPU0                                                                                                                                 
 17:       2443       GPC  55 Level     i.MX Timer Tick                                                                                         
 18:          0       GPC  94 Level     arm-pmu                                                                                                 
 19:         17       GPC  13 Level                                                                                                             
 20:          5       GPC  15 Level     bch                                                                                                     
 21:          0       GPC  32 Level     200c000.spi                                                                                             
 22:         53       GPC  26 Level     2020000.serial                                                                                          
 33:          0       GPC 120 Level     20b4000.ethernet                                                                                        
 34:          0       GPC 121 Level     20b4000.ethernet                                                                                        
 35:          0       GPC  80 Level     20bc000.watchdog                                                                                        
 41:          0       GPC  20 Level     caam-snvs                                                                                               
 42:          0       GPC  19 Level     rtc alarm                                                                                               
 47:          0       GPC   2 Level     sdma                                                                                                    
 48:        450       GPC  43 Level     2184000.usb                                                                                             
 49:          0       GPC  42 Level     2184200.usb                                                                                             
 50:          0       GPC 118 Level     2188000.ethernet                                                                                        
 51:          0       GPC 119 Level     2188000.ethernet                                                                                        
 52:        173       GPC  22 Level     mmc0                                                                                                    
 53:        334       GPC  23 Level     mmc1                                                                                                    
 54:         81       GPC  38 Level     21a8000.i2c                                                                                             
 57:          0       GPC  27 Level     21e8000.serial                                                                                          
 58:          0       GPC  28 Level     21ec000.serial                                                                                          
 59:          0       GPC  29 Level     21f0000.serial
 60:          0       GPC  46 Level     dcp-vmi-irq                                                                                             
 61:          0       GPC  47 Level     dcp-irq
 63:          1       GPC   6 Level   
 83:          0  gpio-mxc  19 Edge      21e8000.serial&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GPC 6 appears to have no driver, but the CPU appears to be interrupted one time?&amp;nbsp; What driver code change are you referring?&amp;nbsp; Your link points to the source base, not a particular change.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;bash# pwd
/proc/device-tree/soc/bus@2200000/rng@2284000
bash# xxd -g4 interrupts
00000000: 00000000 00000006 00000004           ............&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 23:28:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1764338#M216426</guid>
      <dc:creator>JohnKlug</dc:creator>
      <dc:date>2023-11-27T23:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: imx_rngc Can't get interrupt working error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1765477#M216517</link>
      <description>&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;This irq should have been registered, refer to this as attached.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Check the code again and add printing in __setup_irq&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Harvey&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 08:18:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1765477#M216517</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-11-29T08:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: imx_rngc Can't get interrupt working error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1811121#M220098</link>
      <description>&lt;P&gt;I looked at this repository:&lt;BR /&gt;&lt;A href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/char/hw_random/imx-rngc.c?h=70564215ad927588dbea30472624cfd9e79d7c36" target="_self"&gt;imx-rng from kernel.org&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;By using the imx-rng driver from kernel.org from commit&amp;nbsp;70564215ad927588dbea30472624cfd9e79d7c36 the issue went away, and the interrupt is properly allocated.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 17:46:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-rngc-Can-t-get-interrupt-working-error/m-p/1811121#M220098</guid>
      <dc:creator>JohnKlug</dc:creator>
      <dc:date>2024-02-19T17:46:00Z</dc:date>
    </item>
  </channel>
</rss>

