Browse Source

fix(cpus): revert erroneous use of override_vector_table macro in Cortex-A73

override_vector_table does adr, followed by an msr ops.
Accidentally was used here for for adr and mrs op.

Signed-off-by: Sona Mathew <SonaRebecca.Mathew@arm.com>
Change-Id: I2d3fda12acd097acabbde9b7dcc376d08419e223
pull/2000/head
Sona Mathew 1 year ago
parent
commit
9a0c81257f
  1. 4
      lib/cpus/aarch64/cortex_a73.S

4
lib/cpus/aarch64/cortex_a73.S

@ -76,7 +76,9 @@ check_erratum_chosen cortex_a73, CVE(2018, 3639), WORKAROUND_CVE_2018_3639
workaround_reset_start cortex_a73, CVE(2022, 23960), WORKAROUND_CVE_2022_23960
#if IMAGE_BL31
/* Skip installing vector table again for CVE_2022_23960 */
override_vector_table wa_cve_2017_5715_bpiall_vbar
adr x0, wa_cve_2017_5715_bpiall_vbar
mrs x1, vbar_el3
cmp x0, x1
b.eq 1f
msr vbar_el3, x0

Loading…
Cancel
Save