commit | 8e0b2b916662e09dd4d09e5271cdf214c6b80e62 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Sun Aug 05 16:07:46 2018 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Sun Aug 05 17:10:19 2018 +0200 |
tree | 77e5da72764da3c8ead7c72391a369f48adfb606 | |
parent | ea156d192f5257a5bf393d33910d3b481bf8a401 [diff] |
x86/speculation: Use ARCH_CAPABILITIES to skip L1D flush on vmentry Bit 3 of ARCH_CAPABILITIES tells a hypervisor that L1D flush on vmentry is not needed. Add a new value to enum vmx_l1d_flush_state, which is used either if there is no L1TF bug at all, or if bit 3 is set in ARCH_CAPABILITIES. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>