x86/cpuid: Enumeration for BTC_NO
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 16 May 2022 14:48:24 +0000 (15:48 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Jul 2022 15:23:00 +0000 (16:23 +0100)
commit76cb04ad64f3ab9ae785988c40655a71dde9c319
treec9ffbed6eb60c6aeeeb8021dc022924131142e3e
parent53a570b285694947776d5190f591a0d5b9b18de7
x86/cpuid: Enumeration for BTC_NO

BTC_NO indicates that hardware is not succeptable to Branch Type Confusion.

Zen3 CPUs don't suffer BTC.

This is part of XSA-407.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/libs/light/libxl_cpuid.c
tools/misc/xen-cpuid.c
xen/arch/x86/cpu/amd.c
xen/arch/x86/spec_ctrl.c
xen/include/public/arch-x86/cpufeatureset.h