x86, UV: Fix NMI handler for UV platforms
commit1d44e8288a0557c28c447d7e511f50d06ff93a34
authorJack Steiner <steiner@sgi.com>
Mon, 9 May 2011 16:35:19 +0000 (9 11:35 -0500)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 May 2011 07:26:55 +0000 (10 09:26 +0200)
treefbda66cbc2a229e236a6fa439b57b233b6397d97
parent693d92a1bbc9e42681c42ed190bd42b636ca876f
x86, UV: Fix NMI handler for UV platforms

This fixes problems seen on UV systems handling NMIs from the
node controller.

I isolated the "dazed..." messages that I saw earlier to a bug in
the BMC on our platform. It was sending NMIs w/o properly setting
a register that indicated the source of NMI.

So rather than _assuming_ any unhandled NMI came from the UV system
maintenance console (SMC), add a check to verify that the SMC actually
sent the NMI.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Cc: gorcunov@gmail.com
Cc: dzickus@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/uv/uv_hub.h
arch/x86/include/asm/uv/uv_mmrs.h
arch/x86/kernel/apic/x2apic_uv_x.c