[PATCH] x86/CPU: Call verify_cpu() after having entered long mode too

2015-11-05 Thread Borislav Petkov
From: Borislav Petkov When we get loaded by a 64-bit bootloader, kernel entry point is startup_64 in head_64.S. We don't trust any and all bootloaders because some will fiddle with CPU configuration so we go ahead and massage each CPU into sanity again. For example, some dell BIOSes have this

[PATCH] x86/CPU: Call verify_cpu() after having entered long mode too

2015-11-05 Thread Borislav Petkov
From: Borislav Petkov When we get loaded by a 64-bit bootloader, kernel entry point is startup_64 in head_64.S. We don't trust any and all bootloaders because some will fiddle with CPU configuration so we go ahead and massage each CPU into sanity again. For example, some dell