]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/fsl: Add barrier_nospec implementation for NXP PowerPC Book3E
authorDiana Craciun <diana.craciun@nxp.com>
Fri, 29 Mar 2019 11:26:01 +0000 (22:26 +1100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit7c342c3171b07c7135cf1f190983ec7b57caa8be
tree6e8b2ac01d41a8451cf95f0e654b90ae981dd940
parent77268819b38fb2474448a9cf87aea77b380967e4
powerpc/fsl: Add barrier_nospec implementation for NXP PowerPC Book3E

BugLink: https://bugs.launchpad.net/bugs/1838116
commit ebcd1bfc33c7a90df941df68a6e5d4018c022fba upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/powerpc/Kconfig
arch/powerpc/include/asm/barrier.h
arch/powerpc/lib/feature-fixups.c