From: Mahesh Salgaonkar Date: Wed, 30 Oct 2013 14:36:13 +0000 (+0530) Subject: powerpc/powernv: Machine check exception handling. X-Git-Tag: v3.14-rc1~80^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b63a0ffe35de7e5f9b907bbc2c783e702f7e15af;p=pandora-kernel.git powerpc/powernv: Machine check exception handling. Add basic error handling in machine check exception handler. - If MSR_RI isn't set, we can not recover. - Check if disposition set to OpalMCE_DISPOSITION_RECOVERED. - Check if address at fault is inside kernel address space, if not then send SIGBUS to process if we hit exception when in userspace. - If address at fault is not provided then and if we get a synchronous machine check while in userspace then kill the task. Signed-off-by: Mahesh Salgaonkar Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed