• Michael Ellerman's avatar
    powerpc: Add security feature flags for Spectre/Meltdown · de15b475
    Michael Ellerman authored
    CVE-2018-3639 (powerpc)
    
    This commit adds security feature flags to reflect the settings we
    receive from firmware regarding Spectre/Meltdown mitigations.
    
    The feature names reflect the names we are given by firmware on bare
    metal machines. See the hostboot source for details.
    
    Arguably these could be firmware features, but that then requires them
    to be read early in boot so they're available prior to asm feature
    patching, but we don't actually want to use them for patching. We may
    also want to dynamically update them in future, which would be
    incompatible with the way firmware features work (at the moment at
    least). So for now just make them separate flags.
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    (cherry picked from 9a868f63)
    [mauricio: backport: Makefile: update context lines]
    Signed-off-by: default avatarMauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
    Signed-off-by: default avatarJuerg Haefliger <juergh@canonical.com>
    de15b475
Makefile 5.45 KB