commit | 7a7a41f9d5b28ac3a916b057a7d3cd3f435ee9a6 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Fri Jun 28 18:15:12 2013 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jul 01 11:49:57 2013 +1000 |
tree | 10a75b68f94e6b947632d568fc4552325d35e62d | |
parent | 378a6ee99e4a431ec84e4e61893445c041c93007 [diff] |
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 <michael@ellerman.id.au> CC: <stable@vger.kernel.org> [v3.10] Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>