[PATCH v2 0/3] perf/x86/amd/uncore: Update AMD uncore driver

From: Janakarajan Natarajan
Date: Mon Jan 16 2017 - 18:36:54 EST


This patchset updates the AMD uncore driver to support AMD Family17h processors.

First, the current L2 counters are renamed to Last level cache (LLC) counter to
reflect either L2 or L3 counters depending on the family. Next, the maximum
number of counters available is increased and the counters per uncore type is
now based on the family.

Also, in Family17h, the NorthBridge counters are re-purposed as Data Fabric (DF)
counters. Therefore, this patch exports the pmu name accordingly based on the
processor family.

v1->v2
* Removed dynamic memory allocation for counters, based on Peter Zijlstra's
feedback.

Janakarajan Natarajan (3):
perf/x86/amd/uncore: Update AMD uncore to rename L2 to LLC
perf/x86/amd/uncore: Update number of uncore counters
perf/x86/amd/uncore: Update sysfs attributes for Family17h processors

arch/x86/events/amd/uncore.c | 204 ++++++++++++++++++++++++++++---------------
1 file changed, 132 insertions(+), 72 deletions(-)

--
2.7.4