<div dir="ltr"><div style>Hi all</div><div style>I am trying to port opensource kernel on top of Qualcomm board.</div><div style>I am struck at "local_irq_enable()" point in init/main.c,</div><div style><br></div>
<div style><div style><font face="courier new, monospace">start_kernel()</font></div><div style><font face="courier new, monospace">{</font></div><div style><font face="courier new, monospace"> --- snip ---</font></div>
<div style><font face="courier new, monospace"> call_function_init();</font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span>if (!irqs_disabled())</font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">                </span>printk(KERN_CRIT "start_kernel(): bug: interrupts were "</font></div>
<div><font face="courier new, monospace"><span class="" style="white-space:pre">                                </span> "enabled early\n");</font></div><div><font face="courier new, monospace"><span class="" style="white-space:pre">        </span>early_boot_irqs_disabled = false;</font></div>
<div><font face="courier new, monospace" style="background-color:rgb(255,0,0)"><span class="" style="white-space:pre">        </span>local_irq_enable();</font></div><div><span style="font-family:'courier new',monospace">}</span><br>
</div><div><font face="courier new, monospace"><br></font></div><div style><font face="arial, helvetica, sans-serif">This functions implementation is like this...</font></div><div style><font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">static inline void arch_local_irq_enable(void)</font></div><div><font face="courier new, monospace"> {</font></div><div><font face="courier new, monospace"> asm volatile(</font></div>
<div><font face="courier new, monospace"> " cpsie i @ arch_local_irq_enable"</font></div><div><font face="courier new, monospace"> :</font></div><div><font face="courier new, monospace"> :</font></div>
<div><font face="courier new, monospace"> : "memory", "cc");</font></div><div><font face="courier new, monospace"> }</font></div><div><br></div><div style>if i comment that local_irq_enable(), still the booting is not progressing.</div>
<div style><br></div><div style>Can any one pls help me out here??</div></div><div><br></div>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br>
</div>