I'm getting a flood of kernel log warnings on bootup now with the generic of_get_cpu_node() code, it is wrong for sparc64 on several levels. There is never a root "/cpus" node, so this code always fails. Usually the "cpu" nodes are simply listed at the top-level. The correct way to go about this is to use something like: struct device_node *dp; for_each_node_by_type(dp, "cpu") { } and therefore be agnostic as to the layout of the device tree wrt. cpu nodes. Secondly, the property to use to get the physical cpu number is not only different on sparc from what this code uses, but varies. It can be either "upa-portid" or "portid". The "reg" property represents various things and will be different for different cpu types and thus is not a good candidate for fetching this information. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html