Thread (46 messages) flat view 46 messages, 4 authors, 2016-07-12

Re: [PATCH 12/14] PCI/hotplug: pnv_php: export symbols and move struct types needed by cxl

From: Gavin Shan <hidden>
Date: 2016-07-05 00:03:56
Also in: linux-pci

On Mon, Jul 04, 2016 at 11:22:10PM +1000, Ian Munsie wrote:
From: Andrew Donnellan <redacted>

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 <redacted>
Cc: linux-pci@vger.kernel.org
Cc: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Andrew Donnellan <redacted>
Acked-by: Gavin Shan <redacted>
---
.../...
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help