]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/speculation: Consolidate CPU whitelists
authorThomas Gleixner <tglx@linutronix.de>
Wed, 27 Feb 2019 09:10:23 +0000 (10:10 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 22 May 2019 22:15:20 +0000 (23:15 +0100)
commit120680667e473894ff3c5d608c6e040115208363
tree496470c7345007a62de530362a8efd9b3597fdbd
parent6f5a4a72e5a03d636b0b59f7aae30139da6a8658
x86/speculation: Consolidate CPU whitelists

commit 36ad35131adacc29b328b9c8b6277a8bf0d6fd5d upstream.

The CPU vulnerability whitelists have some overlap and there are more
whitelists coming along.

Use the driver_data field in the x86_cpu_id struct to denote the
whitelisted vulnerabilities and combine all whitelists into one.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Jon Masters <jcm@redhat.com>
Tested-by: Jon Masters <jcm@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/x86/kernel/cpu/common.c