From: Avi Kivity <avi@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm@vger.kernel.org
Subject: [PATCH 2/3] test: use new apic_icr_write() to issue IPI
Date: Mon, 14 Sep 2009 16:02:27 +0300 [thread overview]
Message-ID: <1252933348-17002-3-git-send-email-avi@redhat.com> (raw)
In-Reply-To: <1252933348-17002-1-git-send-email-avi@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
---
kvm/user/test/x86/apic.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kvm/user/test/x86/apic.c b/kvm/user/test/x86/apic.c
index 72dd963..fdeec4c 100644
--- a/kvm/user/test/x86/apic.c
+++ b/kvm/user/test/x86/apic.c
@@ -260,8 +260,8 @@ static void test_self_ipi(void)
set_idt_entry(vec, self_ipi_isr);
irq_enable();
- apic_write(APIC_ICR,
- APIC_DEST_SELF | APIC_DEST_PHYSICAL | APIC_DM_FIXED | vec);
+ apic_icr_write(APIC_DEST_SELF | APIC_DEST_PHYSICAL | APIC_DM_FIXED | vec,
+ 0);
asm volatile ("nop");
report("self ipi", ipi_count == 1);
}
--
1.6.4.1
next prev parent reply other threads:[~2009-09-14 13:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 13:02 [PATCH 0/3] Add x2apic mode to apic test Avi Kivity
2009-09-14 13:02 ` [PATCH 1/3] test: Use function table for APIC access Avi Kivity
2009-09-14 13:02 ` Avi Kivity [this message]
2009-09-14 13:02 ` [PATCH 3/3] test: add x2apic test Avi Kivity
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=1252933348-17002-3-git-send-email-avi@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@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.