From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM9pp-0000nf-Rt for qemu-devel@nongnu.org; Tue, 26 Aug 2014 02:02:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XM9pl-0001SW-NV for qemu-devel@nongnu.org; Tue, 26 Aug 2014 02:02:25 -0400 Date: Tue, 26 Aug 2014 15:39:52 +1000 From: David Gibson Message-ID: <20140826053952.GP9923@voom.redhat.com> References: <20140825134353.2361.52046.stgit@aravindap> <20140825134526.2361.74648.stgit@aravindap> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8G1nIWD3RY794FAy" Content-Disposition: inline In-Reply-To: <20140825134526.2361.74648.stgit@aravindap> Subject: Re: [Qemu-devel] [PATCH 2/5] target-ppc: Register and handle HCALL to receive updated RTAS region List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aravinda Prasad Cc: qemu-ppc@nongnu.org, benh@au1.ibm.com, aik@au1.ibm.com, qemu-devel@nongnu.org, paulus@samba.org --8G1nIWD3RY794FAy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 25, 2014 at 07:15:26PM +0530, Aravinda Prasad wrote: > Receive updates from SLOF about the updated rtas-base. > A separate patch for SLOF [1] adds functionality to invoke a > 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. This also seems really awkward. Specifically it seems like a rather arbitrary and complex division of what qemu's responsible for and what SLOF is responsible for. Instead I'd suggest that we add an H_INSTANTIATE_RTAS hcall, and we move the loading of the spapr-rtas blob from normal reset to when that hcall is invoked. --=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 --8G1nIWD3RY794FAy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT/B2oAAoJEGw4ysog2bOSu1AP/j7alUlArW3zbmuw3ItVSU9N vntxDh8uYuiUVJijXhj6xzJzeJcXsCMZTAbwQ+Bv6Oo6kerkwIb9Xf1q2eI3U72B wZzisQT8pn+HzBzGhDPmSOW/GzXABkXiYYtJfhLdJaH4jd8XJ19nSS8F4bfCapUH 2GAoiB2sIIwvOSJBu9MG4FkrmMjgbCmsYBQ8lc0WEjQ4w1yXdAIkmdn7Dl0dBqxS tW+22zeiZrVWZzb7RvBBsYKjsCiNAnAoLjAMmQPDJGGqxnseOIk223CfiWLIBOjB wgB47KvpvIZFQtRFrwPKJ+XaWYVmTJACtYe6hWzRa48DjeNVOe3FGjqRjg0aYS+W v5rp02EGCOXszlX7g7SIqN8iNEUwJEFDZGhj8Tjvnlkfp7eLFGxol2ZGmUUyj/1k 6f+fpKmCsY0/nCwNAOcSZI9LN0nXcGOIbS8hiLh9Jdpg43NPdktM+qQAzd83kx1k CCFPo9wqnTn8/jtqrfykOaQWo0ZzjOLUm65BQ2B1jmQXbiOYFzbg/fYvq0ykCujV jzkeIrrjqFG24naJgdOPgfD8ebmEG+C90WDje1Mb4bljFJYn9awCHIUVykGKKQ8r jAfYm0i09c0K6Hw9rvb2t7PC+0FQQkmGP/pyFXl3LlRF4hmRmNCzxX3vHV/HXe80 LC9KR7V7JAHoMPke/j/+ =qnuD -----END PGP SIGNATURE----- --8G1nIWD3RY794FAy--