OSDN Git Service

spapr_numa: change reference-points and maxdomain settings
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 7 Oct 2020 17:28:47 +0000 (14:28 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 8 Oct 2020 23:52:09 +0000 (10:52 +1100)
commit491e884e3666e0af6a1eef06df496611097a060e
treee6b01954408fc3c57f8283a390a20bcfab3dc425
parentee6635b227491e7d487ecd868e0dbfbb0c444217
spapr_numa: change reference-points and maxdomain settings

This is the first guest visible change introduced in
spapr_numa.c. The previous settings of both reference-points
and maxdomains were too restrictive, but enough for the
existing associativity we're setting in the resources.

We'll change that in the following patches, populating the
associativity arrays based on user input. For those changes
to be effective, reference-points and maxdomains must be
more flexible. After this patch, we'll have 4 distinct
levels of NUMA (0x4, 0x3, 0x2, 0x1) and maxdomains will
allow for any type of configuration the user intends to
do - under the scope and limitations of PAPR itself, of
course.

Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20201007172849.302240-4-danielhb413@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_numa.c