Il 04/06/2014 11:33, Peter Maydell ha scritto:
On 4 June 2014 10:30, Alexey Kardashevskiy <[email protected]> wrote:
On 06/04/2014 07:16 PM, Peter Maydell wrote:
On 4 June 2014 09:08, Alexey Kardashevskiy <[email protected]> wrote:
This adds an NMI handler per CPUs. x86, s390 and ppc CPUS are supported.

The change to existing behaviour is that x86 only delivers NMI to
the current monitored CPU now, not to every CPU.

So this series means that the "nmi" command and handler does
 * NMI on x86
 * reset on PPC

The vector is called "reset" but it is an interrupt, and I do not see any
way to mask it.

 * restart on S390

The vector is called "restart" but it is still an interrupt.

So? ARM has an interrupt called "NMI" but there's zero reason
you'd want to poke it from the monitor, any more than you'd
want to try to hand-send any other kind of interrupt.

That doesn't seem generic at all, and suggests this should
not be a common CPU method/callback.

Oh. Ok. Suggestions?

I dunno. What are you actually trying to achieve?

It's a kind of "emergency button" on real machines. On PCs it sends an NMI and this results in some kind of crash dump if the OS is configured appropriately. The command may be ill-named for historical reasons, but the effect is not x86-specific.

Paolo

Reply via email to