[PATCH 3/3] powerpc/microwatt: CPU doesn't (yet) have speculation bugs
Christophe Leroy
christophe.leroy at csgroup.eu
Mon Aug 16 18:42:27 AEST 2021
Le 16/08/2021 à 10:24, Joel Stanley a écrit :
> Signed-off-by: Joel Stanley <joel at 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
>
More information about the Linuxppc-dev
mailing list