mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-17 14:46:17 +07:00
204c91eff7
The guest_code of sync_regs_test is assuming that the compiler will not touch %r11 outside the asm that increments it, which is a bit brittle. Instead, we can increment a variable and use a dummy asm to ensure the increment is not optimized away. However, we also need to use a callee-save register or the compiler will insert a save/restore around the vmexit, breaking the whole idea behind the test. (Yes, "if it ain't broken...", but I would like the test to be clean before it is copied into the upcoming s390 selftests). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
cr4_cpuid_sync_test.c | ||
evmcs_test.c | ||
hyperv_cpuid.c | ||
kvm_create_max_vcpus.c | ||
platform_info_test.c | ||
set_sregs_test.c | ||
smm_test.c | ||
state_test.c | ||
sync_regs_test.c | ||
vmx_close_while_nested_test.c | ||
vmx_set_nested_state_test.c | ||
vmx_tsc_adjust_test.c |