All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86_64 - UV fix for memory-only blades
@ 2009-05-15 19:45 Jack Steiner
  2009-05-19 15:13 ` Yinghai Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Jack Steiner @ 2009-05-15 19:45 UTC (permalink / raw)
  To: mingo, tglx; +Cc: linux-kernel

Fix an endcase in handling UV blades that have memory
but no cpus. The calculation of the highest blade number
failed to handle these blades if they appear last in the
configuration.

Signed-off-by: Jack Steiner <steiner@sgi.com>

---
 arch/x86/kernel/apic/x2apic_uv_x.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux/arch/x86/kernel/apic/x2apic_uv_x.c
===================================================================
--- linux.orig/arch/x86/kernel/apic/x2apic_uv_x.c	2009-05-15 12:00:59.000000000 -0500
+++ linux/arch/x86/kernel/apic/x2apic_uv_x.c	2009-05-15 14:38:16.000000000 -0500
@@ -632,6 +632,7 @@ void __init uv_system_init(void)
 		pnode = (paddr >> m_val) & pnode_mask;
 		blade = boot_pnode_to_blade(pnode);
 		uv_node_to_blade[nid] = blade;
+		max_pnode = max(pnode, max_pnode);
 	}
 
 	map_gru_high(max_pnode);

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-20 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15 19:45 [PATCH] x86_64 - UV fix for memory-only blades Jack Steiner
2009-05-19 15:13 ` Yinghai Lu
2009-05-20 16:13   ` Jack Steiner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.