OSDN Git Service

spapr: Add ibm,max-associativity-domains property
authorSerhii Popovych <spopovyc@redhat.com>
Wed, 11 Apr 2018 18:41:59 +0000 (14:41 -0400)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Apr 2018 08:05:23 +0000 (18:05 +1000)
commitda9f80fbad21319194e73355dea8a1cff6a574e4
tree997f6e7b7848eb12a24f4e5a6de9ff49bebb2389
parent67d7d66f27c49a87c6f28ccff814f5d7eaaccec6
spapr: Add ibm,max-associativity-domains property

Now recent kernels (i.e. since linux-stable commit a346137e9142
("powerpc/numa: Use ibm,max-associativity-domains to discover possible nodes")
support this property to mark initially memory-less NUMA nodes as "possible"
to allow further memory hot-add to them.

Advertise this property for pSeries machines to let guest kernels detect
maximum supported node configuration and benefit from kernel side change
when hot-add memory to specific, possibly empty before, NUMA node.

Signed-off-by: Serhii Popovych <spopovyc@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c