]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Add cpu_panic_kernel helper
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 12 Apr 2016 14:46:00 +0000 (15:46 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 15 Apr 2016 17:06:06 +0000 (18:06 +0100)
commit56eeec7e50c729d3d5e2918a98db446a5939799e
tree33d37286f810bbc28a35792b1562b2264300122f
parent5c96175bd28842284b769c3e97350b49925e6fdf
arm64: Add cpu_panic_kernel helper

During the activation of a secondary CPU, we could report serious
configuration issues and hence request to crash the kernel. We do
this for CPU ASID bit check now. We will need it also for handling
mismatched exception levels for the CPUs with VHE. Hence, add a
helper to do the same for reusability.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/smp.h
arch/arm64/mm/context.c