tests/tsx: Extend test-tsx to check MSR_MCU_OPT_CTRL
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 10 Jun 2021 11:34:45 +0000 (12:34 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 8 Feb 2022 18:00:08 +0000 (18:00 +0000)
commit4b45c4faa8c0637eb41cb4b143ccd4e9548c4908
tree26fd0a876abb7132ddb44570fae25fb82639b276
parentad9f7c3b2e0df38ad6d54f4769d4dccf765fbcee
tests/tsx: Extend test-tsx to check MSR_MCU_OPT_CTRL

This MSR needs to be identical across the system for TSX to have identical
behaviour everywhere.  Furthermore, its CPUID bit (SRBDS_CTRL) shouldn't be
visible to guests.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/tests/tsx/test-tsx.c
xen/arch/x86/platform_hypercall.c