perf/x86: Add Intel Westmere-EX uncore support
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 6 Aug 2012 05:11:22 +0000 (13:11 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Aug 2012 17:01:04 +0000 (19:01 +0200)
commitcb37af77124e8532e6ae3f9ca332593ba423b5f8
treeda6d33dfaf0ce299193a2e32f3ce218156fe33ba
parentebb6cc03596cc89c89670473282ea46573feb34f
perf/x86: Add Intel Westmere-EX uncore support

The Westmere-EX uncore is similar to the Nehalem-EX uncore. The
differences are:
 - Westmere-EX uncore has 10 instances of Cbox. The MSRs for Cbox8
   and Cbox9 in the Westmere-EX aren't contiguous with Cbox 0~7.
 - The fvid field in the ZDP_CTL_FVC register in the Mbox is
   different. It's 5 bits in the Nehalem-EX, 6 bits in the
   Westmere-EX.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1344229882-3907-3-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/perf_event_intel_uncore.c
arch/x86/kernel/cpu/perf_event_intel_uncore.h