[PATCH v3 1/1] powerpc/kernel: Enables memory hot-remove after reboot on pseries guests
Leonardo Bras
leonardo at linux.ibm.com
Fri Apr 3 10:06:41 AEDT 2020
Hello Oliver, thank you for the feedback.
Comments inline:
On Fri, 2020-04-03 at 09:46 +1100, Oliver O'Halloran wrote:
>
> I don't really understand why the flag is needed at all. According to
> PAPR any memory provided by dynamic reconfiguration can be hot-removed
> so why aren't we treating all DR memory as hot removable? The only
> memory guaranteed to be there 100% of the time is what's in the
> /memory at 0 node since that's supposed to cover the real mode area.
All LMBs are listed in DR memory, even the base memory.
The v1 of the patch would work this way, as qemu would configure it's
DR memory with (DRC_INVALID | RESERVED) flags and the hot-added memory
with (ASSIGNED) flag. Looking for assigned flag would be enough.
But as of today, PowerVM doesn't seem to work that way.
When you boot a PowerVM virtual machine with Linux, all memory is added
with the same flags (ASSIGNED).
To create a solution that doesn't break PowerVM, this new flag was made
necessary.
Best regards,
Leonardo Bras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20200402/b4971d79/attachment-0001.sig>
More information about the Linuxppc-dev
mailing list