From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU1p4-0000zv-CP for qemu-devel@nongnu.org; Thu, 11 Feb 2016 19:43:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU1p0-00014H-5Z for qemu-devel@nongnu.org; Thu, 11 Feb 2016 19:42:58 -0500 Date: Fri, 12 Feb 2016 11:31:16 +1100 From: David Gibson Message-ID: <20160212003116.GB2732@voom.fritz.box> References: <1455194841-4283-1-git-send-email-thuth@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a2FkP9tdjPU2nyhF" Content-Disposition: inline In-Reply-To: <1455194841-4283-1-git-send-email-thuth@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/4] hw/ppc/spapr: Add "Processor Register Hypervisor Resource Access" H-calls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org --a2FkP9tdjPU2nyhF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 11, 2016 at 01:47:17PM +0100, Thomas Huth wrote: > While we were recently debugging a problem with the H_SET_DABR > call [1], I noticed that some hypercalls from the chapter 14.5.4.3 > ("Processor Register Hypervisor Resource Access") from the LoPAPR > spec [2] are still missing in QEMU. > So here's are some patches that implement these hypercalls. Linux > apparently does not depend on these hypercalls yet (otherwise somebody > would have noticed this earlier), but the hypercalls are rather simple, > so I think the implementations are quite straight-forward and easy to > read. >=20 > v2: > - Don't use set_spr() and set cpu->env.spr[] directly instead > - Completely reworked the H_PAGE_INIT patch to map the source > and target pages for higher speed, and to be able to flush now > the caches if requested. I've merged 1-3 into ppc-for-2.6. My only concern with those is whether we need to be setting some extra flags in the ibm,hypertas property now that they are implemented. I still have some comments on 4/4. --=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 --a2FkP9tdjPU2nyhF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWvSfUAAoJEGw4ysog2bOSH7sP/iF/rlaydS+hvLPk8DP+TWuk RqF+0ZLiGQHsMJMIPJ4E1pjyWSRRSTtmTK5Qh7l7Dlb/KiPC8yHKyoj1VowLX6Mw 31CcZx5gdLYVokeT62qLOp1qqq9k+BRCbAqzrdzmtI+7+dNArgSABn8HD9kdRav2 De2EqtSEVyBeFM89znJZX7sfhLMMCJktRkbM8Ql2kZO8Sig59bskNnQSEBRC+BI0 SPo/qM41SX91iY93FekoSNAE3KiH8jzVXbCP0JlhajObf3s0maxZeE4GnKsyrPGC ffHzjTIMktC2dNukSY4nqmBasuT/1ANnKIkEf3usE52a9t0hFwM+hXMv8fydtv62 AJH0oR+SFq45pf3PjrbJxqF0d6PKzHprB3eY7LrfVf0ZHgIXP9x8EAAMCnpdIVDI bcFYcrQM4AMkr4Mik64nS27agvcAuNENeiVGcEWNWN5Y2KzZoOVbrXoLuCsGGNgI tCzPXT8817lzlQJt7FDC9yztmeuFDe8WJPSA1ud5/StVkGAAoa44MFYnSiQx2FUv DCnrX8fPM2UEO1JOcr7su3x1Sj0rvI3hBmL4f80U1ozL3iOHg9nlOTEYE8Q7CBLG +taKa6NtYjaelUDJLhBZYOBSE803wLYiUjK8VZDFqOMPcAE+Mj0KjdaCeeDYo2SQ CMNCAIzjXVhUQAVAiIGL =GKs+ -----END PGP SIGNATURE----- --a2FkP9tdjPU2nyhF--