diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-10-27 22:45:32 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-11-26 12:58:56 +0100 |
commit | 8539d3f06710a9e91b9968fa736549d7c6b44206 (patch) | |
tree | 85ca153b73501c4d0ab36f0a616232b5952c35af /arch/x86/pci/i386.c | |
parent | x86/boot/compressed/64: Use TEST %reg,%reg instead of CMP $0,%reg (diff) | |
download | linux-8539d3f06710a9e91b9968fa736549d7c6b44206.tar.xz linux-8539d3f06710a9e91b9968fa736549d7c6b44206.zip |
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
Diffstat (limited to 'arch/x86/pci/i386.c')
0 files changed, 0 insertions, 0 deletions