Re: [PATCH v4 4/5] mm: make processing of movable_node arch-specific

From: Reza Arbab
Date: Wed Oct 26 2016 - 13:03:59 EST


On Wed, Oct 26, 2016 at 09:52:53PM +1100, Michael Ellerman wrote:
As far as I know, power has nothing like the SRAT that tells us, at
boot, which memory is hotpluggable.

On pseries we have the ibm,dynamic-memory device tree property, which
can contain ranges of memory that are not yet "assigned to the
partition" - ie. can be hotplugged later.

So in general that statement is not true.

But I think you're focused on bare-metal, in which case you might be
right. But that doesn't mean we couldn't have a similar property, if
skiboot/hostboot knew what the ranges of memory were going to be.

Yes, sorry, I should have qualified that statement to say I wasn't talking about pseries.

I can amend this set to actually implement movable_node on power too, but we'd have to settle on a name for the dt property. Is "linux,movable-node" too on the nose?

--
Reza Arbab