Skip to content

Commit 9b23d95

Browse files
Sai Prakash Ranjanwilldeacon
authored andcommitted
arm64: Add KRYO4XX silver CPU cores to erratum list 1530923 and 1024718
KRYO4XX silver/LITTLE CPU cores with revision r1p0 are affected by erratum 1530923 and 1024718, so add them to the respective list. The variant and revision bits are implementation defined and are different from the their Cortex CPU counterparts on which they are based on, i.e., r1p0 is equivalent to rdpe. Signed-off-by: Sai Prakash Ranjan <[email protected]> Link: https://lore.kernel.org/r/7013e8a3f857ca7e82863cc9e34a614293d7f80c.1593539394.git.saiprakash.ranjan@codeaurora.org Signed-off-by: Will Deacon <[email protected]>
1 parent a9e821b commit 9b23d95

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Documentation/arm64/silicon-errata.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ stable kernels.
151151
+----------------+-----------------+-----------------+-----------------------------+
152152
| Qualcomm Tech. | Kryo4xx Gold | N/A | ARM64_ERRATUM_1418040 |
153153
+----------------+-----------------+-----------------+-----------------------------+
154+
| Qualcomm Tech. | Kryo4xx Silver | N/A | ARM64_ERRATUM_1530923 |
155+
+----------------+-----------------+-----------------+-----------------------------+
156+
| Qualcomm Tech. | Kryo4xx Silver | N/A | ARM64_ERRATUM_1024718 |
157+
+----------------+-----------------+-----------------+-----------------------------+
154158
+----------------+-----------------+-----------------+-----------------------------+
155159
| Fujitsu | A64FX | E#010001 | FUJITSU_ERRATUM_010001 |
156160
+----------------+-----------------+-----------------+-----------------------------+

arch/arm64/kernel/cpu_errata.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static const struct midr_range erratum_speculative_at_list[] = {
769769
#ifdef CONFIG_ARM64_ERRATUM_1530923
770770
/* Cortex A55 r0p0 to r2p0 */
771771
MIDR_RANGE(MIDR_CORTEX_A55, 0, 0, 2, 0),
772+
/* Kryo4xx Silver (rdpe => r1p0) */
773+
MIDR_REV(MIDR_QCOM_KRYO_4XX_SILVER, 0xd, 0xe),
772774
#endif
773775
{},
774776
};

arch/arm64/kernel/cpufeature.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,8 @@ static bool cpu_has_broken_dbm(void)
14081408
static const struct midr_range cpus[] = {
14091409
#ifdef CONFIG_ARM64_ERRATUM_1024718
14101410
MIDR_RANGE(MIDR_CORTEX_A55, 0, 0, 1, 0), // A55 r0p0 -r1p0
1411+
/* Kryo4xx Silver (rdpe => r1p0) */
1412+
MIDR_REV(MIDR_QCOM_KRYO_4XX_SILVER, 0xd, 0xe),
14111413
#endif
14121414
{},
14131415
};

0 commit comments

Comments
 (0)