ocxl: Add PCI hotplug dependency to Kconfig
authorFrederic Barrat <fbarrat@linux.ibm.com>
Thu, 21 Nov 2019 13:49:18 +0000 (14:49 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:18 +0000 (21:31 +1100)
The PCI hotplug framework is used to update the devices when a new
image is written to the FPGA.

Reviewed-by: Alastair D'Silva <alastair@d-silva.org>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191121134918.7155-12-fbarrat@linux.ibm.com
drivers/misc/ocxl/Kconfig

index 1916fa6..2d2266c 100644 (file)
@@ -11,6 +11,7 @@ config OCXL
        tristate "OpenCAPI coherent accelerator support"
        depends on PPC_POWERNV && PCI && EEH
        select OCXL_BASE
+       select HOTPLUG_PCI_POWERNV
        default m
        help
          Select this option to enable the ocxl driver for Open