[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH v2 6/6] spapr: Fix ibm, associativity for memory nodes

From: Alexey Kardashevskiy
Subject: [Qemu-ppc] [PATCH v2 6/6] spapr: Fix ibm, associativity for memory nodes
Date: Wed, 25 Jun 2014 02:43:11 +1000

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

This clears domain#3 in the list to match CPUs associtivity lists.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
 hw/ppc/spapr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 559df35..5e3dbf3 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -681,7 +681,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];

reply via email to

[Prev in Thread] Current Thread [Next in Thread]