File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ stable kernels.
55
55
+----------------+-----------------+-----------------+-----------------------------+
56
56
| Ampere | AmpereOne | AC03_CPU_38 | AMPERE_ERRATUM_AC03_CPU_38 |
57
57
+----------------+-----------------+-----------------+-----------------------------+
58
+ | Ampere | AmpereOne AC04 | AC04_CPU_10 | AMPERE_ERRATUM_AC03_CPU_38 |
59
+ +----------------+-----------------+-----------------+-----------------------------+
58
60
+----------------+-----------------+-----------------+-----------------------------+
59
61
| ARM | Cortex-A510 | #2457168 | ARM64_ERRATUM_2457168 |
60
62
+----------------+-----------------+-----------------+-----------------------------+
Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ config AMPERE_ERRATUM_AC03_CPU_38
423
423
default y
424
424
help
425
425
This option adds an alternative code sequence to work around Ampere
426
- erratum AC03_CPU_38 on AmpereOne.
426
+ errata AC03_CPU_38 and AC04_CPU_10 on AmpereOne.
427
427
428
428
The affected design reports FEAT_HAFDBS as not implemented in
429
429
ID_AA64MMFR1_EL1.HAFDBS, but (V)TCR_ELx.{HA,HD} are not RES0
Original file line number Diff line number Diff line change 143
143
#define APPLE_CPU_PART_M2_AVALANCHE_MAX 0x039
144
144
145
145
#define AMPERE_CPU_PART_AMPERE1 0xAC3
146
+ #define AMPERE_CPU_PART_AMPERE1A 0xAC4
146
147
147
148
#define MICROSOFT_CPU_PART_AZURE_COBALT_100 0xD49 /* Based on r0p0 of ARM Neoverse N2 */
148
149
212
213
#define MIDR_APPLE_M2_BLIZZARD_MAX MIDR_CPU_MODEL(ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M2_BLIZZARD_MAX)
213
214
#define MIDR_APPLE_M2_AVALANCHE_MAX MIDR_CPU_MODEL(ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M2_AVALANCHE_MAX)
214
215
#define MIDR_AMPERE1 MIDR_CPU_MODEL(ARM_CPU_IMP_AMPERE, AMPERE_CPU_PART_AMPERE1)
216
+ #define MIDR_AMPERE1A MIDR_CPU_MODEL(ARM_CPU_IMP_AMPERE, AMPERE_CPU_PART_AMPERE1A)
215
217
#define MIDR_MICROSOFT_AZURE_COBALT_100 MIDR_CPU_MODEL(ARM_CPU_IMP_MICROSOFT, MICROSOFT_CPU_PART_AZURE_COBALT_100)
216
218
217
219
/* Fujitsu Erratum 010001 affects A64FX 1.0 and 1.1, (v0r0 and v1r0) */
Original file line number Diff line number Diff line change @@ -456,6 +456,14 @@ static const struct midr_range erratum_spec_ssbs_list[] = {
456
456
};
457
457
#endif
458
458
459
+ #ifdef CONFIG_AMPERE_ERRATUM_AC03_CPU_38
460
+ static const struct midr_range erratum_ac03_cpu_38_list [] = {
461
+ MIDR_ALL_VERSIONS (MIDR_AMPERE1 ),
462
+ MIDR_ALL_VERSIONS (MIDR_AMPERE1A ),
463
+ {},
464
+ };
465
+ #endif
466
+
459
467
const struct arm64_cpu_capabilities arm64_errata [] = {
460
468
#ifdef CONFIG_ARM64_WORKAROUND_CLEAN_CACHE
461
469
{
@@ -772,7 +780,7 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
772
780
{
773
781
.desc = "AmpereOne erratum AC03_CPU_38" ,
774
782
.capability = ARM64_WORKAROUND_AMPERE_AC03_CPU_38 ,
775
- ERRATA_MIDR_ALL_VERSIONS ( MIDR_AMPERE1 ),
783
+ ERRATA_MIDR_RANGE_LIST ( erratum_ac03_cpu_38_list ),
776
784
},
777
785
#endif
778
786
{
You can’t perform that action at this time.
0 commit comments