Perf Event support for ARMv7 (was: Re: [PATCH 5/5] arm/perfevents: implement perf event support for ARMv6)
Jamie Iles
jamie.iles at picochip.com
Fri Jan 15 10:49:15 EST 2010
On Fri, Jan 15, 2010 at 04:43:39PM +0100, Jean Pihet wrote:
> On Friday 15 January 2010 16:39:41 Jamie Iles wrote:
> > On Fri, Jan 15, 2010 at 04:30:06PM +0100, Jean Pihet wrote:
> > > Hi Will,
> > >
> > > Thanks for the answers. Here are the remarks.
> > >
> > > Jamie, there is a remark at the very end about the cpuid detection. Can
> > > you check?
> >
> > [snip]
> >
> > > > It might also be
> > > > worth adding a cpu_architecture() check to the v6 test just in case a
> > > > v7 core conflicts with the mask.
> > >
> > > Jamie, what do you think?
> >
> > Hmm, I'm not sure. I thought that cpu_architecture() returned the MMU
> > architecture of the core. See the thread 'question about ARM11MP cpu
> > architecture identification' for more details. Certainly on my ARM1176
> > Linux reports it as a v7 on bootup so this check would be bad...
> Correct! That is why I was asking. So the tests are working for v6 and v7
> because of the code ordering (need to check v6 first, then v7 variants). Is
> it ok to keep the code as is?
That's fine with me.
Jamie
More information about the linux-arm-kernel
mailing list