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

Commit ca86a1da authored by Neeraj Upadhyay's avatar Neeraj Upadhyay Committed by Gerrit - the friendly Code Review server
Browse files

arm64: Add BTAC/LinkStack sanitizations for Kryo



Kryo cores are exposed to two vulnerabilities due to subroutine
return (called LINK-STACK) and branch target predictors.
These two issues can be mitigated through software workarounds.

Kernel:
 - Apply LINK-STACK mitigation which is issue 16 nested BL instructions
   on process context switch 'cpu_do_switch_mm()' where ASID changes.
 - Apply psci based branch predictor invalidation.

Change-Id: I983a12dabcd45e3ec757732a44fc567c12228d8b
Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
parent a9111e1c
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