]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: kvm: try getting XFD and XSAVE state out of sync
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 31 Dec 2025 15:47:26 +0000 (16:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 10:21:23 +0000 (11:21 +0100)
commit522a38f455bffda228e2853ba6dab09ab7a6fcd4
treecfe29044d9ee43702d00b85ce5cf0e4ddc48f9d7
parent580581bd4af55259e0b35157ee9f52960b165e57
selftests: kvm: try getting XFD and XSAVE state out of sync

commit 0383a8edef396cf0a6884b0be81d62bde60737b0 upstream.

The host is allowed to set FPU state that includes a disabled
xstate component.  Check that this does not cause bad effects.

Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/kvm/x86/amx_test.c