From: Will Deacon Date: Fri, 26 Feb 2010 09:46:15 +0000 (+0100) Subject: ARM: 5960/1: ARM: perf-events: fix v7 event selection mask X-Git-Tag: v2.6.34-rc2~14^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d10fca9f39238b07cc670b441d2b423de30359d2;p=pandora-kernel.git ARM: 5960/1: ARM: perf-events: fix v7 event selection mask The event selection mask for ARMv7 cores [ARMV7_EVTSEL_MASK] is incorrectly set to 0x7f. This means that the top bit of an event ID is ignored, so counting branch misses (id=0x10) and ISBs (id=0x90) give the same results. This patch sets the event selection mask to the correct value of 0xff. Signed-off-by: Jean Pihet Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed