Received: from eggs.gnu.org ([2001:4830:134:3::10]:35393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzcFG-0008IE-Ld for qemu-devel@nongnu.org; Thu, 27 Oct 2016 00:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzcFE-0007Dt-N3 for qemu-devel@nongnu.org; Thu, 27 Oct 2016 00:24:50 -0400 Date: Thu, 27 Oct 2016 14:13:02 +1100 From: David Gibson Message-ID: <20161027031302.GI19918@umbus.fritz.box> References: <1477467341-17552-1-git-send-email-thuth@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k9xkV0rc9XGsukaG" Content-Disposition: inline In-Reply-To: <1477467341-17552-1-git-send-email-thuth@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/2] ppc: Allow "-prom-env" parameter for the pseries machine, too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: Alexander Graf , qemu-ppc@nongnu.org, qemu-devel@nongnu.org --k9xkV0rc9XGsukaG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 26, 2016 at 09:35:39AM +0200, Thomas Huth wrote: > Here's a slightly updated version of the patch that enables the "-prom-en= v" > parameter for the pseries machine. The code is now only executed if > nb_prom_envs > 0. That means if the user did _not_ specify a "-prom-env" > parameter, there is no change in behavior (i.e. SLOF will initialize the > NVRAM instead). This fixes the problem with grub2 not working because it = does > not find the "/options/real-mode?" property in the device tree. >=20 > If you currently want to use the "-prom-env" parameter and grub2 together, > you simply have to specify -prom-env "real-mode?=3Dtrue" to get it workin= g. > This will be fixed by a later update to SLOF, so that you then do not hav= e to > specify this explicitely anymore. >=20 > The second patch adds a test case for the -prom-env parameter on the > pseries machine. >=20 > The patches have to be applied on top of David's ppc-for-2.8 branch since > they rely on the chrp_nvram rework patches that are queued there. Applied to ppc-for-2.8, replacing earlier versions. >=20 > Thomas Huth (2): > spapr_nvram: Pre-initialize the NVRAM to support the -prom-env > parameter > tests: Add pseries machine to the prom-env-test, too >=20 > hw/nvram/spapr_nvram.c | 6 ++++++ > tests/prom-env-test.c | 23 ++++++++++++++--------- > 2 files changed, 20 insertions(+), 9 deletions(-) >=20 --=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 --k9xkV0rc9XGsukaG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYEXC9AAoJEGw4ysog2bOScAQQAMjII3klyyakUFcGRGQFSML0 BR16p6N9umbelcnAE3LES5225YbONkyZY43sGPQnxjU2BLPe+nXue6zVm1RMGckb 43WWY3ppKsXtg2xgNZkf7OpXXU4IhvmyriNFtPCPv7j1MEjbneaoX6uusuehua07 WdrKiWmgvDETPylZ7j03igu12OeqadISgVCTfqUcCYRhfPBkpVgvbzqaneKqmirp rmh2HSeXdwQYh0Jg8hsbJIGBhdgt/IsK+91J5HLnzbdeYAhPsxsdFkIBdQM0qnGI +ewqI79PbSCaIrzIBmxUgmbvit2zGA0pbdQNYWGSo5rWmvCso6xqFNGXw+51sMIj ZHJR/l25S8Fairb8LkD7K5VmtykrgoLdScDrHQVsNwmiAR35+Om+wI5iD3Pci29T OZtnA9sXGNB3GUQqKKYDP90ocXSDqbBz6OcylzdAm4nUHiAlNRsueD8u6efIyg3Z e85iiJCMmFWFJgj8x+o1RQHHVdY6e3ZpOGfiV4A1Mk5SzK2/WQwb6VpCMFlUhOMx x5yGEbE8xKeOX8HUsUb4lTwLjBccW2xu80sr1yfK5j7lKtGg+4nuPeLXe0SJDOHa /mAvZ28uPZcR6dbDMru0jUBs6z53B8/MGgo30PESxvOYEhubuY8FyHUaGK5LBufN OoIkEwBEUdSdg48A+AqC =If/O -----END PGP SIGNATURE----- --k9xkV0rc9XGsukaG--