]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf/x86: Add perf support for AMD family-17h processors
authorJanakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Thu, 17 Nov 2016 16:15:06 +0000 (10:15 -0600)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Nov 2016 08:45:57 +0000 (09:45 +0100)
commite40ed1542dd779e5037a22c6b534e57127472365
treee2933f5c186a821692fe8f2943e2559afe79f636
parentc499336cea8bbe15554c6fcea2138658c5395bfe
perf/x86: Add perf support for AMD family-17h processors

This patch enables perf core PMU support for the new AMD family-17h processors.

In family-17h, there is no PMC-event constraint. All events, irrespective of
the type, can be measured using any of the six generic performance counters.

Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Acked-by: Borislav Petkov <bp@suse.de>
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/1479399306-13375-1-git-send-email-Janakarajan.Natarajan@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/amd/core.c