]> git.ipfire.org Git - people/arne_f/kernel.git/commit
powerpc/64: Add CONFIG_PPC_BARRIER_NOSPEC
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 27 Jul 2018 23:06:34 +0000 (09:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 14:32:23 +0000 (00:32 +1000)
commit179ab1cbf883575c3a585bcfc0f2160f1d22a149
treeeead3ee74946fc0b174966ef4fcf1fa02ae8e2fc
parent6453b532f2c8856a80381e6b9a1f5ea2f12294df
powerpc/64: Add CONFIG_PPC_BARRIER_NOSPEC

Add a config symbol to encode which platforms support the
barrier_nospec speculation barrier. Currently this is just Book3S 64
but we will add Book3E in a future patch.

Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/include/asm/barrier.h
arch/powerpc/include/asm/setup.h
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/module.c
arch/powerpc/kernel/vmlinux.lds.S
arch/powerpc/lib/feature-fixups.c