perf/x86/amd/uncore: Update the number of uncore counters
authorJanakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Mon, 16 Jan 2017 23:36:22 +0000 (17:36 -0600)
committerIngo Molnar <mingo@kernel.org>
Mon, 30 Jan 2017 11:01:17 +0000 (12:01 +0100)
commitbc1daef6b5da574bca0a2ec7f9b4d0c5fe0c7d11
treed4be197f20ccc2757408cdb74ed03b69cdebe601
parenta83f4c00dd6a646ac3c7604ee255d732fc5e0e0b
perf/x86/amd/uncore: Update the number of uncore counters

This patch updates the AMD uncore driver to support AMD Family17h
processors. In Family17h, there are two extra last level cache counters.

The maximum available counters is increased and the number of counters
for each uncore type is now based on the family.

Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/799f9c5be8963cc209d9169a08f4a2643b748dc7.1484598705.git.Janakarajan.Natarajan@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/amd/uncore.c