]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
KVM: LAPIC: Make lapic timer unpinned
authorWanpeng Li <wanpengli@tencent.com>
Sat, 6 Jul 2019 01:26:50 +0000 (09:26 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 17 Jul 2019 16:21:22 +0000 (18:21 +0200)
commit4d151bf3b89e71490e69defc811579b2bde617e2
treef5301385e5640fa6579c5f38dd59e8ff5b835ec1
parent4d1a082da968ff0c9d7b69a7ec44e6be6fc6e213
KVM: LAPIC: Make lapic timer unpinned

Commit 61abdbe0bcc2 ("kvm: x86: make lapic hrtimer pinned") pinned the
lapic timer to avoid to wait until the next kvm exit for the guest to
see KVM_REQ_PENDING_TIMER set. There is another solution to give a kick
after setting the KVM_REQ_PENDING_TIMER bit, make lapic timer unpinned
will be used in follow up patches.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/x86.c