Re: arm: pmu: support pmu/perf on OMAP4 - booting problem on pandaboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

2011/4/4 Avik Sil <aviksil@xxxxxxxxxxxxxxxxxx>:
> Hi Ming,
>
> On Saturday 02 April 2011 10:57 AM, Ming Lei wrote:
>>
>> Hi Avik,
>>
>> 2011/4/1 Avik Sil<aviksil@xxxxxxxxxxxxxxxxxx>:
>>>
>>> Hi,
>>>
>>> I've applied the patches in
>>>
>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2011-March/045283.html
>>> on top of a linaro kernel which resulted in booting problem on
>>> Pandaboard.
>>> It hangs inside the cti_unlock() while reading the LOCKSTATUS value,
>>> which
>>> happens when omap_init_pmu() is called. Please help me debug the issue.
>>
>> Please check if  l3 clocks are enabled to drive CTI, such as done in
>> below:
>>
>>        omap_writel(1, CM_L3INSTR_L3_3_CLKCTRL);
>>        omap_writel(1, CM_L3INSTR_L3_INSTR_CLKCTRL);
>>        omap_writel(2, CM_EMU_CLKSTCTRL);
>>        while ((omap_readl(CM_EMU_CLKSTCTRL)&  0x300) != 0x300);
>>
> Can you please tell me where should I insert the above code to enable l3
> clocks to drive CTI?

It should be inserted before calling omap4_configure_pmu_irq.

thanks,
-- 
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux