From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 43A7C2C00AD for ; Thu, 8 Aug 2013 23:33:52 +1000 (EST) Message-ID: <1375968782.12551.47.camel@pasglop> Subject: Re: [RFC PATCH 2/9] powerpc: handle machine check in Linux host. From: Benjamin Herrenschmidt To: Mahesh Jagannath Salgaonkar Date: Thu, 08 Aug 2013 23:33:02 +1000 In-Reply-To: <52039AEC.8010006@linux.vnet.ibm.com> References: <20130807093609.5389.26534.stgit@mars.in.ibm.com> <20130807093815.5389.7668.stgit@mars.in.ibm.com> <20130808045143.GC12112@iris.ozlabs.ibm.com> <52039AEC.8010006@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev , Paul Mackerras , Anton Blanchard , Jeremy Kerr List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2013-08-08 at 18:49 +0530, Mahesh Jagannath Salgaonkar wrote: > But, I think I should depend on > evt->disposition==MCE_DISPOSITION_RECOVERED and not play with MSR_RI > and > SRR1. I will fix my code. If MSR:RI is 0, then you have clobbered SRR0/SRR1 beyond repair and probably cannot recover. Ben.