perf/x86/intel: Clean up SNB PEBS quirk
authorKan Liang <kan.liang@linux.intel.com>
Mon, 4 Feb 2019 22:23:31 +0000 (14:23 -0800)
committerIngo Molnar <mingo@kernel.org>
Mon, 11 Feb 2019 07:00:40 +0000 (08:00 +0100)
commita96fff8df28ddd2f6710e5af454a45014c73183c
tree33273cbbe08ca7b0ad0d741b55bd3da0ccedfed7
parent9b545c04abd4f7246a3bde040efde587abebb23c
perf/x86/intel: Clean up SNB PEBS quirk

Clean up SNB PEBS quirk to use the new facility to check for min
microcode revisions.

Only check the boot CPU, assuming models and features are consistent
over all CPUs.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: bp@alien8.de
Link: https://lkml.kernel.org/r/1549319013-4522-3-git-send-email-kan.liang@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/core.c