linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] perf/x86/amd/uncore: Update AMD uncore driver
@ 2017-01-16 23:36 Janakarajan Natarajan
  2017-01-16 23:36 ` [PATCH v2 1/3] perf/x86/amd/uncore: Update AMD uncore to rename L2 to LLC Janakarajan Natarajan
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Janakarajan Natarajan @ 2017-01-16 23:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Alexander Shishkin, Suravee Suthikulpanit, Janakarajan Natarajan

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-30 13:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-16 23:36 [PATCH v2 0/3] perf/x86/amd/uncore: Update AMD uncore driver Janakarajan Natarajan
2017-01-16 23:36 ` [PATCH v2 1/3] perf/x86/amd/uncore: Update AMD uncore to rename L2 to LLC Janakarajan Natarajan
2017-01-30 12:00   ` [tip:perf/core] perf/x86/amd/uncore: Rename 'L2' to 'LLC' tip-bot for Janakarajan Natarajan
2017-01-16 23:36 ` [PATCH v2 2/3] perf/x86/amd/uncore: Update number of uncore counters Janakarajan Natarajan
2017-01-30 12:00   ` [tip:perf/core] perf/x86/amd/uncore: Update the " tip-bot for Janakarajan Natarajan
2017-01-16 23:36 ` [PATCH v2 3/3] perf/x86/amd/uncore: Update sysfs attributes for Family17h processors Janakarajan Natarajan
2017-01-30 12:01   ` [tip:perf/core] " tip-bot for Janakarajan Natarajan
2017-01-25 15:50 ` [PATCH v2 0/3] perf/x86/amd/uncore: Update AMD uncore driver Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).