• Suzuki K Poulose's avatar
    arm64: Add cpu_panic_kernel helper · 17eebd1a
    Suzuki K Poulose authored
    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: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    17eebd1a
context.c 6.6 KB