diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2017-12-27 10:38:55 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-21 15:32:23 +0000 |
commit | 62d1c95d577ce4d40189e4c01025b616917e3c65 (patch) | |
tree | 0f33dd031408bad55c4422f33ef7edf498cfd445 /arch/arm/kernel/smp.c | |
parent | c7780ab56c091a9ba95a3278e6e1d9c73afb5052 (diff) | |
download | linux-stable-62d1c95d577ce4d40189e4c01025b616917e3c65.tar.gz linux-stable-62d1c95d577ce4d40189e4c01025b616917e3c65.tar.bz2 linux-stable-62d1c95d577ce4d40189e4c01025b616917e3c65.zip |
ARM: 8739/1: NOMMU: Setup VBAR/Hivecs for secondaries cores
With switch to dynamic exception base address setting, VBAR/Hivecs
set only for boot CPU, but secondaries stay unaware of that. That
might lead to weird effects when trying up to bring up secondaries.
Fixes: ad475117d201 ("ARM: 8649/2: nommu: remove Hivecs configuration is asm")
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Acked-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/kernel/smp.c')
-rw-r--r-- | arch/arm/kernel/smp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index b4fbf00ee4ad..2da087926ebe 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -379,6 +379,9 @@ asmlinkage void secondary_start_kernel(void) cpu_init(); +#ifndef CONFIG_MMU + setup_vectors_base(); +#endif pr_debug("CPU%u: Booted secondary processor\n", cpu); preempt_disable(); |