x86/apic: Convert the TSC deadline timer matching to steppings macro
authorBorislav Petkov <bp@suse.de>
Tue, 5 May 2020 17:27:16 +0000 (19:27 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 7 May 2020 11:50:32 +0000 (13:50 +0200)
commit66abf2388331b800f290e854cca3ae71de7977fe
treeb0e527fe2a81164df8d6b4bf9275efe7d3869681
parentd8422f6bb052b44db923a28afd8ceaef63d38d26
x86/apic: Convert the TSC deadline timer matching to steppings macro

... and get rid of the function pointers which would spit out the
microcode revision based on the CPU stepping.

Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Mark Gross <mgross.linux.intel.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200506071516.25445-4-bp@alien8.de
arch/x86/kernel/apic/apic.c