arm-trusted-firmware/lib/cpus/aarch64
Varun Wadekar b0301467bc Workaround for CVE-2017-5715 on NVIDIA Denver CPUs
Flush the indirect branch predictor and RSB on entry to EL3 by issuing
a newly added instruction for Denver CPUs. Support for this operation
can be determined by comparing bits 19:16 of ID_AFR0_EL1 with 0b0001.

To achieve this without performing any branch instruction, a per-cpu
vbar is installed which executes the workaround and then branches off
to the corresponding vector entry in the main vector table. A side
effect of this change is that the main vbar is configured before any
reset handling. This is to allow the per-cpu reset function to override
the vbar setting.

Change-Id: Ief493cd85935bab3cfee0397e856db5101bc8011
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2018-05-15 15:53:50 -07:00
..
aem_generic.S Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
cortex_a35.S Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
cortex_a53.S Check presence of fix for errata 835769 in Cortex-A53 2018-04-12 12:12:56 +01:00
cortex_a55.S Fix order of #includes 2017-07-12 14:45:31 +01:00
cortex_a57.S Fixup `SMCCC_ARCH_FEATURES` semantics 2018-03-14 11:19:53 +00:00
cortex_a72.S Fixup `SMCCC_ARCH_FEATURES` semantics 2018-03-14 11:19:53 +00:00
cortex_a73.S Fixup `SMCCC_ARCH_FEATURES` semantics 2018-03-14 11:19:53 +00:00
cortex_a75.S Fixup `SMCCC_ARCH_FEATURES` semantics 2018-03-14 11:19:53 +00:00
cortex_a75_pubsub.c MISRA fixes for Cortex A75 AMU implementation 2018-02-27 13:28:41 +00:00
cpu_helpers.S Check presence of fix for errata 843419 in Cortex-A53 2018-04-12 12:12:56 +01:00
cpuamu.c MISRA fixes for Cortex A75 AMU implementation 2018-02-27 13:28:41 +00:00
cpuamu_helpers.S Factor out CPU AMU helpers 2018-02-27 13:28:41 +00:00
denver.S Workaround for CVE-2017-5715 on NVIDIA Denver CPUs 2018-05-15 15:53:50 -07:00
workaround_cve_2017_5715_bpiall.S Optimize SMCCC_ARCH_WORKAROUND_1 on Cortex A57/A72/A73 and A75 2018-01-29 09:58:57 +00:00
workaround_cve_2017_5715_mmu.S Optimize SMCCC_ARCH_WORKAROUND_1 on Cortex A57/A72/A73 and A75 2018-01-29 09:58:57 +00:00