<?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: How to submit a Pull Request on https://source.codeaurora.org/external/imx/imx-atf ? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-submit-a-Pull-Request-on-https-source-codeaurora-org/m-p/1247141#M170979</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I reported this bug 3 weeks ago to&amp;nbsp;&lt;A href="https://www.codeaurora.org/report-a-bug" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.codeaurora.org/report-a-bug&lt;/A&gt;&amp;nbsp;and I have not received any feedback (neither an acknowledgment nor a "please post your bug there instead" reply). This is very frustrating, and the code is still buggy in android_11.0.0_1.2.0 branch (&lt;A href="https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/imx8m_csu.c?h=android-11.0.0_1.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/imx8m_csu.c?h=android-11.0.0_1.2.0&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Could you please advice about a less-frustrating way to report bugs to NXP?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 10:18:05 GMT</pubDate>
    <dc:creator>flyingKupuKupu</dc:creator>
    <dc:date>2021-03-17T10:18:05Z</dc:date>
    <item>
      <title>How to submit a Pull Request on https://source.codeaurora.org/external/imx/imx-atf ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-submit-a-Pull-Request-on-https-source-codeaurora-org/m-p/1236031#M169975</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;While reading some code on&amp;nbsp;source.codeaurora.org, I stumbled upon a bug in directory plat/imx/imx8m in ARM Trusted Firmware. This looks simple enough to fix and I wanted to open a Pull Request on&amp;nbsp;&lt;A href="https://github.com/ARM-software/arm-trusted-firmware" target="_blank"&gt;https://github.com/ARM-software/arm-trusted-firmware&lt;/A&gt;&amp;nbsp;but the relevant code is not there. How should I contribute code to this project?&lt;/P&gt;&lt;P&gt;The bug I wanted to fix is the following. In&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/include/imx8m_csu.h?h=android-10.0.0_2.6.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/include/imx8m_csu.h?h=android-10.0.0_2.6.0&lt;/A&gt;&amp;nbsp;several macros are defined to configure the CSU:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#define CSU_HPx(i, val, lk)	\
	{CSU_HP, .idx = (i), .hp = (val), .lock =(lk), }

#define CSU_SA(i, val, lk)	\
	{CSU_SA, .idx = (i), .sa = (val), .lock = (lk), }

#define CSU_HPCTRL(i, val, lk)	\
	{CSU_HPCONTROL, .idx = (i), .hpctrl = (val), .lock = (lk), }&lt;/LI-CODE&gt;&lt;P&gt;These macros fill bits of structure&amp;nbsp;imx_csu_cfg, which is parsed in function&amp;nbsp;imx_csu_init in&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/imx8m_csu.c?h=android-10.0.0_2.6.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/imx8m_csu.c?h=android-10.0.0_2.6.0&lt;/A&gt;&amp;nbsp;:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;		switch (csu-&amp;gt;type) {
		/* ... */
		case CSU_SA:
			val = mmio_read_32(CSU_SA_REG(csu-&amp;gt;idx));
			if (val &amp;amp; CSU_SA_LOCK(csu-&amp;gt;idx))
				break;
			mmio_clrsetbits_32(CSU_SA_REG(csu-&amp;gt;idx), CSU_SA_CFG(0x1, csu-&amp;gt;idx),
				CSU_SA_CFG(csu-&amp;gt;hp | (csu-&amp;gt;lock &amp;lt;&amp;lt; 0x1), csu-&amp;gt;idx));
				//              ^^--- HERE
			break;
		case CSU_HPCONTROL:
			val = mmio_read_32(CSU_HPCONTROL_REG(csu-&amp;gt;idx));
			if (val &amp;amp; CSU_HPCONTROL_LOCK(csu-&amp;gt;idx))
				break;
			mmio_clrsetbits_32(CSU_HPCONTROL_REG(csu-&amp;gt;idx), CSU_HPCONTROL_CFG(0x1, csu-&amp;gt;idx),
				CSU_HPCONTROL_CFG(csu-&amp;gt;hp | (csu-&amp;gt;lock &amp;lt;&amp;lt; 0x1), csu-&amp;gt;idx));
				//                     ^^--- HERE
			break;
		default:
			break;
		}&lt;/LI-CODE&gt;&lt;P&gt;Instead of using bits csu-&amp;gt;sa for CSU_SA and csu-&amp;gt;hpctrl for CSU_HPCONTROL,&amp;nbsp;imx_csu_init re-used bit hp which is not defined in the macro definitions.&lt;/P&gt;&lt;P&gt;It would be very useful if&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/imx-atf/?h=android-10.0.0_2.6.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-atf/?h=android-10.0.0_2.6.0&lt;/A&gt;&amp;nbsp;indicates how to report such issues or send fixes.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 18:43:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-submit-a-Pull-Request-on-https-source-codeaurora-org/m-p/1236031#M169975</guid>
      <dc:creator>flyingKupuKupu</dc:creator>
      <dc:date>2021-02-24T18:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a Pull Request on https://source.codeaurora.org/external/imx/imx-atf ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-submit-a-Pull-Request-on-https-source-codeaurora-org/m-p/1237442#M170090</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe you can report it directly on the CodeAurora webpage, not the &lt;STRONG&gt;source&lt;/STRONG&gt; one. There, you will find an option to report a bug. Here is the direct link:&amp;nbsp;&lt;A href="https://www.codeaurora.org/report-a-bug" target="_blank"&gt;https://www.codeaurora.org/report-a-bug&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Ivan.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 21:04:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-submit-a-Pull-Request-on-https-source-codeaurora-org/m-p/1237442#M170090</guid>
      <dc:creator>IvanRuiz</dc:creator>
      <dc:date>2021-02-26T21:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to submit a Pull Request on https://source.codeaurora.org/external/imx/imx-atf ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-submit-a-Pull-Request-on-https-source-codeaurora-org/m-p/1247141#M170979</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I reported this bug 3 weeks ago to&amp;nbsp;&lt;A href="https://www.codeaurora.org/report-a-bug" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.codeaurora.org/report-a-bug&lt;/A&gt;&amp;nbsp;and I have not received any feedback (neither an acknowledgment nor a "please post your bug there instead" reply). This is very frustrating, and the code is still buggy in android_11.0.0_1.2.0 branch (&lt;A href="https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/imx8m_csu.c?h=android-11.0.0_1.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/imx8m_csu.c?h=android-11.0.0_1.2.0&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Could you please advice about a less-frustrating way to report bugs to NXP?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 10:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-submit-a-Pull-Request-on-https-source-codeaurora-org/m-p/1247141#M170979</guid>
      <dc:creator>flyingKupuKupu</dc:creator>
      <dc:date>2021-03-17T10:18:05Z</dc:date>
    </item>
  </channel>
</rss>

