All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Enumerate and expose AVX_VNNI feature
@ 2021-01-05  0:49 Yang Zhong
  2021-01-05  0:49 ` [PATCH 1/2] Enumerate AVX Vector Neural Network instructions Yang Zhong
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Yang Zhong @ 2021-01-05  0:49 UTC (permalink / raw)
  To: linux-kernel, x86, kvm
  Cc: tglx, mingo, bp, hpa, tony.luck, pbonzini, seanjc, vkuznets,
	wanpengli, jmattson, joro, kyung.min.park, yang.zhong

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(-)

-- 
2.29.2.334.gfaefdd61ec


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/2] Enumerate and expose AVX_VNNI feature
@ 2020-12-16  2:01 Yang Zhong
  2020-12-16  2:01 ` [PATCH 1/2] Enumerate AVX Vector Neural Network instructions Yang Zhong
  0 siblings, 1 reply; 10+ messages in thread
From: Yang Zhong @ 2020-12-16  2:01 UTC (permalink / raw)
  To: linux-kernel, x86, kvm
  Cc: tglx, mingo, bp, hpa, tony.luck, pbonzini, seanjc, vkuznets,
	wanpengli, jmattson, joro, kyung.min.park, yang.zhong

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(-)

-- 
2.29.2.334.gfaefdd61ec


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-22  6:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05  0:49 [PATCH 0/2] Enumerate and expose AVX_VNNI feature Yang Zhong
2021-01-05  0:49 ` [PATCH 1/2] Enumerate AVX Vector Neural Network instructions Yang Zhong
2021-01-05 11:47   ` Paolo Bonzini
2021-01-05 12:14     ` Borislav Petkov
2021-01-12  2:13       ` Yang Zhong
2021-01-13 12:54         ` Paolo Bonzini
2021-01-05  0:49 ` [PATCH 2/2] KVM: Expose AVX_VNNI instruction to guset Yang Zhong
2021-01-21 15:02 ` [PATCH 0/2] Enumerate and expose AVX_VNNI feature Paolo Bonzini
2021-01-22  6:43   ` Yang Zhong
  -- strict thread matches above, loose matches on Subject: below --
2020-12-16  2:01 Yang Zhong
2020-12-16  2:01 ` [PATCH 1/2] Enumerate AVX Vector Neural Network instructions Yang Zhong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.