diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-07-03 13:10:07 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-09-08 12:50:48 +0200 |
commit | c3b4f589d86ae4a6b9f6c1e0587998bc525833da (patch) | |
tree | 7411590eaebe884651e10d41bf25cd95568960ca /hw/ppc | |
parent | b082d65a30078d176f8d1fbb3b99e1449fa2fcff (diff) | |
download | qemu-c3b4f589d86ae4a6b9f6c1e0587998bc525833da.tar.gz qemu-c3b4f589d86ae4a6b9f6c1e0587998bc525833da.tar.bz2 qemu-c3b4f589d86ae4a6b9f6c1e0587998bc525833da.zip |
spapr: Fix ibm, associativity for memory nodes
We want the associtivity lists of memory and CPU nodes to match but
memory nodes have incorrect domain#3 which is zero for CPU so they won't
match.
This clears domain#3 in the list to match CPUs associtivity lists.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc')
-rw-r--r-- | hw/ppc/spapr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 1623805b81..12dbf1b36b 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -653,7 +653,7 @@ static void spapr_populate_memory_node(void *fdt, int nodeid, hwaddr start, uint32_t associativity[] = { cpu_to_be32(0x4), /* length */ cpu_to_be32(0x0), cpu_to_be32(0x0), - cpu_to_be32(nodeid), cpu_to_be32(nodeid) + cpu_to_be32(0x0), cpu_to_be32(nodeid) }; char mem_name[32]; uint64_t mem_reg_property[2]; |