• Will Deacon's avatar
    arm64: Remove Spectre-related CONFIG_* options · 6e5f0927
    Will Deacon authored
    The spectre mitigations are too configurable for their own good, leading
    to confusing logic trying to figure out when we should mitigate and when
    we shouldn't. Although the plethora of command-line options need to stick
    around for backwards compatibility, the default-on CONFIG options that
    depend on EXPERT can be dropped, as the mitigations only do anything if
    the system is vulnerable, a mitigation is available and the command-line
    hasn't disabled it.
    
    Remove CONFIG_HARDEN_BRANCH_PREDICTOR and CONFIG_ARM64_SSBD in favour of
    enabling this code unconditionally.
    Signed-off-by: default avatarWill Deacon <will@kernel.org>
    6e5f0927
Makefile 2.59 KB