diff options
author | Sean Christopherson <seanjc@google.com> | 2024-10-03 16:43:36 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-11-01 09:26:36 -0700 |
commit | 3c4c128d02ed81ddbf9b374a77bc0cb5a91e0a87 (patch) | |
tree | 36dfaf954a8a147cf54bc520396423191555c456 /tools/perf/scripts/python/stackcollapse.py | |
parent | 28439090ece61e71c2c2b75c3567446e5aea7519 (diff) | |
download | linux-3c4c128d02ed81ddbf9b374a77bc0cb5a91e0a87.tar.gz linux-3c4c128d02ed81ddbf9b374a77bc0cb5a91e0a87.tar.bz2 linux-3c4c128d02ed81ddbf9b374a77bc0cb5a91e0a87.zip |
KVM: selftests: Drop manual XCR0 configuration from SEV smoke test
Now that CR4.OSXSAVE and XCR0 are setup by default, drop the manual
enabling from the SEV smoke test that validates FPU state can be
transferred into the VMSA.
In guest_code_xsave(), explicitly set the Requested-Feature Bitmask (RFBM)
to exactly XFEATURE_MASK_X87_AVX instead of relying on the host side of
things to enable only X87_AVX features in guest XCR0. I.e. match the RFBM
for the host XSAVE.
Link: https://lore.kernel.org/r/20241003234337.273364-11-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions