From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757330Ab2DJAsx (ORCPT ); Mon, 9 Apr 2012 20:48:53 -0400 Received: from mga03.intel.com ([143.182.124.21]:34496 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753854Ab2DJAsw (ORCPT ); Mon, 9 Apr 2012 20:48:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="87141568" Message-ID: <4F838370.2080305@intel.com> Date: Tue, 10 Apr 2012 08:48:48 +0800 From: "Yan, Zheng" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Peter Zijlstra CC: mingo@elte.hu, andi@firstfloor.org, eranian@google.com, linux-kernel@vger.kernel.org, ming.m.lin@intel.com Subject: Re: [PATCH 2/5] perf: generic intel uncore support References: <1332916998-10628-1-git-send-email-zheng.z.yan@intel.com> <1332916998-10628-3-git-send-email-zheng.z.yan@intel.com> <1333163902.2960.63.camel@laptop> <4F77C75B.4060105@intel.com> <1333404693.2960.82.camel@laptop> <4F7AB4AC.1060108@intel.com> <1333463364.2960.100.camel@laptop> In-Reply-To: <1333463364.2960.100.camel@laptop> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/03/2012 10:29 PM, Peter Zijlstra wrote: > On Tue, 2012-04-03 at 16:28 +0800, Yan, Zheng wrote: >> On 04/03/2012 06:11 AM, Peter Zijlstra wrote: >>> On Sun, 2012-04-01 at 11:11 +0800, Yan, Zheng wrote: >>>> >>>> Because using per-cpu allocation is inconvenience for PCI uncore device. >>> >>> What are those, where does one read about them and why? >>> >> PCI uncore device support was added by patch 4. If using per-cpu pointer, >> we have to setup the per-cpu pointer after the PCI driver's probe function >> recognizes the uncore device. It means we have to first add the PCI uncore >> device to a list, then call a function on all cpus to scan the list, find >> the right uncore device and setup the per-cpu pointer. > > Yeah, I saw that, but it was all completely lacking in where one can > find actual detail on that stuff. What parts of the SDM do I read? Is > there anything other than the SDM, etc.. > The uncore performance monitoring guide: http://www.intel.com/content/dam/www/public/us/en/documents/design-guides/xeon-e5-2600-uncore-guide.pdf Regards Yan, Zheng