[PATCH 3/3] powerpc/perf: Clear MMCR2 when enabling PMU

Michael Ellerman mpe at ellerman.id.au
Fri Jul 4 12:36:02 EST 2014


On Thu, 2014-07-03 at 15:42 +0930, Joel Stanley wrote:
> 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 never reset,
> resulting in stuck perf counters for any user in the guest or host.

Cc: stable at vger.kernel.org
Fixes: e05b9b9e5c10 ("powerpc/perf: Power8 PMU support")
Acked-by: Michael Ellerman <mpe at ellerman.id.au>

cheers





More information about the Linuxppc-dev mailing list