diff options
author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2021-09-20 14:49:45 -0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-09-30 12:26:06 +1000 |
commit | 5dab5abe623d97929382158b43b3fd545e8edd62 (patch) | |
tree | 8dce7386e9233cfd719cad0b313f68116ab034dd /include/hw/ppc/spapr_tpm_proxy.h | |
parent | a165ac67c3ff8dc7065aa827de36da3785ec83fd (diff) |
spapr: move FORM1 verifications to post CAS
FORM2 NUMA affinity is prepared to deal with empty (memory/cpu less)
NUMA nodes. This is used by the DAX KMEM driver to locate a PAPR SCM
device that has a different latency than the original NUMA node from the
regular memory. FORM2 is also able to deal with asymmetric NUMA
distances gracefully, something that our FORM1 implementation doesn't
do.
Move these FORM1 verifications to a new function and wait until after
CAS, when we're sure that we're sticking with FORM1, to enforce them.
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20210920174947.556324-6-danielhb413@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/spapr_tpm_proxy.h')
0 files changed, 0 insertions, 0 deletions