Misc updates:

 - Extend the x86 family/model macros with a steppings dimension,
   because x86 life isn't complex enough and Intel uses steppings to
   differentiate between different CPUs. :-/

 - Convert the TSC deadline timer quirks to the steppings macros.

 - Clean up asm mnemonics.

 - Fix the handling of an AMD erratum, or in other words, fix a kernel erratum.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
x86/cpu: Use RDRAND and RDSEED mnemonics in archrandom.h

Current minimum required version of binutils is 2.23,
which supports RDRAND and RDSEED instruction mnemonics.

Replace the byte-wise specification of RDRAND and
RDSEED with these proper mnemonics.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200508105817.207887-1-ubizjak@gmail.com
1 file changed