mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
chore(cpus): fix cve order in Cortex-A78_AE
This patch rearranges CVE-2024-5660 apply order in Cortex-A78_AE. Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com> Change-Id: Idfb076b798a840847c00066bd062ee919369272f
This commit is contained in:
parent
67a4f6f96d
commit
85526d4b84
1 changed files with 7 additions and 7 deletions
|
@ -24,13 +24,6 @@
|
|||
|
||||
cpu_reset_prologue cortex_a78_ae
|
||||
|
||||
/* Disable hardware page aggregation. Enables mitigation for `CVE-2024-5660` */
|
||||
workaround_reset_start cortex_a78_ae, CVE(2024, 5660), WORKAROUND_CVE_2024_5660
|
||||
sysreg_bit_set CORTEX_A78_AE_CPUECTLR_EL1, BIT(46)
|
||||
workaround_reset_end cortex_a78_ae, CVE(2024, 5660)
|
||||
|
||||
check_erratum_ls cortex_a78_ae, CVE(2024, 5660), CPU_REV(0, 3)
|
||||
|
||||
workaround_reset_start cortex_a78_ae, ERRATUM(1941500), ERRATA_A78_AE_1941500
|
||||
sysreg_bit_set CORTEX_A78_AE_CPUECTLR_EL1, CORTEX_A78_AE_CPUECTLR_EL1_BIT_8
|
||||
workaround_reset_end cortex_a78_ae, ERRATUM(1941500)
|
||||
|
@ -105,6 +98,13 @@ workaround_reset_end cortex_a78_ae, CVE(2022, 23960)
|
|||
|
||||
check_erratum_chosen cortex_a78_ae, CVE(2022, 23960), WORKAROUND_CVE_2022_23960
|
||||
|
||||
/* Disable hardware page aggregation. Enables mitigation for `CVE-2024-5660` */
|
||||
workaround_reset_start cortex_a78_ae, CVE(2024, 5660), WORKAROUND_CVE_2024_5660
|
||||
sysreg_bit_set CORTEX_A78_AE_CPUECTLR_EL1, BIT(46)
|
||||
workaround_reset_end cortex_a78_ae, CVE(2024, 5660)
|
||||
|
||||
check_erratum_ls cortex_a78_ae, CVE(2024, 5660), CPU_REV(0, 3)
|
||||
|
||||
cpu_reset_func_start cortex_a78_ae
|
||||
#if ENABLE_FEAT_AMU
|
||||
/* Make sure accesses from EL0/EL1 and EL2 are not trapped to EL3 */
|
||||
|
|
Loading…
Add table
Reference in a new issue