summaryrefslogtreecommitdiff
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-02-03 03:15:32 +0000
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 14:01:50 +0200
commit87a70bcdb41008decfcf7c217e26b0bcd7f52642 (patch)
treeaf92be6eadac4c5363881d68ee36954ded88b2ad /arch/mips/Kconfig
parentf12401d7219f5a1e361ded834016e5777a10262b (diff)
downloadlwn-87a70bcdb41008decfcf7c217e26b0bcd7f52642.tar.gz
lwn-87a70bcdb41008decfcf7c217e26b0bcd7f52642.zip
MIPS: smp-cps: Skip core setup if coherent
In preparation for supporting MIPSr6 multithreading (ie. VPs) which will begin execution from the core reset vector, skip core level setup if the core is already coherent. This is never the case when a core is first started, since boot_core explicitly clears the cores GCR_Cx_COH_EN register, and always the case when secondary VPs start since the first VP to start will have enabled coherence after initialising the core & its caches. One notable side effect of this patch is that eva_init gets called slightly earlier, prior to mips_cps_core_init rather than after it. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/12338/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
0 files changed, 0 insertions, 0 deletions