From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754128Ab0ESHRr (ORCPT ); Wed, 19 May 2010 03:17:47 -0400 Received: from casper.infradead.org ([85.118.1.10]:40861 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752184Ab0ESHRp convert rfc822-to-8bit (ORCPT ); Wed, 19 May 2010 03:17:45 -0400 Subject: Re: [RFC][PATCH v2 06/11] perf: core, export pmus via sysfs From: Peter Zijlstra To: Borislav Petkov Cc: Lin Ming , Greg KH , Ingo Molnar , Corey Ashford , Frederic Weisbecker , Paul Mundt , "eranian@gmail.com" , "Gary.Mohr@Bull.com" , "arjan@linux.intel.com" , "Zhang, Yanmin" , Paul Mackerras , "David S. Miller" , Russell King , Arnaldo Carvalho de Melo , Will Deacon , Maynard Johnson , Carl Love , Kay Sievers , lkml In-Reply-To: <20100519070655.GB30320@aftab> References: <1274233602.3036.84.camel@localhost> <20100518200524.GA20223@kroah.com> <1274236496.3603.22.camel@minggr.sh.intel.com> <20100519070655.GB30320@aftab> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Wed, 19 May 2010 09:17:07 +0200 Message-ID: <1274253427.5605.10131.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2010-05-19 at 09:06 +0200, Borislav Petkov wrote: > > have we considered the per-cpu granularity of MCEs here and if yes, how > to represent that? Uhm, by opening the MCE event on a particular cpu? Remember that sys_perf_event_open() has a cpu target. The thing is, CPUs are assumed symmetric, thus also all MCE events are symmetric, one CPU cannot generate other MCE than another. So the only thing that differs is where you want to listen for them.