perf/x86: Fixes for Nehalem-EX uncore driver
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 6 Aug 2012 05:11:21 +0000 (13:11 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Aug 2012 17:01:03 +0000 (19:01 +0200)
This patch includes following fixes and update:
 - Only some events in the Sbox and Mbox can use the match/mask
   registers, add code to check this.
 - The format definitions for xbr_mm_cfg and xbr_match registers
   in the Rbox are wrong, xbr_mm_cfg should use 32 bits, xbr_match
   should use 64 bits.
 - Cleanup the Rbox code. Compute the addresses extra registers in
   the enable_event function instead of the hw_config function.
   This simplifies the code in nhmex_rbox_alter_er().

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-2-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found