On Wed, 14 Feb 2018 19:33:40 -0200
Mauricio Faria de Oliveira <mauri...@linux.vnet.ibm.com> wrote:
> From: Michael Ellerman <m...@ellerman.id.au>
> For PowerVM migration we want to be able to call setup_rfi_flush()
> again after we've migrated the partition.
> To support that we need to check that we're not trying to allocate the
> fallback flush area after memblock has gone away. If so we just fail,
> we don't support migrating from a patched to an unpatched machine. Or
> we do support it, but there will be no RFI flush enabled on the
This sounds bad to me. Either we support RFI flush or we don't.
If we do the fallback area should be allocated at boot so it is always
available. The user can use nopti to disable all RFI flush and then it
is OK to not allocate it.