Commit bd5a76ac authored by Dimitris Papastamos's avatar Dimitris Papastamos
Browse files

cpulib: Add ISBs or comment why they are unneeded



Change-Id: I18a41bb9fedda635c3c002a7f112578808410ef6
Signed-off-by: default avatarDimitris Papastamos <dimitris.papastamos@arm.com>
parent ac0197d9
...@@ -404,6 +404,7 @@ func cortex_a57_reset_func ...@@ -404,6 +404,7 @@ func cortex_a57_reset_func
#if IMAGE_BL31 && WORKAROUND_CVE_2017_5715 #if IMAGE_BL31 && WORKAROUND_CVE_2017_5715
adr x0, wa_cve_2017_5715_mmu_vbar adr x0, wa_cve_2017_5715_mmu_vbar
msr vbar_el3, x0 msr vbar_el3, x0
/* isb will be performed before returning from this function */
#endif #endif
#if WORKAROUND_CVE_2018_3639 #if WORKAROUND_CVE_2018_3639
......
...@@ -137,6 +137,7 @@ func cortex_a72_reset_func ...@@ -137,6 +137,7 @@ func cortex_a72_reset_func
cpu_check_csv2 x0, 1f cpu_check_csv2 x0, 1f
adr x0, wa_cve_2017_5715_mmu_vbar adr x0, wa_cve_2017_5715_mmu_vbar
msr vbar_el3, x0 msr vbar_el3, x0
/* isb will be performed before returning from this function */
1: 1:
#endif #endif
......
...@@ -40,6 +40,7 @@ func cortex_a73_reset_func ...@@ -40,6 +40,7 @@ func cortex_a73_reset_func
cpu_check_csv2 x0, 1f cpu_check_csv2 x0, 1f
adr x0, wa_cve_2017_5715_bpiall_vbar adr x0, wa_cve_2017_5715_bpiall_vbar
msr vbar_el3, x0 msr vbar_el3, x0
/* isb will be performed before returning from this function */
1: 1:
#endif #endif
......
...@@ -15,6 +15,7 @@ func cortex_a75_reset_func ...@@ -15,6 +15,7 @@ func cortex_a75_reset_func
cpu_check_csv2 x0, 1f cpu_check_csv2 x0, 1f
adr x0, wa_cve_2017_5715_bpiall_vbar adr x0, wa_cve_2017_5715_bpiall_vbar
msr vbar_el3, x0 msr vbar_el3, x0
isb
1: 1:
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment