x86/cpu: Use INVPCID mnemonic in invpcid.h
authorUros Bizjak <ubizjak@gmail.com>
Fri, 8 May 2020 09:22:47 +0000 (11:22 +0200)
committerBorislav Petkov <bp@suse.de>
Tue, 12 May 2020 14:05:30 +0000 (16:05 +0200)
commit7e32a9dac9926241d56851e1517c9391d39fb48e
tree688bba360ea401a90685c7bcb0d786540577576c
parente2abfc0448a46d8a137505aa180caf14070ec535
x86/cpu: Use INVPCID mnemonic in invpcid.h

The current minimum required version of binutils is 2.23, which supports
the INVPCID instruction mnemonic. Replace the byte-wise specification of
INVPCID with the proper mnemonic.

 [ bp: Add symbolic operand names for increased readability and flip
   their order like the insn expects them for the AT&T syntax. ]

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/20200508092247.132147-1-ubizjak@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/include/asm/invpcid.h