powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration
authorMichael Ellerman <mpe@ellerman.id.au>
Sat, 26 May 2018 04:27:34 +0000 (14:27 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:51:51 +0000 (07:51 +0200)
commitd1cb5ff450d3ae87f57f680d9dcb707460302f8c
treee9e0d51ae58c561fa3da636165078a6e580a3ef8
parent123f6d5ccaa2c3614b12bd12da14cab2b79f637f
powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration

commit 921bc6cf807ceb2ab8005319cf39f33494d6b100 upstream.

We might have migrated to a machine that uses a different flush type,
or doesn't need flushing at all.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/pseries/mobility.c
arch/powerpc/platforms/pseries/pseries.h
arch/powerpc/platforms/pseries/setup.c