From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ7di-0001iq-DF for qemu-devel@nongnu.org; Mon, 07 Sep 2015 21:24:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZ7df-0001p8-AS for qemu-devel@nongnu.org; Mon, 07 Sep 2015 21:24:02 -0400 Date: Tue, 8 Sep 2015 11:24:11 +1000 From: David Gibson Message-ID: <20150908012411.GH6537@voom.redhat.com> References: <1441186198-991-1-git-send-email-aik@ozlabs.ru> <20150904044826.GQ6537@voom.redhat.com> <55EBD9C1.8030507@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Shs6nLsUBL77Lfu" Content-Disposition: inline In-Reply-To: <55EBD9C1.8030507@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH qemu] spapr: Enable in-kernel H_SET_MODE handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org --3Shs6nLsUBL77Lfu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 06, 2015 at 04:14:25PM +1000, Alexey Kardashevskiy wrote: > On 09/04/2015 02:48 PM, David Gibson wrote: > >On Wed, Sep 02, 2015 at 07:29:58PM +1000, Alexey Kardashevskiy wrote: > >>For setting debug watchpoints, sPAPR guests use H_SET_MODE hypercall. > >>The existing QEMU H_SET_MODE handler does not support this but > >>the KVM handler in HV KVM does. However it is not enabled. > >> > >>This enables the in-kernel H_SET_MODE handler which handles: > >>- Completed Instruction Address Breakpoint Register > >>- Watch point 0 registers. > >> > >>The rest is still handled in QEMU. > >> > >>Reported-by: Anton Blanchard > >>Signed-off-by: Alexey Kardashevskiy > > > >Applied to spapr-dev; I'll move it into spapr-next once it's had a > >little more testing. >=20 > Another thing to keep in mind is that at some point in the past the host > kernel used to handle H_SET_MODE and QEMU did not have the handler at all, > now this functionality is in QEMU but some RHEL kernel could have picked a > kernel with the in-kernel handler. Not one that's supported as a KVM host, I believe. --=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 --3Shs6nLsUBL77Lfu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJV7ji6AAoJEGw4ysog2bOSqm0QAJ6fxDKkAdZvcDWCcUxpbf0h NjHF/ppHA+Qp1cmG1YmBdLJRvP2wgKNyTJY8FN5EPUr0M0GBhoHihrub8hSTOcW9 HCKStt5NVggnUnpU+zILHwmKVzh2MyDjlfKc2Ak7J9jFtr9rwC836DSXy0EkXtLl VmFKDcbxT1FCmK4xO0d6wgyM+p08o7AZdd/5M4ZV6CFjNsDUvIupt+0pCr2XnhAe yVDVZZJ5ccN+l3ZdLdEv/FczrQlrfMwzpOxVpSZktHsec20sH92kCS6ba11aZIcp PIS+B7EQeHveWZslmBkUM+PwF7fa0u6Fs2LfTUoDXbWbkUH8sF7ETVWClw6c3GxK so2mC9iksI/a/KkuE0t7ycqA5pKDMMpqIowwi14+tJTDk0QZe1NxUSyHuXuvmy+p pbbBD/F3475Rqon5lc7KHD0XSNtkc6yPAqZYq2yihL7MsER5dKWdyyu3h+Smh2kn ucdJFSH6gc0wiwy7EtlDUlH3NTVgsCQ/EfhHkiI++ijd5jCIlxtAqPaxPdyyyC4I h94mrdtcFXdTcliUxn878twwKULgFZE96b0bk9w6XjMzCyWKhtkhYkxoarduzLNo tbD2eHnvoYLma9NEaqzacsxQS0p0c0t2cpgPjq/Y253ysG3j2pLqB/3pEik6js+B j7I+8bhF3bKR1KRdzVaU =WKec -----END PGP SIGNATURE----- --3Shs6nLsUBL77Lfu--