x86/head/64: Don't call verify_cpu() on starting APs
authorJoerg Roedel <jroedel@suse.de>
Mon, 7 Sep 2020 13:16:09 +0000 (15:16 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 9 Sep 2020 09:33:20 +0000 (11:33 +0200)
commit3ecacdbd23956a549d93023f86adc87b4a9d6520
treeb8b381ffd9cadf91cd0d4875cb53ec81c94a61ea
parent520d030852b4c9babfce9a79d8b5320b6b5545e6
x86/head/64: Don't call verify_cpu() on starting APs

The APs are not ready to handle exceptions when verify_cpu() is called
in secondary_startup_64().

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20200907131613.12703-69-joro@8bytes.org
arch/x86/include/asm/realmode.h
arch/x86/kernel/head_64.S
arch/x86/realmode/init.c