summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-10-03 16:43:30 -0700
committerSean Christopherson <seanjc@google.com>2024-11-01 09:26:30 -0700
commit2b9a126a2986fef604275d7d198163c9c3ced172 (patch)
treeb44d0168fae41fa9ce05d80a1b2e9132e731f14c /net/lapb/lapb_timer.c
parent164cea33bfedf883651d8d8b2db2fa867b48ecb0 (diff)
KVM: selftests: Rework OSXSAVE CR4=>CPUID test to play nice with AVX insns
Rework the CR4/CPUID sync test to clear CR4.OSXSAVE, do CPUID, and restore CR4.OSXSAVE in assembly, so that there is zero chance of AVX instructions being executed while CR4.OSXSAVE is disabled. This will allow enabling CR4.OSXSAVE by default for selftests vCPUs as a general means of playing nice with AVX instructions. Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Link: https://lore.kernel.org/r/20241003234337.273364-5-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions