diff options
author | Yan, Zheng | 2012-08-06 13:11:21 +0800 |
---|---|---|
committer | Thomas Gleixner | 2012-08-13 19:01:03 +0200 |
commit | ebb6cc03596cc89c89670473282ea46573feb34f (patch) | |
tree | 2e045ae53633e0777a1ba73d934cfc357d7e5e88 /mm | |
parent | cffa59baa5f1cf3e3e9e172697db48912471531c (diff) |
perf/x86: Fixes for Nehalem-EX uncore driver
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions