OSDN Git Service

MIPS: introduce cpu_coherent_mask
authorPaul Burton <paul.burton@imgtec.com>
Fri, 14 Feb 2014 16:30:52 +0000 (16:30 +0000)
committerPaul Burton <paul.burton@imgtec.com>
Fri, 2 May 2014 15:39:13 +0000 (16:39 +0100)
commit76306f4272e036e600254a98bc291df50cedd949
treec06e7c4a48fe4b5276747bc3ad03fa22918689e7
parentcc7964af8f997a20240d3ec5bf90c4fd20d3c48a
MIPS: introduce cpu_coherent_mask

Add a mask of CPUs which are currently known to be operating coherently.
This is setup initially to be all present CPUs, but in a subsequent
patch CPUs in a MIPS Coherent Processing System will be cleared in this
mask as they enter non-coherent idle states. This will be used in order
to determine when a CPU within a CPS system may need to be powered back
up, but may also be used in future to optimise away wakeups for cache
operations or TLB invalidations.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/include/asm/smp.h
arch/mips/kernel/smp.c