From patchwork Fri Jan 27 13:32:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: stephane eranian X-Patchwork-Id: 138225 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D25E7B6EFF for ; Sat, 28 Jan 2012 00:34:50 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RqlvC-0001e9-C7; Fri, 27 Jan 2012 13:32:54 +0000 Received: from mail-vw0-f49.google.com ([209.85.212.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Rqlv2-0001dH-Ui for linux-arm-kernel@lists.infradead.org; Fri, 27 Jan 2012 13:32:52 +0000 Received: by vbbfs19 with SMTP id fs19so83946vbb.36 for ; Fri, 27 Jan 2012 05:32:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=RqDEO2AZMxoeVIQYpnwONKGozmYc44WXuiomP8kRWY0=; b=KAuO8ZshMpThYtzWTB1mPrVETSeGiErcVIFPxKzomy9LscefBwF2CxPb/rLFp8Qd64 QZy7MHHl0JcYuZyK3RlymP1aoO5wInmWV4EY2jfm6E5OzjNlvLCiH0qu3dpX8uovdOn3 MjbSCtT52qT1CWBKPS2aIvJJKT6gREy3UHyP0= MIME-Version: 1.0 Received: by 10.52.65.78 with SMTP id v14mr3020115vds.73.1327671163724; Fri, 27 Jan 2012 05:32:43 -0800 (PST) Received: by 10.220.117.13 with HTTP; Fri, 27 Jan 2012 05:32:43 -0800 (PST) In-Reply-To: <20120127132826.GD2347@mudshark.cambridge.arm.com> References: <20120127121311.GB2347@mudshark.cambridge.arm.com> <20120127132826.GD2347@mudshark.cambridge.arm.com> Date: Fri, 27 Jan 2012 14:32:43 +0100 Message-ID: Subject: Re: oprofile and ARM A9 hardware counter From: stephane eranian To: Will Deacon X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.7 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (eranian[at]googlemail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 1.0 FREEMAIL_REPLYTO Reply-To/From or Reply-To/body contain different freemails Cc: =?UTF-8?B?TcOlbnMgUnVsbGfDpXJk?= , "Cousson, Benoit" , Ming Lei , "oprofile-list@lists.sourceforge.net" , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: eranian@gmail.com List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org 2012/1/27 Will Deacon : > Mans, > > On Fri, Jan 27, 2012 at 12:56:35PM +0000, Måns Rullgård wrote: >> Will Deacon writes: >> > Did this lead anywhere in the end? It seems as though Ming Lei has a working >> > setup but Stephane is unable to replicate it, despite applying the necessary >> > patches and trying an updated bootloader. >> >> With the patches listed above plus the one in [1], I get PMU interrupts. >> However, unless I restrict the profiled process to one CPU >> (taskset 1 perf record ...), I get a panic in armpmu_event_update() with >> the 'event' argument being null when called from armv7pmu_handle_irq(). >> >> [1] http://article.gmane.org/gmane.linux.ports.arm.omap/69696 > Ok, I am recompiling the kernel for this one line fix: linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --- a/arch/arm/mach-omap2/clockdomains44xx_data.c +++ b/arch/arm/mach-omap2/clockdomains44xx_data.c @@ -390,7 +390,7 @@ static struct clockdomain emu_sys_44xx_clkdm = { .prcm_partition = OMAP4430_PRM_PARTITION, .cm_inst = OMAP4430_PRM_EMU_CM_INST, .clkdm_offs = OMAP4430_PRM_EMU_CM_EMU_CDOFFS, - .flags = CLKDM_CAN_HWSUP, + .flags = CLKDM_CAN_SWSUP, }; _______________________________________________