mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-20 19:44:23 +00:00
chore(cpus): fix cve order in Cortex-A78
This patch rearranges CVE-2024-5660 apply order in Cortex-A78. Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com> Change-Id: If80a0f95f82dbf69100a2687b06db2373a9e9832
This commit is contained in:
parent
06f2cfb8ac
commit
67a4f6f96d
1 changed files with 7 additions and 7 deletions
|
@ -26,13 +26,6 @@
|
||||||
|
|
||||||
cpu_reset_prologue cortex_a78
|
cpu_reset_prologue cortex_a78
|
||||||
|
|
||||||
/* Disable hardware page aggregation.Enables mitigation for `CVE-2024-5660` */
|
|
||||||
workaround_reset_start cortex_a78, CVE(2024, 5660), WORKAROUND_CVE_2024_5660
|
|
||||||
sysreg_bit_set CORTEX_A78_CPUECTLR_EL1, BIT(46)
|
|
||||||
workaround_reset_end cortex_a78, CVE(2024, 5660)
|
|
||||||
|
|
||||||
check_erratum_ls cortex_a78, CVE(2024, 5660), CPU_REV(1, 2)
|
|
||||||
|
|
||||||
workaround_reset_start cortex_a78, ERRATUM(1688305), ERRATA_A78_1688305
|
workaround_reset_start cortex_a78, ERRATUM(1688305), ERRATA_A78_1688305
|
||||||
sysreg_bit_set CORTEX_A78_ACTLR2_EL1, CORTEX_A78_ACTLR2_EL1_BIT_1
|
sysreg_bit_set CORTEX_A78_ACTLR2_EL1, CORTEX_A78_ACTLR2_EL1_BIT_1
|
||||||
workaround_reset_end cortex_a78, ERRATUM(1688305)
|
workaround_reset_end cortex_a78, ERRATUM(1688305)
|
||||||
|
@ -176,6 +169,13 @@ workaround_reset_end cortex_a78, CVE(2022, 23960)
|
||||||
|
|
||||||
check_erratum_chosen cortex_a78, CVE(2022, 23960), WORKAROUND_CVE_2022_23960
|
check_erratum_chosen cortex_a78, CVE(2022, 23960), WORKAROUND_CVE_2022_23960
|
||||||
|
|
||||||
|
/* Disable hardware page aggregation.Enables mitigation for `CVE-2024-5660` */
|
||||||
|
workaround_reset_start cortex_a78, CVE(2024, 5660), WORKAROUND_CVE_2024_5660
|
||||||
|
sysreg_bit_set CORTEX_A78_CPUECTLR_EL1, BIT(46)
|
||||||
|
workaround_reset_end cortex_a78, CVE(2024, 5660)
|
||||||
|
|
||||||
|
check_erratum_ls cortex_a78, CVE(2024, 5660), CPU_REV(1, 2)
|
||||||
|
|
||||||
cpu_reset_func_start cortex_a78
|
cpu_reset_func_start cortex_a78
|
||||||
#if ENABLE_FEAT_AMU
|
#if ENABLE_FEAT_AMU
|
||||||
/* Make sure accesses from EL0/EL1 and EL2 are not trapped to EL3 */
|
/* Make sure accesses from EL0/EL1 and EL2 are not trapped to EL3 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue