powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration
authorMichael Ellerman <mpe@ellerman.id.au>
Sat, 2 Jun 2018 11:08:53 +0000 (21:08 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Jun 2018 14:44:36 +0000 (16:44 +0200)
commit82bfffedbda91ffdf7cebc210185fac3f6a2096b
treebe95a6b2dd6de83ed0e6fdb03c65934b3142c17c
parent2b2f103b689bb1f092ccbc5f03ce5ec77d319319
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