Skip to content
Commit d4647f0a authored by Will Deacon's avatar Will Deacon
Browse files

arm64: Rewrite Spectre-v2 mitigation code



The Spectre-v2 mitigation code is pretty unwieldy and hard to maintain.
This is largely due to it being written hastily, without much clue as to
how things would pan out, and also because it ends up mixing policy and
state in such a way that it is very difficult to figure out what's going
on.

Rewrite the Spectre-v2 mitigation so that it clearly separates state from
policy and follows a more structured approach to handling the mitigation.

Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 455697ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment