[PATCH 2/3] KVM: x86: expose MOVDIRI CPU feature into VM.

2018-07-10 Thread Jingqi Liu
/lkml/2018/6/15/654. Signed-off-by: Jingqi Liu --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index e16c05e..456caf7 100644 --- a/arch/x86/kvm/cpuid.c +++ b/arch/x86/kvm/cpuid.c @@ -406,7 +406,7 @@ static

[PATCH 2/3] KVM: x86: expose MOVDIRI CPU feature into VM.

2018-07-10 Thread Jingqi Liu
/lkml/2018/6/15/654. Signed-off-by: Jingqi Liu --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index e16c05e..456caf7 100644 --- a/arch/x86/kvm/cpuid.c +++ b/arch/x86/kvm/cpuid.c @@ -406,7 +406,7 @@ static

[PATCH 3/3] KVM: x86: expose MOVDIR64B CPU feature into VM.

2018-07-10 Thread Jingqi Liu
://lkml.org/lkml/2018/6/15/655. Signed-off-by: Jingqi Liu --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 456caf7..deaad68 100644 --- a/arch/x86/kvm/cpuid.c +++ b/arch/x86/kvm/cpuid.c @@ -406,7 +406,7

[PATCH 1/3] KVM: x86: expose UMWAIT/UMONITOR/TPAUSE CPU features into VM.

2018-07-10 Thread Jingqi Liu
features to the guest. The release document ref below link: https://software.intel.com/sites/default/files/managed/c5/15/\ architecture-instruction-set-extensions-programming-reference.pdf This patch has a dependency on https://lkml.org/lkml/2018/6/15/657. Signed-off-by: Jingqi Liu --- arch/x86/kvm

[PATCH 0/3] KVM: x86: expose a few new features into VM.

2018-07-10 Thread Jingqi Liu
-instruction-set-extensions-programming-reference.pdf This series expose umonitor,umwait, tpause, movdiri and movdir64b features to guest VM. Jingqi Liu (3): KVM: x86: expose UMWAIT/UMONITOR/TPAUSE CPU features into VM. KVM: x86: expose MOVDIRI CPU feature into VM. KVM: x86: expose MOVDIR64B

[PATCH 3/3] KVM: x86: expose MOVDIR64B CPU feature into VM.

2018-07-10 Thread Jingqi Liu
://lkml.org/lkml/2018/6/15/655. Signed-off-by: Jingqi Liu --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 456caf7..deaad68 100644 --- a/arch/x86/kvm/cpuid.c +++ b/arch/x86/kvm/cpuid.c @@ -406,7 +406,7

[PATCH 1/3] KVM: x86: expose UMWAIT/UMONITOR/TPAUSE CPU features into VM.

2018-07-10 Thread Jingqi Liu
features to the guest. The release document ref below link: https://software.intel.com/sites/default/files/managed/c5/15/\ architecture-instruction-set-extensions-programming-reference.pdf This patch has a dependency on https://lkml.org/lkml/2018/6/15/657. Signed-off-by: Jingqi Liu --- arch/x86/kvm

[PATCH 0/3] KVM: x86: expose a few new features into VM.

2018-07-10 Thread Jingqi Liu
-instruction-set-extensions-programming-reference.pdf This series expose umonitor,umwait, tpause, movdiri and movdir64b features to guest VM. Jingqi Liu (3): KVM: x86: expose UMWAIT/UMONITOR/TPAUSE CPU features into VM. KVM: x86: expose MOVDIRI CPU feature into VM. KVM: x86: expose MOVDIR64B

[PATCH v2] KVM: Expose the split lock detection feature to guest VM

2018-07-04 Thread Jingqi Liu
-programming-reference.pdf This patch has a dependency on https://lkml.org/lkml/2018/5/27/78. Signed-off-by: Jingqi Liu --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/vmx.c | 77 + arch/x86/kvm/x86.c | 10 ++ arch/x86/kvm/x86

[PATCH v2] KVM: Expose the split lock detection feature to guest VM

2018-07-04 Thread Jingqi Liu
-programming-reference.pdf This patch has a dependency on https://lkml.org/lkml/2018/5/27/78. Signed-off-by: Jingqi Liu --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/vmx.c | 77 + arch/x86/kvm/x86.c | 10 ++ arch/x86/kvm/x86

[PATCH RESEND] KVM: x86: Expose CLDEMOTE CPU feature to guest VM

2018-05-21 Thread Jingqi Liu
rogramming-reference.pdf This patch has a dependency on https://lkml.org/lkml/2018/4/23/928 Signed-off-by: Jingqi Liu <jingqi@intel.com> --- arch/x86/kvm/cpuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 82055b9

[PATCH RESEND] KVM: x86: Expose CLDEMOTE CPU feature to guest VM

2018-05-21 Thread Jingqi Liu
rogramming-reference.pdf This patch has a dependency on https://lkml.org/lkml/2018/4/23/928 Signed-off-by: Jingqi Liu --- arch/x86/kvm/cpuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 82055b9..72d8c49 100644 --- a/ar

[PATCH] KVM: x86: Expose CLDEMOTE CPU feature to guest VM

2018-05-02 Thread Jingqi Liu
rogramming-reference.pdf This patch has a dependency on https://lkml.org/lkml/2018/4/23/928 Signed-off-by: Jingqi Liu <jingqi@intel.com> Signed-off-by: Wei Wang <wei.w.w...@intel.com> --- arch/x86/kvm/cpuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/

[PATCH] KVM: x86: Expose CLDEMOTE CPU feature to guest VM

2018-05-02 Thread Jingqi Liu
rogramming-reference.pdf This patch has a dependency on https://lkml.org/lkml/2018/4/23/928 Signed-off-by: Jingqi Liu Signed-off-by: Wei Wang --- arch/x86/kvm/cpuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 82055b9..72d8