Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2122694 authored by Shanker Donthineni's avatar Shanker Donthineni Committed by Gerrit - the friendly Code Review server
Browse files

arm64: Implement branch predictor hardening for Falkor



Falkor is susceptible to branch predictor aliasing and can
theoretically be attacked by malicious code. This patch
implements a mitigation for these attacks, preventing any
malicious entries from affecting other victim contexts.

Change-Id: I535d423c2cefaf93627267b867bf0846e502d4c1
Signed-off-by: default avatarShanker Donthineni <shankerd@codeaurora.org>
[will: fix label name when !CONFIG_KVM and remove references to MIDR_FALKOR]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
[sramana@codeaurora.org: Use only the link stack sanitization routines,
and leave Falkor related BP hardening code]
Signed-off-by: default avatarSrinivas Ramana <sramana@codeaurora.org>
parent 9690396c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment