x86/svm: Enumeration for CET
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 21 Apr 2020 16:43:56 +0000 (17:43 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 30 Apr 2021 16:29:48 +0000 (17:29 +0100)
commit1f8ee4cb430e5a9da37096574c41632cf69a0bc7
tree030b641fe961e8b79f02ea25c4c2490fb843086c
parent48f2a10a71bb4bc3053142996dd581ebcfa3e3ab
x86/svm: Enumeration for CET

On CET-capable hardware, VMRUN/EXIT unconditionally swaps S_CET, SSP and
ISST (subject to cleanbits) without further settings.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/svm/svmdebug.c
xen/include/asm-x86/hvm/svm/svm.h
xen/include/asm-x86/hvm/svm/vmcb.h