]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpu/AMD: Remove now unused definition of MFENCE_RDTSC feature
authorElena Reshetova <elena.reshetova@intel.com>
Thu, 4 Jan 2018 07:43:33 +0000 (23:43 -0800)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Fri, 12 Jan 2018 18:19:59 +0000 (10:19 -0800)
commit4b6bd1eda6a0bff919a31e12d8c24f1641bd8ef9
tree2d28184fbe3472166a2a19ef9a785610a47ec58e
parent911bb9204fe25ba5fd33ffee33b966cdde2f59c7
x86/cpu/AMD: Remove now unused definition of MFENCE_RDTSC feature

With the switch to using LFENCE_RDTSC on AMD platforms there is no longer
a need for the MFENCE_RDTSC feature.  Remove its usage and definition.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Orabug: 27340445
CVE: CVE-2017-5753

Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Conflicts:
Patch refers to arch/x86/include/asm/cpufeatures.h
Code base has   arch/x86/include/asm/cpufeature.h
Patch references X86_FEATURE_MFENCE_RDTSC in arch/x86/include/asm/msr.h
Code base references it in:
arch/x86/include/asm/barrier.h
arch/x86/um/asm/barrier.h

Reviewed-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
arch/x86/include/asm/barrier.h
arch/x86/include/asm/cpufeature.h
arch/x86/um/asm/barrier.h