[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH for 2.13 0/2] target/ppc: Support adding memory to
Re: [Qemu-ppc] [PATCH for 2.13 0/2] target/ppc: Support adding memory to initially memory-less NUMA nodes
Tue, 10 Apr 2018 14:24:32 +1000
On Fri, Apr 06, 2018 at 10:21:36AM +0200, Greg Kurz wrote:
> On Thu, 5 Apr 2018 10:35:21 -0400
> Serhii Popovych <address@hidden> wrote:
> > Now PowerPC Linux kernel supports hot-add to NUMA nodes not populated
> > initially with memory we can enable such support in qemu. This requires
> > two changes:
> > o Add device tree property "ibm,max-associativity-domains" to let
> > guest kernel chance to find max possible NUMA node
> > o Revert commit b556854bd852 ("spapr: Don't allow memory hotplug to
> > memory less nodes") to remove check for hot-add to memory-less node.
> But the series do the changes in the opposite order...
Right, the patches should go in the reverse order to avoid breaking
> IIUC correctly a recent kernel will mis-behave as before linux commit
> a346137e9142 if the property is not present... ie, patch 2 should come
> > See description messges for individual changes for more details.
> > Serhii Popovych (2):
> > Revert "spapr: Don't allow memory hotplug to memory less nodes"
> > spapr: Add ibm,max-associativity-domains property
> > hw/ppc/spapr.c | 33 +++++++++++----------------------
> > 1 file changed, 11 insertions(+), 22 deletions(-)
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
Description: PGP signature