From: Benjamin Herrenschmidt Date: Wed, 9 Mar 2011 13:00:14 +0000 (+0000) Subject: powerpc/pseries: Disable VPNH feature X-Git-Tag: v2.6.38~30^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=36e8695ca5dcf48c837a6efe6f780c47ac9ec808;p=~emulex%2Finfiniband.git powerpc/pseries: Disable VPNH feature This feature triggers nasty races in the scheduler between the rebuilding of the topology and the load balancing code, causing the machine to hang. Disable it for now until the races are fixed. Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index fd481232957..0dc95c0aa3b 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -1516,7 +1516,8 @@ int start_topology_update(void) { int rc = 0; - if (firmware_has_feature(FW_FEATURE_VPHN) && + /* Disabled until races with load balancing are fixed */ + if (0 && firmware_has_feature(FW_FEATURE_VPHN) && get_lppaca()->shared_proc) { vphn_enabled = 1; setup_cpu_associativity_change_counters();