From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933069Ab0EKGpW (ORCPT ); Tue, 11 May 2010 02:45:22 -0400 Received: from mga01.intel.com ([192.55.52.88]:15007 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932123Ab0EKGpT (ORCPT ); Tue, 11 May 2010 02:45:19 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.53,205,1272870000"; d="scan'208";a="797290566" Subject: Re: [RFC][PATCH 2/9] perf: core, remove hw_perf_event_init From: Lin Ming To: Peter Zijlstra Cc: Frederic Weisbecker , Ingo Molnar , "eranian@gmail.com" , "Gary.Mohr@Bull.com" , Corey Ashford , "arjan@linux.intel.com" , "Zhang, Yanmin" , Paul Mackerras , "David S. Miller" , Russell King , Paul Mundt , lkml In-Reply-To: <1273559935.5605.3418.camel@twins> References: <1273483595.15998.56.camel@minggr.sh.intel.com> <1273484430.5605.3334.camel@twins> <1273486670.15998.80.camel@minggr.sh.intel.com> <1273486769.5605.3343.camel@twins> <20100510122728.GB5563@nowhere> <1273496054.5605.3400.camel@twins> <20100510230911.GB5895@nowhere> <1273559935.5605.3418.camel@twins> Content-Type: text/plain Date: Tue, 11 May 2010 14:44:40 +0800 Message-Id: <1273560280.30322.12.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 (2.24.1-2.fc10) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2010-05-11 at 14:38 +0800, Peter Zijlstra wrote: > On Tue, 2010-05-11 at 01:09 +0200, Frederic Weisbecker wrote: > > > Which module do you have in mind that could register a pmu? > > And I don't understand the problem with pci-hotplug. > > Well, the DRM drivers for one, but basically the trend is for every > aspect of the machine to include PMUs of some form, this includes bus > bridges and fancy devices. So the concept of "PMU" is really broadened here? Not just only the performance monitoring hardware in CPU? > > The point about PCI-hotplug is that GPUs live on the PCI bus and once > they start adding their PMU drivers we need to be able to unplug them. > > Same for when the PCI bridge devices start featuring PMU > implementations.