diff options
author | Aaron Lewis <aaronlewis@google.com> | 2023-02-21 19:36:52 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-03-25 00:21:40 +0300 |
commit | 2ab3991b0b9b57affd26ab116c6e1aab5c1bf8c3 (patch) | |
tree | 20527c78a894aa793d1167bdd41cc4b750f7f682 /scripts/generate_rust_analyzer.py | |
parent | 7e1075f050782c4d1249ebb15f63836bc2a94a97 (diff) | |
download | linux-2ab3991b0b9b57affd26ab116c6e1aab5c1bf8c3.tar.xz |
KVM: selftests: Assert that both XTILE{CFG,DATA} are XSAVE-enabled
Assert that both XTILE{CFG,DATA} are written and read back via XSETBV and
XGETBV respectively. The original check in amx_test only ensures at least
one of the XTILE bits are set, XTILECFG or XTILEDATA, when it really
should be checking that both are set.
Fixes: bf70636d9443 ("selftest: kvm: Add amx selftest")
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Signed-off-by: Mingwei Zhang <mizhang@google.com>
Link: https://lore.kernel.org/r/20230221163655.920289-11-mizhang@google.com
[sean: massage changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions