From: Stephen Boyd Date: Sat, 28 Feb 2015 00:11:34 +0000 (+0000) Subject: ARM: perf: Only reset PMxEVCNTCR registers on reset X-Git-Tag: omap-for-v4.1/fixes-rc1~142^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=934999185edd613ca80916d238ba7393b84ae53c;p=pandora-kernel.git ARM: perf: Only reset PMxEVCNTCR registers on reset The Krait specific PMxEVCNTCR register is unpredictable upon reset. Currently we clear the register before we setup an event, but we don't need to do that. Instead, we can iterate through all the events and clear them once when we reset the PMU, saving a write in the event setup path. Cc: Neil Leeder Cc: Ashwin Chaugule Cc: Sheetal Sahasrabudhe Signed-off-by: Stephen Boyd Signed-off-by: Will Deacon --- Reading git-diff-tree failed