[PATCH 2/3] rfi-flush: Make it possible to call setup_rfi_flush() again
Michal Suchánek
msuchanek at suse.de
Thu Feb 15 18:13:58 AEDT 2018
Hello,
On Wed, 14 Feb 2018 19:33:40 -0200
Mauricio Faria de Oliveira <mauricfo at linux.vnet.ibm.com> wrote:
> From: Michael Ellerman <mpe at 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
> destination.
>
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.
Thanks
Michal
More information about the Linuxppc-dev
mailing list