Re: [PATCH V3] powerpc/perf: Fix Threshold Event Counter Multiplier width for P10
From: Michael Ellerman <hidden>
Date: 2020-12-21 11:05:44
From: Michael Ellerman <hidden>
Date: 2020-12-21 11:05:44
On Tue, 15 Dec 2020 03:56:18 -0500, Athira Rajeev wrote:
Threshold Event Counter Multiplier (TECM) is part of Monitor Mode Control Register A (MMCRA). This field along with Threshold Event Counter Exponent (TECE) is used to get threshould counter value. In Power10, this is a 8bit field, so patch fixes the current code to modify the MMCRA[TECM] extraction macro to handle this change. ISA v3.1 says this is a 7 bit field but POWER10 it's actually 8 bits which will hopefully be fixed in ISA v3.1 update.
Applied to powerpc/next.
[1/1] powerpc/perf: Fix Threshold Event Counter Multiplier width for P10
https://git.kernel.org/powerpc/c/ef0e3b650f8ddc54bb70868852f50642ee3ae765
cheers