Add support for updated vmware hypercall instruction
Status from this message: The following commit has been merged into the x86/vmware branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 17 repliesApplied
- v24 patches 12 repliesSuperseded
- v14 patches 19 repliesSuperseded
Changes in v3 from the cover letter
- Address more style review comments
- Improve on documentation
- Remove an unnecessarily added include
- Ack to merge the vmwgfx patch from Dave.
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | x86/vmware: Update platform detection code for VMCALL/VMMCALL hypercallsarch/ | +71 | 0 replies | |
| 2/4 | x86/vmware: Add a header file for hypercall definitionsMAINTAINERS arch/ arch/ +1 more | +58 | 0 replies | |
| 3/4 | drm/vmwgfx: Update the backdoor call with support for new instructionsdrivers/ drivers/ | +28 | 0 replies | |
| 4/4 | input/vmmouse: Update the backdoor call with support for new instructionsdrivers/ | +3 | 17 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Doug Covelli | Dave Airlie | Dmitry Torokhov |
|---|---|---|---|
| 1/4 | R-b | ||
| 2/4 | R-b | ||
| 3/4 | R-b | A-b | |
| 4/4 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/4] Add support for updated vmware hypercall instruction
VMware has started using "vmcall" / "vmmcall" instead of an inl instruction for the "backdoor" interface. This series detects support for those instructions.
Outside of the platform code we use the "ALTERNATIVES" self-patching mechanism similarly to how this is done with KVM.
Unfortunately we need two new x86 CPU feature flags for this, since we need the default instruction to be "inl". IIRC the vmmouse driver is used by other virtualization solutions than VMware, and those might break if they encounter any of the other instructions.
v2:
- Address various style review comments
- Use mnemonics instead of bytecode in the ALTERNATIVE_2 macros
- Use vmcall / vmmcall also for the High-Bandwidth port calls
- Change the %edx argument to what vmcall / vmmcall expect (flags instead of port number). The port number is added in the default ALTERNATIVE_2 path.
- Ack to merge the vmmouse patch from Dmitry.
- Drop license update for now. Will get back with a freestanding patch.
v3:
- Address more style review comments
- Improve on documentation
- Remove an unnecessarily added include
- Ack to merge the vmwgfx patch from Dave.