Skip to contentSkip to conversation

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

DISCUSSION Xiaodong Yi 1 participant 1 message May 9, 2009

lore
Share & tools
lore
#0 lore raw

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