]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/platform/UV: Add UV MMR Illegal Access Function
authorMike Travis <travis@sgi.com>
Fri, 29 Apr 2016 21:54:06 +0000 (16:54 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 27 Feb 2017 01:23:54 +0000 (17:23 -0800)
commit134acef2c0caf55afdc5593c95f6badc411bb74c
tree53691a80c6f89d0b2516868abe8407678cbc296c
parent3f179c61262382ada4bbbebbc77d0a6517724467
x86/platform/UV: Add UV MMR Illegal Access Function

Orabug: 25477822

This new function is generated by the UV MMR generation script to
identify MMR registers and fields that are not defined for a specific
UV architecture.  With this switch, the immediate panic can be replaced
with a message and a bad return value allowing either hardware or the
emulator to diagnose the problem.  It allows functions common to some
UV arches to use common defines that might not be fully defined for all
arches, as long as they do not reference them on the unsupported arches.

Tested-by: John Estabrook <estabrook@sgi.com>
Tested-by: Gary Kroening <gfk@sgi.com>
Tested-by: Nathan Zimmer <nzimmer@sgi.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Dimitri Sivanich <sivanich@sgi.com>
Cc: Andrew Banman <abanman@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russ Anderson <rja@sgi.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20160429215403.231926687@asylum.americas.sgi.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit 7563421b13da21dd7a947f658b5299e65ed95cbe)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
arch/x86/kernel/apic/x2apic_uv_x.c