diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-04-16 13:32:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-22 07:37:45 +0200 |
commit | 38f114887ca48048a0da736607166a62d5813342 (patch) | |
tree | a9db7f7416805f5544aa20b4711e1fd542fa758f /Makefile | |
parent | 3b5ea2df6cf6b901cea1e6ff050bf5575717a3fd (diff) | |
download | linux-stable-38f114887ca48048a0da736607166a62d5813342.tar.gz linux-stable-38f114887ca48048a0da736607166a62d5813342.tar.bz2 linux-stable-38f114887ca48048a0da736607166a62d5813342.zip |
KVM: lapic: Busy wait for timer to expire when using hv_timer
commit ee66e453db13d4837a0dcf9d43efa7a88603161b upstream.
...now that VMX's preemption timer, i.e. the hv_timer, also adjusts its
programmed time based on lapic_timer_advance_ns. Without the delay, a
guest can see a timer interrupt arrive before the requested time when
KVM is using the hv_timer to emulate the guest's interrupt.
Fixes: c5ce8235cffa0 ("KVM: VMX: Optimize tscdeadline timer latency")
Cc: <stable@vger.kernel.org>
Cc: Wanpeng Li <wanpengli@tencent.com>
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions