[PATCH 0/6] powerpc topology updates

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Jul 28 16:34:57 EST 2008


On Sun, 2008-07-27 at 00:24 -0500, Nathan Lynch wrote:
> This series consists of a couple of cleanups and a few feature
> additions, all of which are more or less related to system topology
> (threads, cores, caches, sysfs...)  These are independent of
> each other except for 4 and 5 (core sibling and core id info).
> 
> I'd say the highlights are the last three patches, which add core and
> cache information to sysfs.  Here is some example output with the
> patches applied:

Applied with minor changes.

I made cpu_to_l2cache() use of_find_device_by_phandle() which should
work as well on pseries and should have the added advantage of working
on others too (ie. it will use device_node->linux_phandle to do the
compare, which is setup with the base phandle and overriden by the
ibm,phandle if there is one).

I also did a few cleanups of printk's and error checking.

Cheers,
Ben.






More information about the Linuxppc-dev mailing list