]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl: Add barrier_nospec implementation for NXP PowerPC Book3E
authorDiana Craciun <diana.craciun@nxp.com>
Fri, 27 Jul 2018 23:06:37 +0000 (09:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 14:32:24 +0000 (00:32 +1000)
commita976eb6197dbd6a88ac922d0d549a533d93e37e9
tree55128a08e7c84290d2e187f7c79d66743c7cc5ea
parentfd4db9124d07584e5d176ffa1807e1596962ce72
powerpc/fsl: Add barrier_nospec implementation for NXP PowerPC Book3E

Implement the barrier_nospec as a isync;sync instruction sequence.
The implementation uses the infrastructure built for BOOK3S 64.

Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
[mpe: Split out of larger patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/include/asm/barrier.h
arch/powerpc/lib/feature-fixups.c