arm64: Add a helper for parking CPUs in a loop
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 23 Feb 2016 10:31:39 +0000 (10:31 +0000)
committerAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 14 Jun 2017 01:51:43 +0000 (10:51 +0900)
commit45a8334205e2c8c18866f41469472a54c30a8085
tree7bf6e951497942c6ae383a707c2580d8f451aab5
parent4cef0485a135ca8fc51c339dc8ea318d37dc6d05
arm64: Add a helper for parking CPUs in a loop

Adds a routine which can be used to park CPUs (spinning in kernel)
when they can't be killed.

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