Thread (10 messages) flat view 10 messages, 3 authors, 2021-08-17

Re: [PATCH 3/3] powerpc/microwatt: CPU doesn't (yet) have speculation bugs

From: Christophe Leroy <hidden>
Date: 2021-08-16 08:43:23


Le 16/08/2021 à 10:24, Joel Stanley a écrit :
quoted hunk ↗ jump to hunk
Signed-off-by: Joel Stanley <joel@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help