[PATCH 3.12 147/170] powerpc/perf: Clear MMCR2 when enabling PMU

2014-07-18 Thread Jiri Slaby
From: Joel Stanley 3.12-stable review patch. If anyone has any objections, please let me know. === commit b50a6c584bb47b370f84bfd746770c0bbe7129b7 upstream. On POWER8 when switching to a KVM guest we set bits in MMCR2 to freeze the PMU counters. Aside from on boot they are then

[PATCH 3.12 147/170] powerpc/perf: Clear MMCR2 when enabling PMU

2014-07-18 Thread Jiri Slaby
From: Joel Stanley j...@jms.id.au 3.12-stable review patch. If anyone has any objections, please let me know. === commit b50a6c584bb47b370f84bfd746770c0bbe7129b7 upstream. On POWER8 when switching to a KVM guest we set bits in MMCR2 to freeze the PMU counters. Aside from on boot