From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Shilimkar, Santosh" Subject: Re: oprofile and ARM A9 hardware counter Date: Tue, 3 Apr 2012 15:31:53 +0530 Message-ID: References: <20120109224945.GA23090@mudshark.cambridge.arm.com> <20120403092524.GD17741@mudshark.cambridge.arm.com> <20120403094749.GH17741@mudshark.cambridge.arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from na3sys009aog119.obsmtp.com ([74.125.149.246]:49162 "EHLO na3sys009aog119.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753206Ab2DCKCP convert rfc822-to-8bit (ORCPT ); Tue, 3 Apr 2012 06:02:15 -0400 Received: by qcsc20 with SMTP id c20so2610902qcs.32 for ; Tue, 03 Apr 2012 03:02:13 -0700 (PDT) In-Reply-To: <20120403094749.GH17741@mudshark.cambridge.arm.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Will Deacon Cc: Ming Lei , "eranian@gmail.com" , Maynard Johnson , Lik Lik , "oprofile-list@lists.sourceforge.net" , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Paul Walmsley , Benoit Cousson On Tue, Apr 3, 2012 at 3:17 PM, Will Deacon wrote= : > On Tue, Apr 03, 2012 at 10:42:30AM +0100, Shilimkar, Santosh wrote: >> On Tue, Apr 3, 2012 at 2:55 PM, Will Deacon wr= ote: >> > Did you ever get to the bottom of this? This change really is requ= ired in >> > order to generate PMU interrupts with the CTI and I don't know of = any >> > alternative to the above. >> > >> > Any suggestions? >> > >> Sorry I lost track of this one. There is one relevant patch in Kevin= 's queue >> for 3.4/fixes. [1] which I generated for perf time stamp issue. > > Thanks, I'll take a look. > >> Can you try that patch and see if it helps the CTI issue as well ? T= here >> is an outside chance that it might help. If it doesn't, we should co= mmit >> Ming Lei =A0patch. > > It seems that they're both needed to get reliable PMU operation. With= out the > CLKDM_CAN_SWSUP fix, no interrupts are generated at all. Without the = patch > below ([1]), it seems that we don't generate enough. So it looks like= we > need them both. > I see. Can you please confirm if it is still the case with [1]. If yes then am nou sure how to proceed. because permanently setting EMU CD to CLKDM_CAN_SWSUP will break PM. >> [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March= /089679.html > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html