Received: from eggs.gnu.org ([2001:4830:134:3::10]:57236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fW5qP-0006n1-Le for qemu-devel@nongnu.org; Thu, 21 Jun 2018 16:06:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fW5qL-0004rr-MK for qemu-devel@nongnu.org; Thu, 21 Jun 2018 16:06:13 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:55598 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fW5qL-0004rj-GN for qemu-devel@nongnu.org; Thu, 21 Jun 2018 16:06:09 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B02FC4007389 for ; Thu, 21 Jun 2018 20:06:08 +0000 (UTC) References: <20180620132546.27128-1-pbonzini@redhat.com> From: John Snow Message-ID: Date: Thu, 21 Jun 2018 16:06:06 -0400 MIME-Version: 1.0 In-Reply-To: <20180620132546.27128-1-pbonzini@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] ahci: fix FIS I bit and PIO Setup FIS interrupt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: kraxel@redhat.com On 06/20/2018 09:25 AM, Paolo Bonzini wrote: > + pio_fis_i = is_atapi ? ad->done_atapi_packet : !is_write; Per DPIOO1, does this go to false for the first DRQ block, or did I misunderstand? Currently my understanding: - device->host DPIOI1 Interrupt bit shall be set. - host->device: DPIOO1: 0 for first block, 1 otherwise - ATAPI: 0 for packet itself 1 for all data otherwise. Yes?