From: Michael Ellerman Date: Fri, 28 Jun 2013 08:15:12 +0000 (+1000) Subject: powerpc/perf: Freeze PMC5/6 if we're not using them X-Git-Tag: v3.11-rc1~94^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a7a41f9d5b28ac3a916b057a7d3cd3f435ee9a6;p=pandora-kernel.git powerpc/perf: Freeze PMC5/6 if we're not using them On Power8 we can freeze PMC5 and 6 if we're not using them. Normally they run all the time. As noticed by Anshuman, we should unfreeze them when we disable the PMU as there are legacy tools which expect them to run all the time. Signed-off-by: Michael Ellerman CC: [v3.10] Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed