diff options
author | 2018-07-02 12:47:38 +0200 | |
---|---|---|
committer | 2018-07-04 20:49:38 +0200 | |
commit | a47dd5f06714c844b33f3b5f517b6f3e81ce57b5 (patch) | |
tree | d63eac82760e1c3f71bc300ae0cbaade92c8c0c7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/KVM/VMX: Add module argument for L1TF mitigation (diff) | |
download | linux-dev-a47dd5f06714c844b33f3b5f517b6f3e81ce57b5.tar.xz linux-dev-a47dd5f06714c844b33f3b5f517b6f3e81ce57b5.zip |
x86/KVM/VMX: Add L1D flush algorithm
To mitigate the L1 Terminal Fault vulnerability it's required to flush L1D
on VMENTER to prevent rogue guests from snooping host memory.
CPUs will have a new control MSR via a microcode update to flush L1D with a
single MSR write, but in the absence of microcode a fallback to a software
based flush algorithm is required.
Add a software flush loop which is based on code from Intel.
[ tglx: Split out from combo patch ]
[ bpetkov: Polish the asm code ]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions