diff options
author | Aaron Lewis <aaronlewis@google.com> | 2023-02-21 19:36:51 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-03-25 00:21:39 +0300 |
commit | 7e1075f050782c4d1249ebb15f63836bc2a94a97 (patch) | |
tree | c0dd53cab9cbe7e3042010448e6b7c3e22939a2e /scripts/generate_rust_analyzer.py | |
parent | bfc5afc37c9dba85f8c057fb85109a72e72d64a5 (diff) | |
download | linux-7e1075f050782c4d1249ebb15f63836bc2a94a97.tar.xz |
KVM: selftests: Assert that XTILE is XSAVE-enabled
Assert that XTILE is XSAVE-enabled. check_xsave_supports_xtile() doesn't
actually check anything since its return value is not used. Add the
intended assert.
Opportunistically, move the assert to a more appropriate location:
immediately after XSETBV and remove check_xsave_supports_xtile().
Fixes: 5dc19f1c7dd3 ("KVM: selftests: Convert AMX test to use X86_PROPRETY_XXX")
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Signed-off-by: Mingwei Zhang <mizhang@google.com>
Link: https://lore.kernel.org/r/20230221163655.920289-10-mizhang@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions