[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.