Patch "ocxl: fix kconfig dependency warning for OCXL" has been added to the 5.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ocxl: fix kconfig dependency warning for OCXL

to the 5.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ocxl-fix-kconfig-dependency-warning-for-ocxl.patch
and it can be found in the queue-5.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 861ad01cec7b60fb146120a75ec9ce7935edeb53
Author: Necip Fazil Yildiran <fazilyildiran@xxxxxxxxx>
Date:   Fri Sep 18 12:41:49 2020 +0300

    ocxl: fix kconfig dependency warning for OCXL
    
    [ Upstream commit 4b53a3c72116118d86fab4112277e1dc4edf273c ]
    
    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: 49ce94b8677c ("ocxl: Add PCI hotplug dependency to Kconfig")
    Acked-by: Frederic Barrat <fbarrat@xxxxxxxxxxxxx>
    Signed-off-by: Necip Fazil Yildiran <fazilyildiran@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20200918094148.20525-1-fazilyildiran@xxxxxxxxx
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/misc/ocxl/Kconfig b/drivers/misc/ocxl/Kconfig
index 2d2266c1439ef..51b51f3774701 100644
--- a/drivers/misc/ocxl/Kconfig
+++ b/drivers/misc/ocxl/Kconfig
@@ -9,9 +9,8 @@ config OCXL_BASE
 
 config OCXL
 	tristate "OpenCAPI coherent accelerator support"
-	depends on PPC_POWERNV && PCI && EEH
+	depends on PPC_POWERNV && PCI && EEH && HOTPLUG_PCI_POWERNV
 	select OCXL_BASE
-	select HOTPLUG_PCI_POWERNV
 	default m
 	help
 	  Select this option to enable the ocxl driver for Open



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux