summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorSrinivas Ramana <sramana@codeaurora.org>2018-02-06 21:10:15 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-02-08 01:50:16 -0800
commit21393ff3eaf2003d0417f1c89ef8fadb315aabe2 (patch)
tree7f3642c55c8a226783a7487bd93161260f5b3a20 /lib/mpi/mpi-inline.h
parentf62d97e9b43477194b4476aaa11cb1538e69057e (diff)
arm64: Add BTAC/LinkStack sanitizations for Kryo cores
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 to issue 16 nested BL instructions on process context switch 'cpu_do_switch_mm()' where ASID changes. - Apply psci based branch predictor invalidation. use the kryo core detection routine (based on MIDR) from the commit bb48711800e6d ("arm64: cpu_errata: Add Kryo to Falkor 1003 errata") by Stephen Boyd <sboyd@codeaurora.org>. Change-Id: I81e8e72e7fa219f12dfe8ec39836eb8eb3c4c7b0 Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions