* [PATCH] fix zx1 config to work on NUMA sx1000 systems
@ 2004-08-04 16:20 Alex Williamson
0 siblings, 0 replies; only message in thread
From: Alex Williamson @ 2004-08-04 16:20 UTC (permalink / raw)
To: linux-ia64
Using CONFIG_IA64_HP_ZX1 on an sx1000 system setup w/ multiple NUMA
nodes (configured for cell local memory) currently crashes because
MAX_NUMNODES defaults to 1. The patch below sets up things to make this
work. Tony, please apply. Thanks,
Alex
--
Alex Williamson HP Linux & Open Source Lab
=== arch/ia64/Kconfig 1.76 vs edited ==--- 1.76/arch/ia64/Kconfig Wed Jun 23 12:19:08 2004
+++ edited/arch/ia64/Kconfig Wed Aug 4 10:01:01 2004
@@ -170,7 +170,7 @@
config DISCONTIGMEM
bool "Discontiguous memory support"
- depends on (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC) && NUMA && VIRTUAL_MEM_MAP
+ depends on (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1) && NUMA && VIRTUAL_MEM_MAP
default y if (IA64_SGI_SN2 || IA64_GENERIC) && NUMA
help
Say Y to support efficient handling of discontiguous physical memory,
=== include/asm-ia64/numnodes.h 1.4 vs edited ==--- 1.4/include/asm-ia64/numnodes.h Mon Nov 24 05:45:35 2003
+++ edited/include/asm-ia64/numnodes.h Wed Aug 4 10:02:07 2004
@@ -4,6 +4,9 @@
#ifdef CONFIG_IA64_DIG
/* Max 8 Nodes */
#define NODES_SHIFT 3
+#elif defined(CONFIG_IA64_HP_ZX1)
+/* Max 32 Nodes */
+#define NODES_SHIFT 5
#elif defined(CONFIG_IA64_SGI_SN2) || defined(CONFIG_IA64_GENERIC)
/* Max 256 Nodes */
#define NODES_SHIFT 8
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-04 16:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-04 16:20 [PATCH] fix zx1 config to work on NUMA sx1000 systems Alex Williamson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox