summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-02-03 03:15:32 +0000
committerGreg Kroah-Hartman <gregkh@google.com>2018-02-05 08:58:34 -0800
commit5857ebce0d057ae81eb704010652d5a68add21d4 (patch)
treedccc08ab39ea6588ceaeb4ba065a0e26695b43a0 /tools/perf/scripts/python
parente71f7c351f4f3acf0be9173ec3e7016f87b7880e (diff)
UPSTREAM: 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> (cherry picked from commit 87a70bcdb41008decfcf7c217e26b0bcd7f52642) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions