[PATCH 0/5 v6] x86: Adapt CPU topology detection for AMDMagny-Cours

From: Andreas Herrmann
Date: Mon Aug 31 2009 - 08:54:16 EST


Another version of patches to fix topology issues for AMD multi-node
processors. This time w/o introduction of new /sysfs attributes or
additional log messages.
It is just the pure stuff that is needed to fix some oddities
that occur when Linux is booted on Magny-Cours.

Please apply the patches. They should go into .32.

Users who are interested in which CPUs belong to the same internal
node have to check shared_cpu_map of L3 cache (i.e.
/sys/devices/system/cpu/cpuXY/cache/index3/shared_cpu_map or

Boris might be interested in cpuinfo_x86->cpu_node_id. I use it to
store the entire NodeId of AMD CPUs. That should be convenient
enough to find out the northbridge of a CPU in the EDAC driver.

The scheduler stuff is in flux in general and I don't expect that
scheduler gets fixed for Magny-Cours with .32. So be aware that
changing to power savings scheduling might bring down your multi-node
processor system.


Operating | Advanced Micro Devices GmbH
System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
Research | Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
(OSRC) | Registergericht München, HRB Nr. 43632

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/