]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Run enable method for errata work arounds on late CPUs
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 17 Jan 2018 17:42:20 +0000 (17:42 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 23 Jan 2018 16:34:37 +0000 (16:34 +0000)
commit53376d2be00195f347792e4f924324156f468c06
tree806a1b1e26070f2fc875b6fdabeb015801cc9160
parent6cf79851d820d4f8edeb4cce2408509f5b3de6cb
arm64: Run enable method for errata work arounds on late CPUs

When a CPU is brought up after we have finalised the system
wide capabilities (i.e, features and errata), we make sure the
new CPU doesn't need a new errata work around which has not been
detected already. However we don't run enable() method on the new
CPU for the errata work arounds already detected. This could
cause the new CPU running without potential work arounds.
It is upto the "enable()" method to decide if this CPU should
do something about the errata.

Fixes: commit 67385088672296a7b ("arm64: Verify CPU errata work arounds on hotplugged CPU")
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Dave Martin <dave.martin@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpu_errata.c