diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-02-01 11:07:33 +0000 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2018-04-28 23:31:37 -0700 |
commit | e78bb38b883c42edf81766a1d557aed74458e08f (patch) | |
tree | 322563e36cd23c70e98ae53fa6f57bbe42097afe /drivers | |
parent | db28d5d9c87a31dd53716ab2bad7a1571212f7e8 (diff) |
arm: Add BTB invalidation on switch_mm for Cortex-A9, A12 and A17
** Not yet queued for inclusion in mainline **
In order to avoid aliasing attacks against the branch predictor,
some implementations require to invalidate the BTB when switching
from one user context to another.
For this, we reuse the existing implementation for Cortex-A8, and
apply it to A9, A12 and A17.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Change-Id: Ibbd99465a5dcf5eda6a29dd23a55f9b21b280e65
Reviewed-on: https://git-master.nvidia.com/r/1704129
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions