On Thu, Jan 21, 2021 at 04:02:17PM +0100, Paolo Bonzini wrote: > On 05/01/21 01:49, Yang Zhong wrote: > >A processor supports AVX_VNNI instructions if CPUID.(EAX=7,ECX=1):EAX[bit 4] > >is present. > > > >This series includes kernel and kvm patches, kernel patch define this > >new cpu feature bit and kvm expose this bit to guest. When this bit is > >enabled on cpu or vcpu, the cpu feature flag is shown as "avx_vnni" in > >/proc/cpuinfo of host and guest. > > > >Detailed information on the instruction and CPUID feature flag can be > >found in the latest "extensions" manual [1]. > > > >Reference: > >[1]. https://software.intel.com/content/www/us/en/develop/download/intel-architecture-instruction-set-extensions-programming-reference.html > > > > > >Kyung Min Park (1): > > Enumerate AVX Vector Neural Network instructions > > > >Yang Zhong (1): > > KVM: Expose AVX_VNNI instruction to guset > > > > arch/x86/include/asm/cpufeatures.h | 1 + > > arch/x86/kvm/cpuid.c | 2 +- > > 2 files changed, 2 insertions(+), 1 deletion(-) > > > > Queued, thanks. > > Paolo Paolo, thanks, i will send the related Qemu patch soon. Yang