Received: from eggs.gnu.org ([2001:4830:134:3::10]:56920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHxam-00063I-Fq for qemu-devel@nongnu.org; Thu, 14 Aug 2014 12:09:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHxag-0001za-C0 for qemu-devel@nongnu.org; Thu, 14 Aug 2014 12:09:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHxag-0001zK-4b for qemu-devel@nongnu.org; Thu, 14 Aug 2014 12:09:26 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7EG9Ppd007091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 14 Aug 2014 12:09:25 -0400 Date: Thu, 14 Aug 2014 17:09:23 +0100 From: Stefan Hajnoczi Message-ID: <20140814160923.GE24132@stefanha-thinkpad.redhat.com> References: <1407966975-3723-1-git-send-email-jsnow@redhat.com> <1407966975-3723-6-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3O1VwFp74L81IIeR" Content-Disposition: inline In-Reply-To: <1407966975-3723-6-git-send-email-jsnow@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 29/32] ahci: properly shadow the TFD register List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: mst@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com --3O1VwFp74L81IIeR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 13, 2014 at 05:56:12PM -0400, John Snow wrote: > @@ -497,6 +495,8 @@ static void ahci_reset_port(AHCIState *s, int port) > pr->scr_stat = 0; > pr->scr_err = 0; > pr->scr_act = 0; > + pr->tfdata = 0x7F; Is it possible to avoid the magic number? --3O1VwFp74L81IIeR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT7N8zAAoJEJykq7OBq3PI3WsIAMr6BLHcFRov4iFa6l/JnZxL B68Od0r4zfGB/Bf7K8LhGdL0OUP86fb3s9zY6iii+ffEPfCaenNoB+2OOcQM/BXl dLYXzVldlYobLbo6wT6QX5SkpaPJxA01TNHrciWgtzsqJM9KvKhU+xiqVFQcs8L2 gpTP6kmvuGfji8cNmioWXzysA4p1dNemG5ugvZZON6JhisvdqeyourNhoW8lPhUC UnpzOdl8Wffx6yUaBf3slsPk8XZP6IpFdA0HrfEALw8ivwxDRD/1z+PQ1XhbFiy2 0PQcmKhUHDG6I0JQYgZvyn7SNWg9A3aQLXjgpja4mZmVXqeoqqJWxgSUFo5r73M= =4aF2 -----END PGP SIGNATURE----- --3O1VwFp74L81IIeR--