VMware hypercalls enhancements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 10 repliesIn review
- v10 of 6 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Improved commit message in patches 2 and 5.
- Added Reviewed-by for all patches.
- Added Ack from Dmitry Torokhov in patch 4. No fixes regarding reported by Simon Horman gcc error in this patch.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | x86/vmware: Move common macros to vmware.harch/ arch/ | +66 | 1 reply | |
| 2/6 | x86/vmware: Introduce vmware_hypercall APIarch/ arch/ | +220 | 1 reply | |
| 3/6 | ptp/vmware: Use vmware_hypercall APIdrivers/ | +3 | 0 replies | |
| 4/6 | input/vmmouse: Use vmware_hypercall APIdrivers/ | +22 | 0 replies | |
| 5/6 | drm/vmwgfx: Use vmware_hypercall APIdrivers/ drivers/ drivers/ | +197 | 2 replies | |
| 6/6 | x86/vmware: Add TDX hypercall supportarch/ arch/ | +81 | 10 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Nadav Amit | Jeff Sipek | Zack Rusin | Dmitry Torokhov |
|---|---|---|---|---|
| 1/6 | R-b | |||
| 2/6 | R-b | R-b | ||
| 3/6 | R-b | R-b | ||
| 4/6 | R-b | R-b | A-b | |
| 5/6 | R-b | R-b | ||
| 6/6 | R-b R-b R-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 4 reviewers.
Cover letter [PATCH v2 0/6] VMware hypercalls enhancements
From: Alexey Makhalov <[email protected]>
VMware hypercalls invocations were all spread out across the kernel implementing same ABI as in-place asm-inline. With encrypted memory and confidential computing it became harder to maintain every changes in these hypercall implementations.
Intention of this patchset is to introduce arch independent VMware hypercall API layer other subsystems such as device drivers can call to, while hiding architecture specific implementation behind.
Second patch introduces the vmware_hypercall low and high bandwidth families of functions, with little enhancements there. Sixth patch adds tdx hypercall support
arm64 implementation of vmware_hypercalls is in drivers/gpu/drm/ vmwgfx/vmwgfx_msg_arm64.h and going to be moved to arch/arm64 with a separate patchset with the introduction of VMware Linux guest support for arm64.
No functional changes in drivers/input/mouse/vmmouse.c and drivers/ptp/ptp_vmw.c
v1->v2 changes (no functional changes):
- Improved commit message in patches 2 and 5.
- Added Reviewed-by for all patches.
- Added Ack from Dmitry Torokhov in patch 4. No fixes regarding reported by Simon Horman gcc error in this patch.
x86 maintainers, please consider merging this patch set in your branch.
Alexey Makhalov (6):
x86/vmware: Move common macros to vmware.h
x86/vmware: Introduce vmware_hypercall API
ptp/vmware: Use vmware_hypercall API
input/vmmouse: Use vmware_hypercall API
drm/vmwgfx: Use vmware_hypercall API
x86/vmware: Add TDX hypercall support
arch/x86/include/asm/vmware.h | 327 ++++++++++++++++++++-- arch/x86/kernel/cpu/vmware.c | 101 ++----- drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 173 ++++-------- drivers/gpu/drm/vmwgfx/vmwgfx_msg_arm64.h | 197 +++++++++---- drivers/gpu/drm/vmwgfx/vmwgfx_msg_x86.h | 185 ------------ drivers/input/mouse/vmmouse.c | 76 ++--- drivers/ptp/ptp_vmw.c | 12 +- 7 files changed, 551 insertions(+), 520 deletions(-)
Signature · 1 line
2.39.0