]> 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)
commit350775ca9fc234402d4c984ed954b665061bd622
tree58ec45c46f0dd536b2315a20186f6079a6b3a209
parentdec2f1f9933baf7f7d750f44f7cc03e3b46c2ef5
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