]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ocxl: Add PCI hotplug dependency to Kconfig
authorFrederic Barrat <fbarrat@linux.ibm.com>
Mon, 24 Feb 2020 15:52:33 +0000 (16:52 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 26 Feb 2020 02:34:10 +0000 (20:34 -0600)
BugLink: https://bugs.launchpad.net/bugs/1862121
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
(cherry picked from commit 49ce94b8677c7d7a15c4d7cbbb9ff1cd8387827b)
Signed-off-by: Frank Heimes <frank.heimes@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/misc/ocxl/Kconfig

index 1916fa65f2f2a6cc602fed81a983fa608a21e895..2d2266c1439ef12813982a9a6ff4581111a76993 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