From: Tom Huynh Date: Tue, 20 Jan 2015 22:19:50 +0000 (-0600) Subject: powerpc/perf: fix fsl_emb_pmu_start to write correct pmc value X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~116^2~5^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2caa3cebda8b626336e100b80a0ed6f909dccab;p=pandora-kernel.git powerpc/perf: fix fsl_emb_pmu_start to write correct pmc value PMCs on PowerPC increases towards 0x80000000 and triggers an overflow interrupt when the msb is set to collect a sample. Therefore, to setup for the next sample collection, pmu_start should set the pmc value to 0x80000000 - left instead of left which incorrectly delays the next overflow interrupt. Same as commit 9a45a9407c69 ("powerpc/perf: power_pmu_start restores incorrect values, breaking frequency events") for book3s. Signed-off-by: Tom Huynh Signed-off-by: Scott Wood --- Reading git-diff-tree failed