]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: expose MOVDIR64B CPU feature into VM.
authorLiu Jingqi <jingqi.liu@intel.com>
Tue, 6 Nov 2018 05:55:28 +0000 (13:55 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Feb 2019 21:48:26 +0000 (22:48 +0100)
commitf4ea75c313c2005d897ee3a48890d19b6c7d5f61
tree58ec45c46f0dd536b2315a20186f6079a6b3a209
parentd8aadb0aad83237d5fa581f45ba8bbedfd4ce52a
KVM: x86: expose MOVDIR64B CPU feature into VM.

MOVDIR64B moves 64-bytes as direct-store with 64-bytes write atomicity.
Direct store is implemented by using write combining (WC) for writing
data directly into memory without caching the data.

Availability of the MOVDIR64B instruction is indicated by the presence
of the CPUID feature flag 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 <jingqi.liu@intel.com>
Cc: Xu Tao <tao3.xu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c