• Will Deacon's avatar
    arm64: Rewrite Spectre-v2 mitigation code · d4647f0a
    Will Deacon authored
    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>
    d4647f0a
hypercalls.c 1.5 KB