summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/kvm.c
diff options
context:
space:
mode:
authorJingqi Liu <jingqi.liu@intel.com>2018-05-22 17:01:27 +0800
committerRadim Krčmář <rkrcmar@redhat.com>2018-05-24 20:15:22 +0200
commit0ea3286e2df74c9ec2fadbf91170cd3edd14e3e5 (patch)
treee31992d3ec44180fdde158e9ae830be8d743ed9e /arch/x86/kernel/kvm.c
parentcd9a491f6ef731cdee07dd0a2fe003389424a393 (diff)
downloadblackbird-obmc-linux-0ea3286e2df74c9ec2fadbf91170cd3edd14e3e5.tar.gz
blackbird-obmc-linux-0ea3286e2df74c9ec2fadbf91170cd3edd14e3e5.zip
KVM: x86: Expose CLDEMOTE CPU feature to guest VM
The CLDEMOTE instruction hints to hardware that the cache line that contains the linear address should be moved("demoted") from the cache(s) closest to the processor core to a level more distant from the processor core. This may accelerate subsequent accesses to the line by other cores in the same coherence domain, especially if the line was written by the core that demotes the line. This patch exposes the cldemote 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 This patch has a dependency on https://lkml.org/lkml/2018/4/23/928 Signed-off-by: Jingqi Liu <jingqi.liu@intel.com> Reviewed-by: Wei Wang <wei.w.wang@intel.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kernel/kvm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud