Skip to content

Virtual GIF

Brian Woods xen-devel 3 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 1 replySuperseded

Changes in v3 from the cover letter

- Removed else in vgif init code in vmcb.c due to it being unnecessary

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/svm: Add virtual GIF feature definitionxen/include/asm-x86/hvm/svm/svm.h xen/include/asm-x86/hvm/svm/vmcb.h+6 -20 replies
2/2x86/svm: Add virtual GIF supportxen/arch/x86/hvm/svm/nestedsvm.c xen/arch/x86/hvm/svm/svm.c xen/arch/x86/hvm/svm/vmcb.c+16 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Virtual GIF

On AMD family 17h processors, there is a feature called virtual GIF. This allows a nested hypervisor to preform a CLGI or STGI without needing to be intercepted by the host hypervisor. For more information about it please see:

AMD64 Architecture Programmer’s Manual Volume 2: System Programming
http://support.amd.com/TechDocs/24593.pdf
Section: Virtual GIF (Section 15.33.2)

This patch series adds support to check for and enable the virtual GIF features if available.

These patches were tested on an AMD family 17h (EPYC 7401) system.

Changes since v2:
- Removed else in vgif init code in vmcb.c due to it being unnecessary

Changes since v1:
- Change a test condition from if it had the vgif feature to if it's enabled in the vmcb
- Update for the use of C99 bool type
- Added else in vgif init code in vmcb.c

Brian Woods (2):
x86/svm: Add virtual GIF feature definition
x86/svm: Add virtual GIF support

 xen/arch/x86/hvm/svm/nestedsvm.c   | 7 ++++++-
 xen/arch/x86/hvm/svm/svm.c         | 1 +
 xen/arch/x86/hvm/svm/vmcb.c        | 9 +++++++++
 xen/include/asm-x86/hvm/svm/svm.h  | 2 ++
 xen/include/asm-x86/hvm/svm/vmcb.h | 6 ++++--
 5 files changed, 22 insertions(+), 3 deletions(-)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel