linux/drivers/misc/ocxl
Necip Fazil Yildiran 4b53a3c721 ocxl: fix kconfig dependency warning for OCXL
When OCXL is enabled and HOTPLUG_PCI is disabled, it results in the
following Kbuild warning:

WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV
  Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y]
  Selected by [y]:
  - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y]

The reason is that OCXL selects HOTPLUG_PCI_POWERNV without depending on
or selecting HOTPLUG_PCI while HOTPLUG_PCI_POWERNV is subordinate to
HOTPLUG_PCI.

HOTPLUG_PCI_POWERNV is a visible symbol with a set of dependencies.
Selecting it will lead to overlooking its other dependencies as well.

Let OCXL depend on HOTPLUG_PCI_POWERNV instead to avoid Kbuild issues.

Fixes: 49ce94b867 ("ocxl: Add PCI hotplug dependency to Kconfig")
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Link: https://lore.kernel.org/r/20200918094148.20525-1-fazilyildiran@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-02 11:35:38 +02:00
..
afu_irq.c ocxl: move event_fd handling to frontend 2019-05-03 02:55:02 +10:00
config.c ocxl: Address kernel doc errors & warnings 2020-07-29 23:47:52 +10:00
context.c ocxl: Fix misleading comment 2020-05-20 23:39:57 +10:00
core.c ocxl: Create a clear delineation between ocxl backend & frontend 2019-05-03 02:55:01 +10:00
file.c ocxl: Fix concurrent AFU open and device removal 2019-12-10 20:34:23 +11:00
Kconfig ocxl: fix kconfig dependency warning for OCXL 2020-10-02 11:35:38 +02:00
link.c ocxl: Allow contexts to be attached with a NULL mm 2019-07-03 21:29:47 +02:00
main.c powerpc/64s/radix: introduce options to disable use of the tlbie instruction 2019-09-05 14:22:41 +10:00
Makefile ocxl: Provide global MMIO accessors for external drivers 2019-05-03 02:55:02 +10:00
mmio.c ocxl: Provide global MMIO accessors for external drivers 2019-05-03 02:55:02 +10:00
ocxl_internal.h ocxl: Address kernel doc errors & warnings 2020-07-29 23:47:52 +10:00
pasid.c
pci.c ocxl: Make ocxl_remove() static 2019-05-28 12:08:11 +10:00
sysfs.c ocxl: control via sysfs whether the FPGA is reloaded on a link reset 2020-07-15 11:07:19 +10:00
trace.c ocxl: Add trace points 2018-01-24 11:42:59 +11:00
trace.h ocxl: Use the correct style for SPDX License Identifier 2019-10-10 15:34:40 +02:00