x86/bugs: Concentrate bug detection into a separate function
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 26 Apr 2018 02:04:16 +0000 (22:04 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 3 May 2018 11:55:46 +0000 (13:55 +0200)
commit4a28bfe3267b68e22c663ac26185aa16c9b879ef
treeeddb3f19b772850ade8292a6b198ba09fe5826cf
parent1aa7a5735a41418d8e01fa7c9565eb2657e2ea3f
x86/bugs: Concentrate bug detection into a separate function

Combine the various logic which goes through all those
x86_cpu_id matching structures in one function.

Suggested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/common.c