All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: kvm@vger.kernel.org
Cc: drjones@redhat.com, pbonzini@redhat.com, rkrcmar@redhat.com,
	peterx@redhat.com
Subject: [kvm-unit-tests PATCH v2 1/2] x86: apic: eoi() for deadline timer isr
Date: Wed, 21 Sep 2016 13:09:41 +0800	[thread overview]
Message-ID: <1474434582-21431-2-git-send-email-peterx@redhat.com> (raw)
In-Reply-To: <1474434582-21431-1-git-send-email-peterx@redhat.com>

Otherwise the next LVT timer interrupt will be dropped (though we still
do not have a "next" yet, but that's not a reason for not eoi()ing).

Signed-off-by: Peter Xu <peterx@redhat.com>
---
 x86/apic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x86/apic.c b/x86/apic.c
index 5fc83c6..3a30f0f 100644
--- a/x86/apic.c
+++ b/x86/apic.c
@@ -25,6 +25,7 @@ static int tdt_count;
 static void tsc_deadline_timer_isr(isr_regs_t *regs)
 {
     ++tdt_count;
+    eoi();
 }
 
 static void __test_tsc_deadline_timer(void)
-- 
2.7.4


  reply	other threads:[~2016-09-21  5:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21  5:09 [kvm-unit-tests PATCH v2 0/2] x86: apic: add LVTT test Peter Xu
2016-09-21  5:09 ` Peter Xu [this message]
2016-09-21  5:09 ` [kvm-unit-tests PATCH v2 2/2] x86: apic: add LVT timer test Peter Xu
2016-09-21  8:10   ` Andrew Jones
2016-09-21  8:12 ` [kvm-unit-tests PATCH v2 0/2] x86: apic: add LVTT test Andrew Jones
2016-09-22 22:41 ` Radim Krčmář

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474434582-21431-2-git-send-email-peterx@redhat.com \
    --to=peterx@redhat.com \
    --cc=drjones@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.