From patchwork Mon Sep 21 08:55:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Avi Kivity X-Patchwork-Id: 49009 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8L8tmC1027906 for ; Mon, 21 Sep 2009 08:55:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755478AbZIUIzl (ORCPT ); Mon, 21 Sep 2009 04:55:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755472AbZIUIzl (ORCPT ); Mon, 21 Sep 2009 04:55:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3845 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755442AbZIUIzh (ORCPT ); Mon, 21 Sep 2009 04:55:37 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8L8tfLm020997 for ; Mon, 21 Sep 2009 04:55:41 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8L8tdex003759; Mon, 21 Sep 2009 04:55:40 -0400 Received: from localhost.localdomain (cleopatra.tlv.redhat.com [10.35.255.11]) by cleopatra.tlv.redhat.com (Postfix) with ESMTP id B2DEB25004D; Mon, 21 Sep 2009 11:55:38 +0300 (IDT) From: Avi Kivity To: kvm@vger.kernel.org Cc: Marcelo Tosatti Subject: [PATCH QEMU-KVM 1/7] test: issue EOI after IPI Date: Mon, 21 Sep 2009 11:55:32 +0300 Message-Id: <1253523338-22784-2-git-send-email-avi@redhat.com> In-Reply-To: <1253523338-22784-1-git-send-email-avi@redhat.com> References: <1253523338-22784-1-git-send-email-avi@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Otherwise, we can't take more than one IPI. Signed-off-by: Avi Kivity --- kvm/user/test/lib/x86/smp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kvm/user/test/lib/x86/smp.c b/kvm/user/test/lib/x86/smp.c index a3a5472..25f0cae 100644 --- a/kvm/user/test/lib/x86/smp.c +++ b/kvm/user/test/lib/x86/smp.c @@ -14,6 +14,7 @@ static volatile int ipi_done; static __attribute__((used)) void ipi() { ipi_function(ipi_data); + apic_write(APIC_EOI, 0); ipi_done = 1; }