From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: oprofile and ARM A9 hardware counter Date: Fri, 27 Jan 2012 12:13:11 +0000 Message-ID: <20120127121311.GB2347@mudshark.cambridge.arm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: oprofile-list-bounces@lists.sourceforge.net To: "eranian@gmail.com" Cc: "Cousson, Benoit" , Ming Lei , "oprofile-list@lists.sourceforge.net" , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" List-Id: linux-omap@vger.kernel.org Hi guys, On Sat, Jan 21, 2012 at 09:16:57AM +0000, stephane eranian wrote: > On Sat, Jan 21, 2012 at 4:25 AM, Ming Lei wrote: > > On Fri, Jan 20, 2012 at 9:47 PM, stephane eranian > > wrote: > >> Started afresh from: > >> > >> 90a4c0f uml: fix compile for x86-64 > >> > >> And added 3, 4, 5, 6: > >> 603c316 arm: omap4: pmu: support runtime pm > >> 4899fbd arm: omap4: support pmu > >> d737bb1 arm: omap4: create pmu device via hwmod > >> 4e0259e arm: omap4: hwmod: introduce emu hwmod > >> > >> Still no interrupts firing. I am using your .config file. > >> > >> My HW: > >> CPU implementer : 0x41 > >> CPU architecture: 7 > >> CPU variant =A0 =A0 : 0x1 > >> CPU part =A0 =A0 =A0 =A0: 0xc09 > >> CPU revision =A0 =A0: 2 > >> > >> Hardware =A0 =A0 =A0 =A0: OMAP4 Panda board > >> Revision =A0 =A0 =A0 =A0: 0020 > >> > >> There must be something I am missing here. 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. Drastic suggestion: Stephane, could you try a kernel *binary* from Ming Lei? If that works then you're probably just missing a patch. If it doesn't, then there must be something different between your boards. Will ---------------------------------------------------------------------------= --- Try before you buy =3D See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Fri, 27 Jan 2012 12:13:11 +0000 Subject: oprofile and ARM A9 hardware counter In-Reply-To: References: Message-ID: <20120127121311.GB2347@mudshark.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi guys, On Sat, Jan 21, 2012 at 09:16:57AM +0000, stephane eranian wrote: > On Sat, Jan 21, 2012 at 4:25 AM, Ming Lei wrote: > > On Fri, Jan 20, 2012 at 9:47 PM, stephane eranian > > wrote: > >> Started afresh from: > >> > >> 90a4c0f uml: fix compile for x86-64 > >> > >> And added 3, 4, 5, 6: > >> 603c316 arm: omap4: pmu: support runtime pm > >> 4899fbd arm: omap4: support pmu > >> d737bb1 arm: omap4: create pmu device via hwmod > >> 4e0259e arm: omap4: hwmod: introduce emu hwmod > >> > >> Still no interrupts firing. I am using your .config file. > >> > >> My HW: > >> CPU implementer : 0x41 > >> CPU architecture: 7 > >> CPU variant ? ? : 0x1 > >> CPU part ? ? ? ?: 0xc09 > >> CPU revision ? ?: 2 > >> > >> Hardware ? ? ? ?: OMAP4 Panda board > >> Revision ? ? ? ?: 0020 > >> > >> There must be something I am missing here. 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. Drastic suggestion: Stephane, could you try a kernel *binary* from Ming Lei? If that works then you're probably just missing a patch. If it doesn't, then there must be something different between your boards. Will