WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] How to send inter-processor NMI in Xen on AMD machine?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to send inter-processor NMI in Xen on AMD machine?
From: Xiaodong Yi <xdong.yi@xxxxxxxxx>
Date: Sat, 9 May 2009 09:34:28 +0800
Delivery-date: Mon, 11 May 2009 06:46:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=5fXOhufqtv9qgraLBrhDPx5DidIQqK0snMsNNl1+XVQ=; b=E1zOxe+/KAZDHq8ER34n9k9cW3w5YzvkSk7HOg4KF9LRTT8FRw/yLS8rXxF9lGCZ2H CGWuWaeX5uXhlmOACkyT1n+1MihHH6UNVhKBAjh0gYVoVW1Z2OrcZ/osKCIHzPYncK+3 cTanVj7+zZ5gyrUyyjNUXEBhg9jXstVOEcdHI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=jfziTzkVXsgWzaTeRq1OJYyWF+1F3XzdkYzaVukvBeo3bH/1bmP3oqMUp2v7mAG5sW aqXL0kFEmZaA1s1IEBDdG4eH3QPQpWd2+HZTZnsUhUHpWMT5vyStw3aoAW5C1leyNZwG yXVfHpSDar0tzrP6xClvGQjQRicN91vNeJQEs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

There is a very interesting problem to send the inter-processor NMI in
Xen on an AMD machine. After Xen booted up the SMP processors of the
AMD machine, I found that it is OK to send an NMI from CPU #1 to CPU
#0. But no NMI receives when sending NMI from CPU #0 to CPU #1.
Following the AMD specification, I uses the following statements to
send an NMI:

wait_for_icr_idle();
apic_write_around(APIC_ICR, APIC_DEST_ALLBUT | APIC_DM_NMI);

The about method works very well on many Intel machines. But it does
not work on AMD machine. Is there anyone that knows about it?

Regards,

Xiaodong Yi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How to send inter-processor NMI in Xen on AMD machine?, Xiaodong Yi <=