From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwmK8-0005SK-IL for qemu-devel@nongnu.org; Thu, 12 Nov 2015 02:29:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwmK4-0000OJ-Az for qemu-devel@nongnu.org; Thu, 12 Nov 2015 02:29:36 -0500 Date: Thu, 12 Nov 2015 18:23:34 +1100 From: David Gibson Message-ID: <20151112072334.GE4886@voom.redhat.com> References: <20151111171135.4328.41819.stgit@aravindap> <20151111171530.4328.37008.stgit@aravindap> <20151112034241.GL5852@voom.redhat.com> <87egfv4wh0.fsf@abhimanyu.in.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lkTb+7nhmha7W+c3" Content-Disposition: inline In-Reply-To: <87egfv4wh0.fsf@abhimanyu.in.ibm.com> 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: Nikunj A Dadhania Cc: benh@au1.ibm.com, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, sam.bobroff@au1.ibm.com, Aravinda Prasad , paulus@samba.org --lkTb+7nhmha7W+c3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 12, 2015 at 10:58:59AM +0530, Nikunj A Dadhania wrote: > David Gibson writes: >=20 > > 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. > >>=20 > >> 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. > >>=20 > >> [1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/120386= =2Ehtml > >>=20 > >> 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. >=20 > The patch is already part of SLOF tree and is there in qemu: >=20 > commit f9a60de30492863811c2cdf6f28988c9e8a2c3d9 > Author: Nikunj A. Dadhania > Date: Mon Aug 25 18:30:10 2014 +0530 >=20 > Add private HCALL to inform updated RTAS base and entry > =20 > 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. > =20 > Enhancements to qemu to handle the private HCALL, prepare > error log and invoke machine check notification routine > are in a separate patch. > =20 > Signed-off-by: Nikunj A. Dadhania > Signed-off-by: Aravinda Prasad > Signed-off-by: Nikunj A Dadhania Ah, ok. Thanks. --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --lkTb+7nhmha7W+c3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWRD52AAoJEGw4ysog2bOS+RcP/j/YDcE5dF8QyWTnHh3aQfau d6UibQ8HIyPvPa9kFJ0aqcE07efd6mWrWa/+Br3mx7UOXsi4h5hyfS3jQb6JiQMJ RY4lEYCQZExmlxr/Fd3yZHyNWz5GJihTW62uC3YwH1Pw1UbLNLuy9LgyKIb6IUQn Z6IHyLCrtPtremj1xIUj4rCkX5EgHFFncJg1UlL9DiCLFi8SjRjT1WfLohVXaMJ6 U6hrKASe+yCnwcgyvLIojbWy2vWhIqZhXwxaoo9C4I3lEKTBO/EuKrK1DQoopCY9 D947nuLYk9jyS5bM7vLrqObtOY8OBMoqtxG2ZcVM26/MIG++DmcP5l3KNSpzbn1o 9zrUOzG50d6EJGxE/S8xIrp7yVoQhhU/eWuQi1vzOQROwkMGtRv85dh47cGGkWQZ oq1t+XQ9IFURF1qlX9+bMiG2lf29VeqyHoj1gjICuXrtfh17isfosm5JfDzcOM8D wAZHQbhdPooANiiJL5J1ZZxWCoQ/DW+k6HV0Ga34u6gXXo8lWmzTWBJ3iBRN5pNY eGtStJ7OlIVkWv4+iHFQs7uWJKJruTuqZeXORuStLqljeBZC00Qi88ucQfpt2Wny LIu/cDNE5mOi33hw1iFv5T5IF4QnDoCvVlDIxnJkOcyirTVtT2mbPUmgXZssBKly uHpx5Pek020+dOlpk/FT =N/2F -----END PGP SIGNATURE----- --lkTb+7nhmha7W+c3--