OSDN Git Service

arm64: Add KRYO{3,4}XX CPU cores to spectre-v2 safe list
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Thu, 16 Jan 2020 20:03:53 +0000 (01:33 +0530)
committerWill Deacon <will@kernel.org>
Fri, 17 Jan 2020 12:46:41 +0000 (12:46 +0000)
commit83b0c36b8a136042aa9209fc9ca2fab31d5fbe7c
treeee6678f335a0537174efb75ac0765cea534a9541
parentf88f42f853a80d9b087f0c2035d6fbab504ea54c
arm64: Add KRYO{3,4}XX CPU cores to spectre-v2 safe list

The "silver" KRYO3XX and KRYO4XX CPU cores are not affected by Spectre
variant 2. Add them to spectre_v2 safe list to correct the spurious
ARM_SMCCC_ARCH_WORKAROUND_1 warning and vulnerability status reported
under sysfs.

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Tested-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
[will: tweaked commit message to remove stale mention of "gold" cores]
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cputype.h
arch/arm64/kernel/cpu_errata.c