Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/include/asm/
H A DbL_switcher.hdiff d08e2e09042bd3f7ef66a35cb4bb92794ab26bb2 Wed Feb 13 10:20:44 CST 2013 Dave Martin <dave.martin@linaro.org> ARM: bL_switcher: Add query interface to discover CPU affinities

When the switcher is active, there is no straightforward way to
figure out which logical CPU a given physical CPU maps to.

This patch provides a function
bL_switcher_get_logical_index(mpidr), which is analogous to
get_logical_index().

This function returns the logical CPU on which the specified
physical CPU is grouped (or -EINVAL if unknown).
If the switcher is inactive or not present, -EUNATCH is returned instead.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Nicolas Pitre <nico@linaro.org>
/openbmc/linux/arch/arm/common/
H A DbL_switcher.cdiff d08e2e09042bd3f7ef66a35cb4bb92794ab26bb2 Wed Feb 13 10:20:44 CST 2013 Dave Martin <dave.martin@linaro.org> ARM: bL_switcher: Add query interface to discover CPU affinities

When the switcher is active, there is no straightforward way to
figure out which logical CPU a given physical CPU maps to.

This patch provides a function
bL_switcher_get_logical_index(mpidr), which is analogous to
get_logical_index().

This function returns the logical CPU on which the specified
physical CPU is grouped (or -EINVAL if unknown).
If the switcher is inactive or not present, -EUNATCH is returned instead.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Nicolas Pitre <nico@linaro.org>