Le 16/08/2021 à 10:24, Joel Stanley a écrit :
Signed-off-by: Joel Stanley <j...@jms.id.au>
---
  arch/powerpc/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 663766fbf505..d5af6667c206 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -279,6 +279,7 @@ config PPC_BARRIER_NOSPEC
        bool
        default y
        depends on PPC_BOOK3S_64 || PPC_FSL_BOOK3E
+       depends on !PPC_MICROWATT

Not sure it is a good idea to disable it completely when PPC_MICROWATT is selected. Don't we want to be able to build generic kernels that can run on any book3s/64 ?

Maybe you should change the default instead, something like:

        bool
        default y if !PPC_MICROWATT
        depends on PPC_BOOK3S_64 || PPC_FSL_BOOK3E

config EARLY_PRINTK
        bool

Reply via email to