summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/emergency-restart.h
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2009-05-27 21:56:51 +0200
committerH. Peter Anvin <hpa@zytor.com>2009-06-03 23:45:33 +0200
commit1b2797dcc9f0ad89bc382ace26c6baafbc7e33c2 (patch)
treeb90669cb65373ca66a673a95c742c36e474b2802 /arch/x86/include/asm/emergency-restart.h
parentx86, mce: make non Monarch panic message "Fatal machine check" too (diff)
downloadlinux-1b2797dcc9f0ad89bc382ace26c6baafbc7e33c2.tar.xz
linux-1b2797dcc9f0ad89bc382ace26c6baafbc7e33c2.zip
x86, mce: improve mce_get_rip
Assume IP on the stack is valid when either EIPV or RIPV are set. This influences whether the machine check exception handler decides to return or panic. This fixes a test case in the mce-test suite and is more compliant to the specification. This currently only makes a difference in a artificial testing scenario with the mce-test test suite. Also in addition do not force the EIPV to be valid with the exact register MSRs, and keep in trust the CS value on stack even if MSR is available. [AK: combination of patches from Huang Ying and Hidetoshi Seto, with new description by me] [add some description, no code changed - HS] Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/emergency-restart.h')
0 files changed, 0 insertions, 0 deletions