On 11/16/2016 11:30 AM, Peter Zijlstra wrote:
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?
There is no document published as of now.
+ 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_j...@mail.gmail.com
I'll send out a v2 patch for the comment following the guidelines.