x86/asm: Drop unused RDPID macro
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 27 Oct 2020 21:45:32 +0000 (14:45 -0700)
committerBorislav Petkov <bp@suse.de>
Thu, 26 Nov 2020 11:58:56 +0000 (12:58 +0100)
commit8539d3f06710a9e91b9968fa736549d7c6b44206
tree85ca153b73501c4d0ab36f0a616232b5952c35af
parentab09b58e4bdfdbcec425e54ebeaf6e209a96318f
x86/asm: Drop unused RDPID macro

Drop the GAS-compatible RDPID macro. RDPID is unsafe in the kernel
because KVM loads guest's TSC_AUX on VM-entry and may not restore the
host's value until the CPU returns to userspace.

See

  6a3ea3e68b8a ("x86/entry/64: Do not use RDPID in paranoid entry to accomodate KVM")

for details.

It can always be resurrected from git history, if needed.

 [ bp: Massage commit message. ]

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201027214532.1792-1-sean.j.christopherson@intel.com
arch/x86/include/asm/inst.h