From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754775Ab2DCO3c (ORCPT ); Tue, 3 Apr 2012 10:29:32 -0400 Received: from merlin.infradead.org ([205.233.59.134]:54072 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752897Ab2DCO3b (ORCPT ); Tue, 3 Apr 2012 10:29:31 -0400 Subject: Re: [PATCH 2/5] perf: generic intel uncore support From: Peter Zijlstra To: "Yan, Zheng" Cc: mingo@elte.hu, andi@firstfloor.org, eranian@google.com, linux-kernel@vger.kernel.org, ming.m.lin@intel.com In-Reply-To: <4F7AB4AC.1060108@intel.com> 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> Content-Type: text/plain; charset="UTF-8" Date: Tue, 03 Apr 2012 16:29:24 +0200 Message-ID: <1333463364.2960.100.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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..