On Mon, Feb 27, 2012 at 9:12 PM, Dmitry Antipov
<dmitry.anti...@linaro.org> wrote:
> On 02/25/2012 07:24 AM, Ming Lei wrote:
>
>> BTW: suggest you to apply the recent arm pmu irq fix patches[1] to
>> test 'oprofile'.
>>
>> [1], http://marc.info/?t=133001284900005&r=1&w=2
>
>
> I tried, and with the same results - "nobody cared" messages
> about IRQs 33 and 34.

After some check, I just found there is another patch you missed.
Please try the attachment patch from Shilimkar, Santosh.

If it doesn't work, I can send my uImage for your test.

BTW: I have just tested -rc5 with these patches on your config, and
perf does work on my pandaboard(A1).

thanks,
--
Ming Lei
From 110f347ec17d264cf5017430aba87c5ea7b87c3e Mon Sep 17 00:00:00 2001
From: Ming Lei <tom.leim...@gmail.com>
Date: Sun, 12 Feb 2012 13:45:16 +0800
Subject: [PATCH 01/13] omap4: fix clocksource issue

---
 arch/arm/mach-omap2/pm44xx.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c
index c264ef7..d7bd020 100644
--- a/arch/arm/mach-omap2/pm44xx.c
+++ b/arch/arm/mach-omap2/pm44xx.c
@@ -197,7 +197,7 @@ static int __init omap4_pm_init(void)
 {
 	int ret;
 	struct clockdomain *emif_clkdm, *mpuss_clkdm, *l3_1_clkdm;
-	struct clockdomain *ducati_clkdm, *l3_2_clkdm, *l4_per_clkdm;
+	struct clockdomain *ducati_clkdm, *l3_2_clkdm, *l4_per_clkdm, *l4wkup;
 
 	if (!cpu_is_omap44xx())
 		return -ENODEV;
@@ -227,14 +227,16 @@ static int __init omap4_pm_init(void)
 	l3_2_clkdm = clkdm_lookup("l3_2_clkdm");
 	l4_per_clkdm = clkdm_lookup("l4_per_clkdm");
 	ducati_clkdm = clkdm_lookup("ducati_clkdm");
+	l4wkup = clkdm_lookup("l4_wkup_clkdm");
 	if ((!mpuss_clkdm) || (!emif_clkdm) || (!l3_1_clkdm) ||
-		(!l3_2_clkdm) || (!ducati_clkdm) || (!l4_per_clkdm))
+		(!l3_2_clkdm) || (!ducati_clkdm) || (!l4_per_clkdm) || (!l4wkup))
 		goto err2;
 
 	ret = clkdm_add_wkdep(mpuss_clkdm, emif_clkdm);
 	ret |= clkdm_add_wkdep(mpuss_clkdm, l3_1_clkdm);
 	ret |= clkdm_add_wkdep(mpuss_clkdm, l3_2_clkdm);
 	ret |= clkdm_add_wkdep(mpuss_clkdm, l4_per_clkdm);
+	ret |= clkdm_add_wkdep(mpuss_clkdm, l4wkup);
 	ret |= clkdm_add_wkdep(ducati_clkdm, l3_1_clkdm);
 	ret |= clkdm_add_wkdep(ducati_clkdm, l3_2_clkdm);
 	if (ret) {
-- 
1.7.9

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to