Skip to content
Commit 0ea3286e authored by Jingqi Liu's avatar Jingqi Liu Committed by Radim Krčmář
Browse files

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: default avatarJingqi Liu <jingqi.liu@intel.com>
Reviewed-by: default avatarWei Wang <wei.w.wang@intel.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent cd9a491f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment