]> git.baikalelectronics.ru Git - kernel.git/commit
[CELL] cell: add vicinity information on spus
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Jul 2007 19:39:45 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:42:12 +0000 (21:42 +0200)
commitb30d3fc069574b9f00515e7dc4cd328addace643
tree569ea7f80335c5833563999889c769edb7b2c6fc
parentc2035cbe257fb65275ee0db6872014486b6efea0
[CELL] cell: add vicinity information on spus

This patch adds affinity data to each spu instance.
A doubly linked list is created, meant to connect the spus
in the physical order they are placed in the BE. SPUs
near to memory should be marked as having memory affinity.
Adjustments of the fields acording to FW properties is done
in separate patches, one for CPBW, one for Malta (patch for
Malta under testing).

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spu_base.c
include/asm-powerpc/spu.h