Re: [PATCH] kvm: apic: Flush TLB after APIC mode/address change if VPIDs are in use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 26, 2018 at 1:09 PM, Junaid Shahid <junaids@xxxxxxxxxx> wrote:
> 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@xxxxxxxxxx>

Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux