On Wed, Nov 16, 2016 at 11:01:53AM -0600, Janakarajan Natarajan wrote:There is no document published as of now.
This patch enables perf core PMU support for AMD family17h processors.Is there a public document describing this thing about already?
In family17h, there is no PMC-event constraint. All events, irrespective
of the type, can be measured using any of the performance counters.
I'll send out a v2 patch for the comment following the guidelines.
+ case 0x17:http://lkml.kernel.org/r/CA+55aFyQYJerovMsSoSKS7PessZBr4vNp-3QUUwhqk4A4_jcbg@xxxxxxxxxxxxxx
+ 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;