From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtozG-0004MY-Fr for qemu-devel@nongnu.org; Tue, 03 Nov 2015 22:43:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtozF-0002Pv-50 for qemu-devel@nongnu.org; Tue, 03 Nov 2015 22:43:50 -0500 Date: Wed, 4 Nov 2015 14:16:05 +1100 From: David Gibson Message-ID: <20151104031605.GG21954@voom.redhat.com> References: <1445608598-24485-1-git-send-email-mark.cave-ayland@ilande.co.uk> <1445608598-24485-7-git-send-email-mark.cave-ayland@ilande.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gvF4niNJ+uBMJnEh" Content-Disposition: inline In-Reply-To: <1445608598-24485-7-git-send-email-mark.cave-ayland@ilande.co.uk> Subject: Re: [Qemu-devel] [PATCH 06/13] cuda.c: implement simple CUDA_GET_6805_ADDR command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Cave-Ayland Cc: cormac@c-obrien.org, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, agraf@suse.de --gvF4niNJ+uBMJnEh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 23, 2015 at 02:56:31PM +0100, Mark Cave-Ayland wrote: > This simply returns an empty response with no error status. >=20 > Signed-off-by: Mark Cave-Ayland Assuming the previous changes are correct, Reviewed-by: David Gibson > --- > hw/misc/macio/cuda.c | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c > index 88a0999..4fe901b 100644 > --- a/hw/misc/macio/cuda.c > +++ b/hw/misc/macio/cuda.c > @@ -499,6 +499,9 @@ static void cuda_receive_packet(CUDAState *s, > } > cuda_send_packet_to_host(s, obuf, 3); > break; > + case CUDA_GET_6805_ADDR: > + cuda_send_packet_to_host(s, obuf, 3); > + break; > case CUDA_SET_TIME: > ti =3D (((uint32_t)data[1]) << 24) + (((uint32_t)data[2]) << 16)= + (((uint32_t)data[3]) << 8) + data[4]; > s->tick_offset =3D ti - (qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) /= get_ticks_per_sec()); --=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 --gvF4niNJ+uBMJnEh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWOXh0AAoJEGw4ysog2bOSV6wP+gJMkrNBNPNXbxV6BFFy71ol cUCXEiwJELs1kn4eM4IXn1iDJeW4xy+D0sTkthvak7mmwMTS/pwR2htQq9uvaOCn +X1RoquIj+FEEIaQQLviO683E/Du4LsXjKaUafygWhsYkVWtcRa+F4970m5zS123 suRCkMIzoD21ChgAsHEeKIXCnJ0SwfHKqLXUFc/58Gh+XORwITg7lMr0tOMqyFR/ blP24qqoqKqJ0oqVckSIj/kA/5RXT5az/ZGzsId1wVKSRQRVzf7i4IVwq/1aF5UD y+cLiBArsmdwTLs7tfFSqeXgZk6KVjjfpZu/c6eU5UiEPnf8NSJo6MwTmwcKM9v9 0TOVUGPAdTLNQBsJ7yIMExODZjoxMYUuf4EHmhZqWnCrooDdUZDjRabuIzpmh9ry X8DqmDxuPs+WSg8r8V5Ycff5TDt7ZTHMoF3idVWQ846VKkQ3acqzwozXtT2ZYXxA I0rySZFoMcWq9uAJftLjnK5JtFq2H2gQkHZfL63JrB77yaV0xoQgq2wfKd8PjkMi XtUYNRgoDnZ353yLpF2k1uXd30kKHu/X6SCC/2BCyi6o9GdlnV3BqXQkErsN1zMz MWANNH1RyRLQz8RUv/8DpWGtn/HUwtnGhK5pS6OzDyOaOzpu6ps/kO1tgn5bPjju zV7ISIY5m7ctA6f77Cqi =ALSv -----END PGP SIGNATURE----- --gvF4niNJ+uBMJnEh--