diff options
author | Dimitris Papastamos <dimitris.papastamos@arm.com> | 2017-11-30 14:53:53 +0000 |
---|---|---|
committer | Igal Liberman <igall@marvell.com> | 2018-01-22 14:52:15 +0200 |
commit | 59dc3f05d1dcbb3cedc7a0550fe7247b952a6505 (patch) | |
tree | ec2c0f7775e7fca16d37dd933e7e7325fe9c5e8a /fdts/fvp-base-gicv2-psci-aarch32.dtb | |
parent | 6d269a9b6c8ddb2d19d1087ec9ec20901af78278 (diff) |
Workaround for CVE-2017-5715 on Cortex A57 and A72
Invalidate the Branch Target Buffer (BTB) on entry to EL3 by disabling
and enabling the MMU. 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.
This workaround is enabled by default on the affected CPUs.
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
Change-Id: I10920c4980ebebf9be83d48186c5f98f9eed6534
[Resolve conflicts]
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/48848
Reviewed-by: Igal Liberman <igall@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Diffstat (limited to 'fdts/fvp-base-gicv2-psci-aarch32.dtb')
0 files changed, 0 insertions, 0 deletions