Re: [Qemu-devel] [PATCH] x86/cpufeatures: Enable new AVX512 cpu features

2017-10-18 Thread Zhong Yang
On Wed, Oct 18, 2017 at 12:32:42PM +0200, Paolo Bonzini wrote: > On 17/10/2017 11:34, Yang Zhong wrote: > > Intel IceLake cpu has added new cpu features,AVX512VBMI2/GFNI/ > > VAES/AVX512VNNI/AVX512BITALG/VPCLMULQDQ. Those new cpu features > > need expose to guest VM. > > > > The bit definition: >

Re: [Qemu-devel] [PATCH] x86/cpufeatures: Enable new AVX512 cpu features

2017-10-18 Thread Paolo Bonzini
On 18/10/2017 12:39, Zhong Yang wrote: > Paolo, Thanks for review my patch! > > KVM patch is waiting for our kernel colleague to send kernel side patch, > My KVM patch has some header definition depency with kernel side. > > This Qemu patch has been verified on kernel and KVM's patch in n

Re: [Qemu-devel] [PATCH] x86/cpufeatures: Enable new AVX512 cpu features

2017-10-18 Thread Paolo Bonzini
On 17/10/2017 11:34, Yang Zhong wrote: > Intel IceLake cpu has added new cpu features,AVX512VBMI2/GFNI/ > VAES/AVX512VNNI/AVX512BITALG/VPCLMULQDQ. Those new cpu features > need expose to guest VM. > > The bit definition: > CPUID.(EAX=7,ECX=0):ECX[bit 06] AVX512VBMI2 > CPUID.(EAX=7,ECX=0):ECX[bit 0

[Qemu-devel] [PATCH] x86/cpufeatures: Enable new AVX512 cpu features

2017-10-17 Thread Yang Zhong
Intel IceLake cpu has added new cpu features,AVX512VBMI2/GFNI/ VAES/AVX512VNNI/AVX512BITALG/VPCLMULQDQ. Those new cpu features need expose to guest VM. The bit definition: CPUID.(EAX=7,ECX=0):ECX[bit 06] AVX512VBMI2 CPUID.(EAX=7,ECX=0):ECX[bit 08] GFNI CPUID.(EAX=7,ECX=0):ECX[bit 09] VAES CPUID.(E