Merge "arch: arm64: Add midr values for kryo2xx big cores"

This commit is contained in:
Linux Build Service Account 2018-02-08 19:03:41 -08:00 committed by Gerrit - the friendly Code Review server
commit e89a71fb8b
2 changed files with 7 additions and 0 deletions

View file

@ -99,6 +99,8 @@
#define MIDR_THUNDERX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX)
#define MIDR_KRYO2XX_SILVER \
MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, ARM_CPU_PART_KRYO2XX_SILVER)
#define MIDR_KRYO2XX_GOLD \
MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, ARM_CPU_PART_KRYO2XX_GOLD)
#ifndef __ASSEMBLY__

View file

@ -225,6 +225,11 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
MIDR_ALL_VERSIONS(MIDR_CORTEX_A75),
.enable = enable_psci_bp_hardening,
},
{
.capability = ARM64_HARDEN_BRANCH_PREDICTOR,
MIDR_ALL_VERSIONS(MIDR_KRYO2XX_GOLD),
.enable = enable_psci_bp_hardening,
},
#endif
{
}