Re: [PATCH 0/2] Enumerate and expose AVX_VNNI feature

2021-01-21 Thread Yang Zhong
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

Re: [PATCH 1/2] Enumerate AVX Vector Neural Network instructions

2021-01-11 Thread Yang Zhong
On Tue, Jan 05, 2021 at 01:14:56PM +0100, Borislav Petkov wrote: > On Tue, Jan 05, 2021 at 12:47:23PM +0100, Paolo Bonzini wrote: > > On 05/01/21 01:49, Yang Zhong wrote: > > > From: Kyung Min Park > > > > > > Add AVX version of the Vecto

[PATCH 0/2] Enumerate and expose AVX_VNNI feature

2021-01-04 Thread Yang Zhong
tensions-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 deletio

[PATCH 2/2] KVM: Expose AVX_VNNI instruction to guset

2021-01-04 Thread Yang Zhong
the "main" manual (SDM) in the future. Signed-off-by: Yang Zhong Reviewed-by: Tony Luck --- 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 83637a2ff605..4229b67f0a8d 100644 --- a/arch/x86/kvm/cpuid.

[PATCH 1/2] Enumerate AVX Vector Neural Network instructions

2021-01-04 Thread Yang Zhong
; in /proc/cpuinfo. This instruction is currently documented in the latest "extensions" manual (ISE). It will appear in the "main" manual (SDM) in the future. Signed-off-by: Kyung Min Park Signed-off-by: Yang Zhong Reviewed-by: Tony Luck --- arch/x86/include/asm/cpufeatu

[PATCH 2/2] KVM: Expose AVX_VNNI instruction to guset

2020-12-15 Thread Yang Zhong
the "main" manual (SDM) in the future. Signed-off-by: Yang Zhong Reviewed-by: Tony Luck --- 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 83637a2ff605..4229b67f0a8d 100644 --- a/arch/x86/kvm/cpuid.

[PATCH 0/2] Enumerate and expose AVX_VNNI feature

2020-12-15 Thread Yang Zhong
tensions-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 deletio

[PATCH 1/2] Enumerate AVX Vector Neural Network instructions

2020-12-15 Thread Yang Zhong
; in /proc/cpuinfo. This instruction is currently documented in the latest "extensions" manual (ISE). It will appear in the "main" manual (SDM) in the future. Signed-off-by: Kyung Min Park Signed-off-by: Yang Zhong Reviewed-by: Tony Luck --- arch/x86/include/asm/cpufeatu