Skip to content

Commit 6279b9a

Browse files
AndreiCherechesu-NXPjgrall
authored andcommitted
xen/arm: Enable workaround for Cortex-A53 erratum #1530924
All versions of Cortex-A53 cores are affected by the speculative AT instruction erratum, as mentioned in the Cortex-A53 Revision r0 SDEN v21 documentation. Enabled ARM64_WORKAROUND_AT_SPECULATE for all versions of Cortex-A53 cores, to avoid corrupting the TLB if performing a speculative AT instruction during a guest context switch. Signed-off-by: Andrei Cherechesu <[email protected]> Acked-by: Julien Grall <[email protected]>
1 parent 4e1a333 commit 6279b9a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/misc/arm/silicon-errata.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ stable hypervisors.
4646
| ARM | Cortex-A53 | #824069 | ARM64_ERRATUM_824069 |
4747
| ARM | Cortex-A53 | #819472 | ARM64_ERRATUM_819472 |
4848
| ARM | Cortex-A53 | #843419 | ARM64_ERRATUM_843419 |
49+
| ARM | Cortex-A53 | #1530924 | N/A |
4950
| ARM | Cortex-A55 | #1530923 | N/A |
5051
| ARM | Cortex-A57 | #852523 | N/A |
5152
| ARM | Cortex-A57 | #832075 | ARM64_ERRATUM_832075 |

xen/arch/arm/cpuerrata.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,12 @@ static const struct arm_cpu_capabilities arm_errata[] = {
683683
.capability = ARM64_WORKAROUND_AT_SPECULATE,
684684
MIDR_ALL_VERSIONS(MIDR_CORTEX_A55),
685685
},
686+
{
687+
/* Cortex-A53 (All versions) */
688+
.desc = "ARM erratum 1530924",
689+
.capability = ARM64_WORKAROUND_AT_SPECULATE,
690+
MIDR_ALL_VERSIONS(MIDR_CORTEX_A53),
691+
},
686692
{},
687693
};
688694

0 commit comments

Comments
 (0)