From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMx2j-00076u-IN for qemu-devel@nongnu.org; Thu, 28 Aug 2014 06:35:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMx2W-0001bm-9W for qemu-devel@nongnu.org; Thu, 28 Aug 2014 06:35:01 -0400 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:51005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMx2S-0001bC-KK for qemu-devel@nongnu.org; Thu, 28 Aug 2014 06:34:48 -0400 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 28 Aug 2014 20:34:38 +1000 Message-ID: <1409222067.25772.200.camel@pasglop> From: Benjamin Herrenschmidt Date: Thu, 28 Aug 2014 20:34:27 +1000 In-Reply-To: <1409221991.25772.198.camel@pasglop> References: <20140825134353.2361.52046.stgit@aravindap> <20140825134535.2361.37728.stgit@aravindap> <53FDA9EB.5010301@suse.de> <53FEC868.9060009@linux.vnet.ibm.com> <53FEEA0A.4060204@suse.de> <1409221308.25772.194.camel@pasglop> <53FF0483.3060806@suse.de> <1409221991.25772.198.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 3/5] target-ppc: Build error log List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-ppc@nongnu.org, Aravinda Prasad , aik@au1.ibm.com, qemu-devel@nongnu.org, paulus@samba.org On Thu, 2014-08-28 at 20:33 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2014-08-28 at 12:29 +0200, Alexander Graf wrote: > > > > On 28.08.14 12:21, Benjamin Herrenschmidt wrote: > > > On Thu, 2014-08-28 at 10:36 +0200, Alexander Graf wrote: > > > > > >> So why not put it at 0x7000 then? > > > > > > Because PAPR says it has to be inside RTAS iirc > > > > Please show me the section of PAPR that does say so. > > Actually, we should probably support both options: > > PAPR V2.7 > > 7.3.14 Firmware Assisted Non-Maskable Interrupts Option (FWNMI) > > << > The difference between ibm,nmi-register and ibm,nmi-register-2 is that > ibm,nmi-register allocates the error reporting > structure in RTAS space while ibm,nmi-register-2 places the error > reporting structure in real page 7. New OS designs > should use ibm,nmi-register since support for ibm,nmi-register-2 will be > terminated at some future date. > >> Also of interest: << As with all first level interrupt service routines, the SPRG-2 register is used to save the state of one general purpose register while the processor computes the location of its state save area. >> Cheers, Ben. > > Cheers, > Ben. >