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)
commitebcd1bfc33c7a90df941df68a6e5d4018c022fba
tree55128a08e7c84290d2e187f7c79d66743c7cc5ea
parent406d2b6ae3420f5bb2b3db6986dc6f0b6dbb637b
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