]> xenbits.xensource.com Git - people/dwmw2/xen.git/commit
x86/svm: Drop support for AMD's Lightweight Profiling
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Jul 2018 13:36:30 +0000 (13:36 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 21 May 2019 09:44:00 +0000 (10:44 +0100)
commit91f86f8634f99abd8f242943e62452211a09fa0a
tree3987c724101e70cb0fefe407ffb3fc28da8b49f3
parent37bb9bb49ad1b21140098b4cf768c60f33309e8b
x86/svm: Drop support for AMD's Lightweight Profiling

Lightweight Profiling was introduced in Bulldozer (Fam15h), but was dropped
from Zen (Fam17h) processors.  Furthermore, LWP was dropped from Fam15/16 CPUs
when IBPB for Spectre v2 was introduced in microcode, owing to LWP not being
used in practice.

As a result, CPUs which are operating within specification (i.e. with up to
date microcode) no longer have this feature, and therefore are not using it.

Drop support from Xen.  The main motivation here is to remove unnecessary
complexity from CPUID handling, but it also tidies up the SVM code nicely.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Brian Woods <brian.woods@amd.com>
xen/arch/x86/cpuid.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/svm/vmcb.c
xen/arch/x86/msr.c
xen/arch/x86/xstate.c
xen/include/asm-x86/cpufeature.h
xen/include/asm-x86/hvm/svm/vmcb.h
xen/include/asm-x86/xstate.h
xen/include/public/arch-x86/cpufeatureset.h