aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi
diff options
context:
space:
mode:
authorJunaid Shahid <junaids@google.com>2018-04-26 13:09:50 -0700
committerRadim Krčmář <rkrcmar@redhat.com>2018-04-27 17:44:00 +0200
commita468f2dbf921d02f5107378501693137a812999b (patch)
tree3c2ef3d3a36ce526683aa23e81cb03a71f9e44bb /include/uapi
parentMerge tag 'kvmarm-fixes-for-4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm (diff)
downloadwireguard-linux-a468f2dbf921d02f5107378501693137a812999b.tar.xz
wireguard-linux-a468f2dbf921d02f5107378501693137a812999b.zip
kvm: apic: Flush TLB after APIC mode/address change if VPIDs are in use
Currently, KVM flushes the TLB after a change to the APIC access page address or the APIC mode when EPT mode is enabled. However, even in shadow paging mode, a TLB flush is needed if VPIDs are being used, as specified in the Intel SDM Section 29.4.5. So replace vmx_flush_tlb_ept_only() with vmx_flush_tlb(), which will flush if either EPT or VPIDs are in use. Signed-off-by: Junaid Shahid <junaids@google.com> Reviewed-by: Jim Mattson <jmattson@google.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions