diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-14 19:40:42 -0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-27 19:25:14 +1100 |
commit | 921bc6cf807ceb2ab8005319cf39f33494d6b100 (patch) | |
tree | fe21d7426273d64b1a8ee7d723c5f1f3d4311691 /arch/powerpc/platforms/pseries/mobility.c | |
parent | 0063d61ccfc011f379a31acaeba6de7c926fed2c (diff) | |
download | linux-stable-921bc6cf807ceb2ab8005319cf39f33494d6b100.tar.gz linux-stable-921bc6cf807ceb2ab8005319cf39f33494d6b100.tar.bz2 linux-stable-921bc6cf807ceb2ab8005319cf39f33494d6b100.zip |
powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration
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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/mobility.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/mobility.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/mobility.c b/arch/powerpc/platforms/pseries/mobility.c index 0f7fb7170b03..8a8033a249c7 100644 --- a/arch/powerpc/platforms/pseries/mobility.c +++ b/arch/powerpc/platforms/pseries/mobility.c @@ -348,6 +348,9 @@ void post_mobility_fixup(void) printk(KERN_ERR "Post-mobility device tree update " "failed: %d\n", rc); + /* Possibly switch to a new RFI flush type */ + pseries_setup_rfi_flush(); + return; } |