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:39:41 EST 2010


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...

Jamie



More information about the linux-arm-kernel mailing list