From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: [kvm-unit-tests PATCH v2 00/14] ppc64: initial drop Date: Mon, 15 Feb 2016 09:43:10 +1100 Message-ID: <20160214224310.GF2732@voom.fritz.box> References: <1454957594-30601-1-git-send-email-drjones@redhat.com> <56BC8E79.7050409@redhat.com> <20160211152951.ydfr5xqpcbkzu27y@hawk.localdomain> <56BCBA50.6080900@redhat.com> <20160211172210.xcwrvz3dfp7kdnzi@hawk.localdomain> <56BCC92A.4060108@redhat.com> <20160212100633.whdxq6pnsdsfu2e2@hawk.localdomain> <56BDB484.6020303@redhat.com> <20160212105751.kwc5v6ogijncntwv@hawk.localdomain> <20160212134420.255vmjqcxrdhqxxc@hawk.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgApRN/oydYDdnYz" Cc: Laurent Vivier , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, thuth@redhat.com, dgibson@redhat.com, agraf@suse.de, pbonzini@redhat.com To: Andrew Jones Return-path: Received: from ozlabs.org ([103.22.144.67]:32774 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752589AbcBOAEK (ORCPT ); Sun, 14 Feb 2016 19:04:10 -0500 Content-Disposition: inline In-Reply-To: <20160212134420.255vmjqcxrdhqxxc@hawk.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: --OgApRN/oydYDdnYz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 12, 2016 at 02:44:20PM +0100, Andrew Jones wrote: > On Fri, Feb 12, 2016 at 11:57:51AM +0100, Andrew Jones wrote: > > On Fri, Feb 12, 2016 at 11:31:32AM +0100, Laurent Vivier wrote: > > > I have nothing at all. It hangs. > >=20 > > Damn. I'll need to get a machine where the problems reproduce to debug. >=20 > I got a machine, an lpar, so using kvm_pr. I immediately hit a problem. > Hung, no output. I was hitting the assert you found earlier, due to > assuming a single memory region. The lack of output and rtas-poweroff were > due to 'sc 1' being broken on this machine. I can fix that by patching > like SLOF does, see [*]. Although I'm not 100% sure how I want to approach > it yet. I'm guessing your test machine was a PowerVM LPAR rather than a KVM LPAR. If you can find a KVM LPAR (IBM host or RHEV host, doesn't matter) things should work better. KVM includes a hack for this situation: an sc 1 coming from guest usermode is redirected to the guest kernel, instead of immediately returning H_PRIVILEGE, which allows the L0 guest / L1 host's kvm_pr to handle it. > There are enough things to fix now that I should probably spin another > version before you bother retesting on the PowerMac. I'll pull something > together soon. >=20 > Thanks, > drew >=20 > [*] http://git.qemu-project.org/?p=3DSLOF.git;a=3Dpatch;h=3Ddd53579ae82be= d0654dd3e4b3052ef2cac58b5f4 >=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 --OgApRN/oydYDdnYz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWwQL9AAoJEGw4ysog2bOSaj4P/25GqcvBi7NKi1TVPrzDwW7G XSRvAuci9H8YKNvhS48WJkQAs4SXrS5sLZlLEAhadRJhoRMK2gaAr9580IZwXoI4 I5mUpGwVIAOyY5KCAboAN08/1i/3z+ed0vL8LKN6XcQEvuga/BxrBEIqtCRK+7O9 VWig2mr422yqAzjagp99XuutWywrUFFpJGnNiqJiLzrn6l3wY+XJ/10rWeTXK9ww BhvGreCHZeHc40oQzm35srefmoe81c45x+t5x2iod5fyb55KUeWc1ziQl1FV43Ka bn5qMW8CQMi5NccjXL+hwC5/r5pO+W9DHdaOfgEVv7U52nR+9RB4oXDvPrXGdEDx 8GeqCG57zisRYJiDqgdxWnLI+6VsZrORqcmmLd/bS1dXqu9ivKzL11zq80i6+ATB 3spgW7Bw6liJgC3vTOwFyOxJQcX49kWOmYUZoLb3YqcrzsucBM5xoafuyGXVVmt+ 1r03lHoWlQ8r7KZOttpqLkLCJ+pctkR5R8rLynrgWAsZg8G2Ni5rxmSmTfzSblaz m9GaR8nX8vTGm/eJg7fIPN/8sr+bG63jKJv03fqtvFwtgUmyZqW0Tvz8dvtwTPpP OB8636tuBaOMzoj0wWUXSn1Xlbjn5M5aQSJlfU7qt3Ul4hBr7PyODu5tuY0l2lzi QVaejaE00zuUiMCwZVca =sBa5 -----END PGP SIGNATURE----- --OgApRN/oydYDdnYz--