Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751759AbdGZP4a (ORCPT ); Wed, 26 Jul 2017 11:56:30 -0400 Received: from mail.skyhub.de ([5.9.137.197]:47344 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955AbdGZP43 (ORCPT ); Wed, 26 Jul 2017 11:56:29 -0400 Date: Wed, 26 Jul 2017 17:55:48 +0200 From: Borislav Petkov To: Jan Glauber Cc: Suzuki K Poulose , Mark Rutland , Will Deacon , linux-arm-kernel@lists.infradead.org, "linux-kernel@vger.kernel.org" , Greg KH Subject: Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters Message-ID: <20170726155548.GF28875@nazgul.tnic> References: <20170725150422.4775-2-jglauber@cavium.com> <72145781-e9ec-036f-f752-b4756fef08ee@arm.com> <20170726111946.GA6273@hc> <20170726131058.GA8665@hc> <131179fe-42e7-f286-5bd4-801f4c93d5f9@arm.com> <20170726145522.GC28875@nazgul.tnic> <20170726151314.GA10696@hc> <20170726153502.GE28875@nazgul.tnic> <20170726154515.GA11453@hc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170726154515.GA11453@hc> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 532 Lines: 17 On Wed, Jul 26, 2017 at 05:45:15PM +0200, Jan Glauber wrote: > The PMU/EDAC devices are all PCI devices do I need the 'struct pci_dev *'. > I'm not aware of other ways to access these devices. Please enlighten > me if I'm missing something. Me enlighten you on Cavium hardware?! You're funny. So I don't know whether the PCI hotplug code can run more than one function upon PCI ID detection. Probably Greg will say, write a multiplexer wrapper. :-) -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --