]> xenbits.xensource.com Git - xen.git/commit
x86/cpuid: Fix TSXLDTRK definition
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 13 Dec 2021 20:33:42 +0000 (20:33 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Dec 2021 12:30:48 +0000 (12:30 +0000)
commit249e0f1d8f203188ccdcced5a05c2149739e1566
tree24e25998402f16b5103078d9bf5dc307410d7093
parent1382241fe880d48e109f2056cec052bb3919a9d1
x86/cpuid: Fix TSXLDTRK definition

TSXLDTRK lives in CPUID leaf 7[0].edx, not 7[0].ecx.

Bit 16 in ecx is LA57.

Fixes: a6d1b558471f ("x86emul: support X{SUS,RES}LDTRK")
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/x86_emulate/x86_emulate.c
xen/include/public/arch-x86/cpufeatureset.h