From: aviksil@linux.vnet.ibm.com (Avik Sil)
To: linux-arm-kernel@lists.infradead.org
Subject: arm: pmu: support pmu/perf on OMAP4 - booting problem on pandaboard
Date: Mon, 04 Apr 2011 19:44:41 +0530 [thread overview]
Message-ID: <4D99D251.6000901@linux.vnet.ibm.com> (raw)
In-Reply-To: <BANLkTi=nOR=yX=QgbyCoYUE1U7DPxUCCzw@mail.gmail.com>
Hi Ming,
On Saturday 02 April 2011 10:57 AM, Ming Lei wrote:
> Hi Avik,
>
> 2011/4/1 Avik Sil<aviksil@linux.vnet.ibm.com>:
>> 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?
Regards,
Avik
> No such issue on mainline since this clocks are enabled automatically.
>
> thanks,
next prev parent reply other threads:[~2011-04-04 14:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 14:33 arm: pmu: support pmu/perf on OMAP4 - booting problem on pandaboard Avik Sil
2011-04-02 5:27 ` Ming Lei
2011-04-04 14:14 ` Avik Sil [this message]
2011-04-04 14:23 ` Ming Lei
2011-04-04 16:01 ` Avik Sil
2011-04-05 2:03 ` Ming Lei
2011-04-05 11:05 ` Avik Sil
2011-04-06 6:07 ` Ming Lei
2011-04-07 9:06 ` Avik Sil
2011-04-07 9:54 ` Ming Lei
2011-04-07 10:42 ` Avik Sil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D99D251.6000901@linux.vnet.ibm.com \
--to=aviksil@linux.vnet.ibm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).