[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] vvmx: Handle INVVPID_SINGLE_CONTEXT_RETAINING_GLOBAL properly



commit b7e310c4d9b2f0e5be1e69d241bb5e7c16ba07e7
Author:     Teddy Astie <teddy.astie@xxxxxxxxxx>
AuthorDate: Wed Sep 30 08:48:41 2026 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Sep 30 08:48:41 2026 +0200

    vvmx: Handle INVVPID_SINGLE_CONTEXT_RETAINING_GLOBAL properly
    
    The feature is already advertised in NVPID_CAP_BITS, yet the handling
    in nvmx_handle_invvpid() was missing.
    
    Fixes: aa1b9dfdff9c ("nEPT: Expose EPT & VPID capablities to L1 VMM")
    Signed-off-by: Teddy Astie <teddy.astie@xxxxxxxxxx>
    Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 xen/arch/x86/hvm/vmx/vvmx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/arch/x86/hvm/vmx/vvmx.c b/xen/arch/x86/hvm/vmx/vvmx.c
index 82273b6612..29e48387a1 100644
--- a/xen/arch/x86/hvm/vmx/vvmx.c
+++ b/xen/arch/x86/hvm/vmx/vvmx.c
@@ -2053,6 +2053,7 @@ static int nvmx_handle_invvpid(struct cpu_user_regs *regs)
     case INVVPID_INDIVIDUAL_ADDR:
     case INVVPID_SINGLE_CONTEXT:
     case INVVPID_ALL_CONTEXT:
+    case INVVPID_SINGLE_CONTEXT_RETAINING_GLOBAL:
         hvm_asid_flush_vcpu_asid(&vcpu_nestedhvm(current).nv_n2asid);
         break;
     default:
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.