On Thu, 2013-04-18 at 11:33 -0500, Jacob Shin wrote: > Okay, here is V2 which does that. Thanks again in advance for taking > the time to look it over.
Awesome, looks good on a first read.. I'm assuming you've tested things and they actually work too? :-) > From d68225744196d8b0d60a1bc33ae9abdbffbd9bc9 Mon Sep 17 00:00:00 2001 > From: Jacob Shin <jacob.s...@amd.com> > Date: Sun, 14 Apr 2013 04:12:42 -0500 > Subject: [PATCH 2/2] perf, amd: support for AMD NB and L2I "uncore" counters. > > Add support for AMD Family 15h [and above] northbridge performance > counters. MSRs 0xc0010240 ~ 0xc0010247 are shared across all cores > that share a common northbridge. > > Add support for AMD Family 16h L2 performance counters. MSRs > 0xc0010230 ~ 0xc0010237 are shared across all cores that share a > common L2 cache. > > We do not enable counter overflow interrupts. Sampling mode and > per-thread events are not supported. > > Signed-off-by: Jacob Shin <jacob.s...@amd.com> Acked-by: Peter Zijlstra <a.p.zijls...@chello.nl> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/