From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rk3yN5J3szDqpG for ; Tue, 5 Jul 2016 10:03:56 +1000 (AEST) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u64NxLZ3146839 for ; Mon, 4 Jul 2016 20:03:54 -0400 Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com [202.81.31.141]) by mx0a-001b2d01.pphosted.com with ESMTP id 23x9s2bxv8-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 04 Jul 2016 20:03:54 -0400 Received: from localhost by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 5 Jul 2016 10:03:51 +1000 Received: from d23relay06.au.ibm.com (d23relay06.au.ibm.com [9.185.63.219]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 07F6D2BB005A for ; Tue, 5 Jul 2016 10:03:49 +1000 (EST) Received: from d23av06.au.ibm.com (d23av06.au.ibm.com [9.190.235.151]) by d23relay06.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u6503nfs49807372 for ; Tue, 5 Jul 2016 10:03:49 +1000 Received: from d23av06.au.ibm.com (localhost [127.0.0.1]) by d23av06.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u6503m12013450 for ; Tue, 5 Jul 2016 10:03:48 +1000 Date: Tue, 5 Jul 2016 10:03:47 +1000 From: Gavin Shan To: Ian Munsie Cc: Michael Ellerman , Michael Neuling , Frederic Barrat , Andrew Donnellan , linuxppc-dev@lists.ozlabs.org, Huy Nguyen , Gavin Shan , linux-pci@vger.kernel.org, Bjorn Helgaas Subject: Re: [PATCH 12/14] PCI/hotplug: pnv_php: export symbols and move struct types needed by cxl Reply-To: Gavin Shan References: <1467638532-9250-1-git-send-email-imunsie@au.ibm.com> <1467638532-9250-13-git-send-email-imunsie@au.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1467638532-9250-13-git-send-email-imunsie@au.ibm.com> Message-Id: <20160705000347.GA6557@gwshan> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Jul 04, 2016 at 11:22:10PM +1000, Ian Munsie wrote: >From: Andrew Donnellan > >The cxl driver will use infrastructure from pnv_php to handle device tree >updates when switching bi-modal CAPI cards into CAPI mode. > >To enable this, export pnv_php_find_slot() and >pnv_php_set_slot_power_state(), and add corresponding declarations, as well >as the definition of struct pnv_php_slot, to asm/pnv-pci.h. > >Cc: Gavin Shan >Cc: linux-pci@vger.kernel.org >Cc: Bjorn Helgaas >Signed-off-by: Andrew Donnellan >Acked-by: Gavin Shan >--- .../... >diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig >index aadce45..b719a72 100644 >--- a/drivers/pci/hotplug/Kconfig >+++ b/drivers/pci/hotplug/Kconfig >@@ -117,6 +117,7 @@ config HOTPLUG_PCI_POWERNV > tristate "PowerPC PowerNV PCI Hotplug driver" > depends on PPC_POWERNV && EEH > select OF_DYNAMIC >+ select HOTPLUG_PCI_POWERNV_BASE > help > Say Y here if you run PowerPC PowerNV platform that supports > PCI Hotplug Andrew/Ian, it seems HOTPLUG_PCI_POWERNV_BASE isn't defined and we needn't it. Thanks, Gavin