Simple test for sysenter instruction
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86/msr: run this test with intel vendor idx86/ | +1 | 0 replies | |
| 2/2 | Add a simple test for SYSENTER instruction.x86/ x86/ x86/ +1 more | +100 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Simple test for sysenter instruction
Hi,
This patch series adds a simple test for sysenter instruction running in comp32 mode, while using Intel vendor ID.
In this setting, KVM emulates this instruction to help with cross-vendor migration on AMD.
I also added a patch to 'msr' test to run it with Intel's vendor ID, since this test tests that SYSENTER EIP/ESP msrs are 64 bit wide which is only true on AMD.
KVM used to emulate these msrs to be always 64 bit on AMD, but this soon will be changed to do the emulation only when guest CPU vendor ID is of Intel.
Best regards,
Maxim Levitsky
Maxim Levitsky (2):
x86/msr: run this test with intel vendor id
Add a simple test for SYSENTER instruction.
x86/Makefile.x86_64 | 3 ++ x86/cstart64.S | 1 + x86/sysenter.c | 91 +++++++++++++++++++++++++++++++++++++++++++++ x86/unittests.cfg | 6 +++ 4 files changed, 101 insertions(+) create mode 100644 x86/sysenter.c
Signature · 1 line
2.26.2