]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/64: Add CONFIG_PPC_BARRIER_NOSPEC
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 29 Mar 2019 11:25:58 +0000 (22:25 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2019 04:25:12 +0000 (06:25 +0200)
commit56fe5a966a902b72e36a3b9991f07ed9c04f67fe
treeea17476a7c2d8d62758d1f996d23536f25b912bf
parent5a56eba71a139f1ded1707cd102017c5f2ad83b1
powerpc/64: Add CONFIG_PPC_BARRIER_NOSPEC

commit 179ab1cbf883575c3a585bcfc0f2160f1d22a149 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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