Re: [PATCH] Support for perf on AMD family17h processors

From: Peter Zijlstra
Date: Wed Nov 16 2016 - 12:30:26 EST


On Wed, Nov 16, 2016 at 11:01:53AM -0600, Janakarajan Natarajan wrote:
> This patch enables perf core PMU support for AMD family17h processors.
> In family17h, there is no PMC-event constraint. All events, irrespective
> of the type, can be measured using any of the performance counters.
>

Is there a public document describing this thing about already?

> + case 0x17:
> + pr_cont("Fam17h ");
> + /* In family 17h, there are no event constraints in the PMC hardware.
> + * We fallback to using default amd_get_event_constraints.
> + */
> + break;

http://lkml.kernel.org/r/CA+55aFyQYJerovMsSoSKS7PessZBr4vNp-3QUUwhqk4A4_jcbg@xxxxxxxxxxxxxx