diff options
author | Aaron Lewis <aaronlewis@google.com> | 2023-02-21 19:36:53 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-03-25 00:21:40 +0300 |
commit | d01d4a4f7bd2197208b904378debf3331eec936e (patch) | |
tree | f312282ac50a004c313f3da32f01d1bdd9bac912 /scripts/generate_rust_analyzer.py | |
parent | 2ab3991b0b9b57affd26ab116c6e1aab5c1bf8c3 (diff) | |
download | linux-d01d4a4f7bd2197208b904378debf3331eec936e.tar.xz |
KVM: selftests: Move XSAVE and OSXSAVE CPUID checks into AMX's init_regs()
Move the checks on XSAVE and OSXSAVE into init_regs() so that the XSAVE
check is done before setting CR4.OSXSAVE, i.e. before a potential #GP, and
so that the OSXSAVE check is performend immediately after enabling XSAVE
in CR4.
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Signed-off-by: Mingwei Zhang <mizhang@google.com>
Link: https://lore.kernel.org/r/20230221163655.920289-12-mizhang@google.com
[sean: keep XSAVE check, rewrite changelog accordingly]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions