projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c399f6
)
MIPS: smp-cps: set a coherent default CCA
author
Paul Burton
<paul.burton@imgtec.com>
Mon, 14 Apr 2014 14:58:45 +0000
(15:58 +0100)
committer
Paul Burton
<paul.burton@imgtec.com>
Wed, 28 May 2014 15:20:33 +0000
(16:20 +0100)
This patch sets a default CCA suited for use with multi-core SMP on all
current MIPS CPS based systems. It may still be overriden by the cca=
argument on the kernel command line.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/kernel/smp-cps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/smp-cps.c
b/arch/mips/kernel/smp-cps.c
index e2f78b34ff93550c6016dd17ceac66eb9eeaad81..6b96fedf0407d675428e7ca742dadc5500a95090 100644
(file)
--- a/
arch/mips/kernel/smp-cps.c
+++ b/
arch/mips/kernel/smp-cps.c
@@
-76,6
+76,9
@@
static void __init cps_smp_setup(void)
__cpu_logical_map[v] = v;
}
+ /* Set a coherent default CCA (CWB) */
+ change_c0_config(CONF_CM_CMASK, 0x5);
+
/* Core 0 is powered up (we're running on it) */
bitmap_set(core_power, 0, 1);