From: Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@xxxxxxx> Date: Fri, 20 Sep 2013 17:44:04 +0100 > Makes sense, but as you mentioned before we need to match other property > names namely "upa-portid", "portid" or "cpuid" for cpu physical id right > ? Are all these 32-bit values ? Yes they are. You'll simply have to make the property name string to use be something an architecture can define. >> I already gave a solution to this problem, make the loop iterator be: >> >> for_each_node_by_type(dp, "cpu") >> > > Does it make sense use this only when /cpus is not found ? No, it should be used universally since it is an implementation that should work in all possible layouts. I do not buy your argument about cost at all. -- 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