arm64: enable processor debug state for secondary cpus
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Fri, 21 Feb 2014 05:13:49 +0000 (05:13 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 26 Feb 2014 11:16:27 +0000 (11:16 +0000)
commitd8ed442a009ecfe155b57d58f231db3d6084633d
tree44cc671e1c1893218bb1823ab7c13b8f4bbf7379
parent9529247db9ecfc5a723e17093614e7437ab0d5bd
arm64: enable processor debug state for secondary cpus

processor debug state PSTATE.D is unmasked in smp call
clear_os_lock for secondary cpus. So debug state is still
masked in normal kernel context.  With this patch, unmask
debug state on secondary boot for the cpus in normal kernel
context. Now kgdb tests passed with multicore.

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/debug-monitors.c
arch/arm64/kernel/smp.c