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

2018-11-05 Thread Liu Jingqi
MOVDIR64B (CPUID.0x07.0x0:ECX[bit 28]). This patch exposes the movdir64b feature 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 Signed-off-by: Liu Jingqi Cc: Xu Tao

[PATCH v2 0/2] KVM: x86: expose direct stores instructions into VM.

2018-11-05 Thread Liu Jingqi
instructions patches. Liu Jingqi (2): KVM: x86: expose MOVDIRI CPU feature into VM. KVM: x86: expose MOVDIR64B CPU feature into VM. arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4

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

2018-11-05 Thread Liu Jingqi
MOVDIR64B (CPUID.0x07.0x0:ECX[bit 28]). This patch exposes the movdir64b feature 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 Signed-off-by: Liu Jingqi Cc: Xu Tao

[PATCH v2 0/2] KVM: x86: expose direct stores instructions into VM.

2018-11-05 Thread Liu Jingqi
instructions patches. Liu Jingqi (2): KVM: x86: expose MOVDIRI CPU feature into VM. KVM: x86: expose MOVDIR64B CPU feature into VM. arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4

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

2018-11-05 Thread Liu Jingqi
MOVDIRI(CPUID.0x07.0x0:ECX[bit 27]). This patch exposes the movdiri feature 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 Signed-off-by: Liu Jingqi Cc: Xu Tao

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

2018-11-05 Thread Liu Jingqi
MOVDIRI(CPUID.0x07.0x0:ECX[bit 27]). This patch exposes the movdiri feature 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 Signed-off-by: Liu Jingqi Cc: Xu Tao

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

2018-08-20 Thread Liu, Jingqi
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Monday, August 20, 2018 6:16 PM > To: Liu, Jingqi ; rkrc...@redhat.com; > t...@linutronix.de; > mi...@redhat.com; h...@zytor.com > Cc: x...@kernel.org; k...@vger.kernel.org; linux-kernel@

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

2018-08-20 Thread Liu, Jingqi
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Monday, August 20, 2018 6:16 PM > To: Liu, Jingqi ; rkrc...@redhat.com; > t...@linutronix.de; > mi...@redhat.com; h...@zytor.com > Cc: x...@kernel.org; k...@vger.kernel.org; linux-kernel@

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

2018-08-06 Thread Liu, Jingqi
Hi Paolo, Do you have any comments for the series ? Thanks Jingqi On 7/10/2018 4:54 PM, Jingqi Liu wrote: A few new features including user wait (umwait, umonitor, tpause) and direct stores (movdiri and movdir64b) will be available in Intel Snow Ridge, and need to be exposed to guest VM. The

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

2018-08-06 Thread Liu, Jingqi
Hi Paolo, Do you have any comments for the series ? Thanks Jingqi On 7/10/2018 4:54 PM, Jingqi Liu wrote: A few new features including user wait (umwait, umonitor, tpause) and direct stores (movdiri and movdir64b) will be available in Intel Snow Ridge, and need to be exposed to guest VM. The

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

2018-07-06 Thread Liu, Jingqi
On 04/07/2018 21:37, Paolo Bonzini wrote: > On 04/07/2018 15:06, Jingqi Liu wrote: > > A new control bit(bit 29) in the TEST_CTRL MSR will be introduced to > > enable detection of split locks. > > > > When bit 29 of the TEST_CTRL(33H) MSR is set, the processor causes an > > #AC exception to be

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

2018-07-06 Thread Liu, Jingqi
On 04/07/2018 21:37, Paolo Bonzini wrote: > On 04/07/2018 15:06, Jingqi Liu wrote: > > A new control bit(bit 29) in the TEST_CTRL MSR will be introduced to > > enable detection of split locks. > > > > When bit 29 of the TEST_CTRL(33H) MSR is set, the processor causes an > > #AC exception to be

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

2018-06-11 Thread Liu, Jingqi
On 5/8/2018 12:30 AM, Paolo Bonzini wrote: > > On 04/05/2018 05:55, Jingqi Liu wrote: > > The CLDEMOTE instruction hints to hardware that the cache line that > > contains the linear address should be moved("demoted") from the > > cache(s) closest to the processor core to a level more distant

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

2018-06-11 Thread Liu, Jingqi
On 5/8/2018 12:30 AM, Paolo Bonzini wrote: > > On 04/05/2018 05:55, Jingqi Liu wrote: > > The CLDEMOTE instruction hints to hardware that the cache line that > > contains the linear address should be moved("demoted") from the > > cache(s) closest to the processor core to a level more distant

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

2018-06-04 Thread Liu, Jingqi
Hi Paolo, I had changed the Signed-off-by chain. Could you help to review? Thanks. On 5/22/2018 5:01 PM, Liu, Jingqi wrote: > > The CLDEMOTE instruction hints to hardware that the cache line that contains > the linear address should be moved("demoted") from t

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

2018-06-04 Thread Liu, Jingqi
Hi Paolo, I had changed the Signed-off-by chain. Could you help to review? Thanks. On 5/22/2018 5:01 PM, Liu, Jingqi wrote: > > The CLDEMOTE instruction hints to hardware that the cache line that contains > the linear address should be moved("demoted") from t

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

2018-05-07 Thread Liu, Jingqi
://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/4/23/928 > > Signed-off-by: Jingqi Liu <jingqi@intel.com> > Signed-off-by: Wei Wang <wei.w.

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

2018-05-07 Thread Liu, Jingqi
Hi Paolo, Thanks. Will you help to modify the Signed-off-by chain ? Or do I need to submit the second version after modifying the Signed-off-by chain ? Thanks, Jingqi Liu -Original Message- From: Paolo Bonzini [mailto:pbonz...@redhat.com] Sent: Tuesday, May 8, 2018 12:30 AM To: Liu