• Vivek Goyal's avatar
    [PATCH] x86-64: Move cpu verification code to common file · a4831e08
    Vivek Goyal authored
    o This patch moves the code to verify long mode and SSE to a common file.
      This code is now shared by trampoline.S, wakeup.S, boot/setup.S and
      boot/compressed/head.S
    
    o So far we used to do very limited check in trampoline.S, wakeup.S and
      in 32bit entry point. Now all the entry paths are forced to do the
      exhaustive check, including SSE because verify_cpu is shared.
    
    o I am keeping this patch as last in the x86 relocatable series because
      previous patches have got quite some amount of testing done and don't want
      to distrub that. So that if there is problem introduced by this patch, at
      least it can be easily isolated.
    Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
    Signed-off-by: default avatarVivek Goyal <vgoyal@in.ibm.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    a4831e08
verify_cpu.S 3 KB