From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934042AbcLMTkP (ORCPT ); Tue, 13 Dec 2016 14:40:15 -0500 Received: from gate.crashing.org ([63.228.1.57]:56565 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753313AbcLMTkJ (ORCPT ); Tue, 13 Dec 2016 14:40:09 -0500 Date: Tue, 13 Dec 2016 13:15:14 -0600 From: Segher Boessenkool To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Scott Wood , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [RFC 1/2] powerpc/32: Unset MSR RI in exception epilogs Message-ID: <20161213191514.GJ30845@gate.crashing.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 13, 2016 at 07:19:41PM +0100, Christophe Leroy wrote: > At exception prologs, once SRR0 and SRR1 have been saved, MSR RI is > set to mark the interrupt as recoverable. > > MSR RI has to be unset before writing into SRR0 and SRR1 at exception > epilogs. Why? What goes wrong without this? Etc. Segher