Home
last modified time | relevance | path

Searched hist:aa6d5b20254a21b69092dd839b70ee148303ef25 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/powerpc/platforms/cell/
H A Dspu_base.cdiff aa6d5b20254a21b69092dd839b70ee148303ef25 Fri Jul 20 14:39:44 CDT 2007 Arnd Bergmann <arnd@arndb.de> [CELL] cell: add per BE structure with info about its SPUs

Addition of a spufs-global "cbe_info" array. Each entry contains information
about one Cell/B.E. node, namelly:
* list of spus (both free and busy spus are in this list);
* list of free spus (replacing the static spu_list from spu_base.c)
* number of spus;
* number of reserved (non scheduleable) spus.

SPE affinity implementation actually requires only access to one spu per
BE node (since it implements its own pointer to walk through the other spus
of the ring) and the number of scheduleable spus (n_spus - non_sched_spus)
However having this more general structure can be useful for other
functionalities, concentrating per-cbe statistics / data.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dsched.cdiff aa6d5b20254a21b69092dd839b70ee148303ef25 Fri Jul 20 14:39:44 CDT 2007 Arnd Bergmann <arnd@arndb.de> [CELL] cell: add per BE structure with info about its SPUs

Addition of a spufs-global "cbe_info" array. Each entry contains information
about one Cell/B.E. node, namelly:
* list of spus (both free and busy spus are in this list);
* list of free spus (replacing the static spu_list from spu_base.c)
* number of spus;
* number of reserved (non scheduleable) spus.

SPE affinity implementation actually requires only access to one spu per
BE node (since it implements its own pointer to walk through the other spus
of the ring) and the number of scheduleable spus (n_spus - non_sched_spus)
However having this more general structure can be useful for other
functionalities, concentrating per-cbe statistics / data.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>