From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwkRc-0002ZL-C6 for qemu-devel@nongnu.org; Thu, 12 Nov 2015 00:29:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwkRX-0004Iy-4i for qemu-devel@nongnu.org; Thu, 12 Nov 2015 00:29:12 -0500 Received: from e28smtp04.in.ibm.com ([122.248.162.4]:51463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwkRW-0004HX-GA for qemu-devel@nongnu.org; Thu, 12 Nov 2015 00:29:07 -0500 Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 12 Nov 2015 10:59:02 +0530 From: Nikunj A Dadhania In-Reply-To: <20151112034241.GL5852@voom.redhat.com> References: <20151111171135.4328.41819.stgit@aravindap> <20151111171530.4328.37008.stgit@aravindap> <20151112034241.GL5852@voom.redhat.com> Date: Thu, 12 Nov 2015 10:58:59 +0530 Message-ID: <87egfv4wh0.fsf@abhimanyu.in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 2/4] spapr: Register and handle HCALL to receive updated RTAS region List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson , Aravinda Prasad Cc: benh@au1.ibm.com, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, paulus@samba.org, sam.bobroff@au1.ibm.com David Gibson writes: > On Wed, Nov 11, 2015 at 10:45:30PM +0530, Aravinda Prasad wrote: >> Receive updates from SLOF about the updated rtas-base. >> A separate patch for SLOF [1] adds functionality to invoke >> a private HCALL whenever OS issues instantiate-rtas with >> a new rtas-base. >> >> This is required as QEMU needs to know the updated rtas-base >> as it allocates error reporting structure in RTAS space upon >> a machine check exception. >> >> [1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/120386.html >> >> Signed-off-by: Aravinda Prasad > > Reviewed-by: David Gibson > > With the obvious proviso that the SLOF update needs to be merged (both > to SLOF and to qemu) first. The patch is already part of SLOF tree and is there in qemu: commit f9a60de30492863811c2cdf6f28988c9e8a2c3d9 Author: Nikunj A. Dadhania Date: Mon Aug 25 18:30:10 2014 +0530 Add private HCALL to inform updated RTAS base and entry This patch adds a private HCALL to inform qemu the updated rtas-base and rtas-entry address when OS invokes the call "instantiate-rtas". This is required as qemu allocates the error reporting structure in RTAS space upon a machine check exception and hence needs to know the updated RTAS. Enhancements to qemu to handle the private HCALL, prepare error log and invoke machine check notification routine are in a separate patch. Signed-off-by: Nikunj A. Dadhania Signed-off-by: Aravinda Prasad Signed-off-by: Nikunj A Dadhania Regards Nikunj