]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Update int_pending also on dequeue
authorAlexander Graf <agraf@suse.de>
Thu, 5 Aug 2010 10:24:40 +0000 (12:24 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:14 +0000 (10:52 +0200)
commite2f260b527f79c87b218c4d320d17a7accb2fb08
tree8d474d9652d47e5287386e0c6ee6482554ad94a0
parent3c784ff15e22c0004648cf9919c6518eea6baea8
KVM: PPC: Update int_pending also on dequeue

When having a decrementor interrupt pending, the dequeuing happens manually
through an mtdec instruction. This instruction simply calls dequeue on that
interrupt, so the int_pending hint doesn't get updated.

This patch enables updating the int_pending hint also on dequeue, thus
correctly enabling guests to stay in guest contexts more often.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s.c